Inheritance diagram for osg::ColorMatrix:

Public Methods | |
| ColorMatrix () | |
| ColorMatrix (const ColorMatrix &cm, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| META_StateAttribute (osg, ColorMatrix, COLORMATRIX) | |
| virtual int | compare (const StateAttribute &sa) const |
| return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
| void | setMatrix (const Matrix &matrix) |
| Set the color matrix. | |
| Matrix & | getMatrix () |
| Get the color matrix. | |
| const Matrix & | getMatrix () const |
| Get the const color matrix. | |
| virtual void | apply (State &state) const |
| apply as OpenGL texture matrix. | |
Protected Methods | |
| virtual | ~ColorMatrix (void) |
Protected Attributes | |
| Matrix | _matrix |
|
|
|
|
||||||||||||
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
|
|
apply as OpenGL texture matrix.
Implements osg::StateAttribute. |
|
|
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute. |
|
|
Get the const color matrix.
|
|
|
Get the color matrix.
|
|
||||||||||||||||
|
|
|
|
Set the color matrix.
|
|
|
|