bicotiPixelAttributeSelectorNone
bicotiPixelAttributeSelectorRound
bicotiPixelAttributeSelectorColorRed
bicotiPixelAttributeSelectorColorGreen
bicotiPixelAttributeSelectorColorBlue
bicotiPixelAttributeSelectorColorVectorial
class bicotiPixelAttributeSelectorRound< class AttributeType >
Este selector de atributos se utiliza cuando el pixel es del tipo float o double, se retorna el entero mas cercano, como float o como double.
Observar que PixelType = AttributeType, en este caso ( recordar que sera float o double ).
AttributeType operator( )( AttributeType )
AttributeType Inverse( AttributeType, AttributeType )
Se retorna el valor redondeado del AttributeType.
Ejemplo:
bicotiAttributeSelectorRound< float > attr;
float var1 = 3.3;
float var2;
var2 = attr( var1 ); // En var2 obtenemos el valor 3.0 .
Dado un atributo, que se pasa como segundo parámetro, retorna el mismo valor del attributo.