Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoModifyLogicalViewportElement Class Reference

VSG extension Stores a logical viewport region subset. More...

#include <Inventor/elements/SoModifyLogicalViewportElement.h>

+ Inheritance diagram for SoModifyLogicalViewportElement:

Public Member Functions

virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, const SbVec4f &portion)
 Sets the portion of the viewport.
 
static const SbVec4fget (SoState *state)
 Returns the current portion from the state.
 
static SbVec4f getDefault ()
 Returns the default viewport region.
 
static SoModifyLogicalViewportElementgetInstance (const SoState *state, SbBool &elemIsSet)
 Returns the top (current) instance of the element in the state.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores a logical viewport region subset.

This element stores a logical viewport region subset.

Definition at line 41 of file SoModifyLogicalViewportElement.h.

Member Function Documentation

◆ get()

static const SbVec4f & SoModifyLogicalViewportElement::get ( SoState state)
static

Returns the current portion from the state.

◆ getClassStackIndex()

static int SoModifyLogicalViewportElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoModifyLogicalViewportElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static SbVec4f SoModifyLogicalViewportElement::getDefault ( )
inlinestatic

Returns the default viewport region.

Definition at line 59 of file SoModifyLogicalViewportElement.h.

◆ getInstance()

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.

◆ print()

virtual void SoModifyLogicalViewportElement::print ( FILE *  fp) const
virtual

Prints element (for debugging).

Reimplemented from SoElement.

◆ set()

static void SoModifyLogicalViewportElement::set ( SoState state,
const SbVec4f portion 
)
static

Sets the portion of the viewport.


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