SoModifyLogicalViewportElement Class Reference
[Elements]

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

#include <Inventor/elements/SoModifyLogicalViewportElement.h>

Inheritance diagram for SoModifyLogicalViewportElement:
SoElement SoTypedObject

List of all members.

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 SbVec4fget (SoState *state)
static SbVec4f getDefault ()
static
SoModifyLogicalViewportElement
getInstance (const SoState *state, SbBool &elemIsSet)

Detailed Description

VSG extension Stores a logical viewport region subset.

This element stores a logical viewport region subset.


Member Function Documentation

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

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.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/