Stores a logical viewport region subset.
More...
#include <Inventor/elements/SoModifyLogicalViewportElement.h>
Public Member Functions | |
| virtual void | print (FILE *fp) const |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, const SbVec4f &portion) |
| static const SbVec4f & | get (SoState *state) |
| static SbVec4f | getDefault () |
| static SoModifyLogicalViewportElement * | getInstance (const SoState *state, SbBool &elemIsSet) |
Stores a logical viewport region subset.
This element stores a logical viewport region subset.
Returns the current portion from the state.
| static int SoModifyLogicalViewportElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoElement.
| static SoType SoModifyLogicalViewportElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoElement.
| static SbVec4f SoModifyLogicalViewportElement::getDefault | ( | ) | [inline, static] |
Returns the default viewport region.
| static SoModifyLogicalViewportElement* SoModifyLogicalViewportElement::getInstance | ( | const SoState * | state, | |
| SbBool & | elemIsSet | |||
| ) | [static] |
Returns the top (current) instance of the element in the state.
Note it does NOT cause cache dependency! It also casts away the const.
| virtual void SoModifyLogicalViewportElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoElement.
| static void SoModifyLogicalViewportElement::set | ( | SoState * | state, | |
| const SbVec4f & | portion | |||
| ) | [static] |
Sets the portion of the viewport.