Developer Documentation
ACG::LinearTwoColorCoder Class Reference
Inheritance diagram for ACG::LinearTwoColorCoder:
ACG::IColorCoder

Public Member Functions

 LinearTwoColorCoder (ACG::Vec4f minColor, ACG::Vec4f maxColor)
 
ACG::Vec4uc color4_raw (float _v) const override
 
ACG::Vec4f color_float4_raw (float _v) const override
 
float min () const override
 min scalar value
 
float max () const override
 max scalar value
 
- Public Member Functions inherited from ACG::IColorCoder
virtual ACG::Vec4uc color4 (float _v) const
 
virtual ACG::Vec4f color_float4 (float _v) const
 
ACG::Vec3uc color (float _v) const
 
ACG::Vec3f color_float (float _v) const
 
QColor color_qcolor (float _v) const
 
ACG::Vec4f operator() (float _v) const
 
void setMapOutsideRangeToAlpha0 (bool value)
 
bool getMapOutsideRangeToAlpha0 () const
 

Private Attributes

const ACG::Vec4f minColor_
 
const ACG::Vec4f maxColor_
 

Additional Inherited Members

- Protected Attributes inherited from ACG::IColorCoder
bool mapOutsideRangeToAlpha0_ = false
 

Detailed Description

Definition at line 49 of file LinearTwoColorCoder.hh.


The documentation for this class was generated from the following files: