bicotiPixelAttributeSelectorRound

bicotiPixelAttributeSelectorNone
bicotiPixelAttributeSelectorRound
bicotiPixelAttributeSelectorColorRed
bicotiPixelAttributeSelectorColorGreen
bicotiPixelAttributeSelectorColorBlue
bicotiPixelAttributeSelectorColorVectorial


class bicotiPixelAttributeSelectorRound< class AttributeType >



Comentarios Generales:

    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 ).



Public Methods

AttributeType operator( )(  AttributeType )

AttributeType Inverse( AttributeType, AttributeType )



AttributeType operator( )( 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 .
 



AttributeType Inverse ( AttributeType, AttributeType )

           Dado un atributo, que se pasa como segundo parámetro, retorna el mismo valor del attributo.