Inheritance diagram for osg::LogicOp:
Public Types | |
enum | Opcode { CLEAR = GL_CLEAR, SET = GL_SET, COPY = GL_COPY, COPY_INVERTED = GL_COPY_INVERTED, NOOP = GL_NOOP, INVERT = GL_INVERT, AND = GL_AND, NAND = GL_NAND, OR = GL_OR, NOR = GL_NOR, XOR = GL_XOR, EQUIV = GL_EQUIV, AND_REVERSE = GL_AND_REVERSE, AND_INVERTED = GL_AND_INVERTED, OR_REVERSE = GL_OR_REVERSE, OR_INVERTED = GL_OR_INVERTED } |
Public Member Functions | |
LogicOp () | |
LogicOp (Opcode opcode) | |
LogicOp (const LogicOp &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_StateAttribute (osg, LogicOp, LOGICOP) | |
virtual int | compare (const StateAttribute &sa) const |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
virtual bool | getModeUsage (ModeUsage &usage) const |
Return the modes associated with this StateAttribute. | |
void | setOpcode (Opcode opcode) |
Opcode | getOpcode () const |
virtual void | apply (State &state) const |
apply the OpenGL state attributes. | |
Protected Member Functions | |
virtual | ~LogicOp () |
Protected Attributes | |
Opcode | _opcode |
|
|
|
|
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. Implements osg::StateAttribute. |
|
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute. |
|
Return the modes associated with this StateAttribute.
Reimplemented from osg::StateAttribute. |
|
|
|
|
|
|
|
|