MeVisLabToolboxReference
SoView2DExtensionElement Class Reference

SoView2DExtensionElement collects a list of SoView2DExtensions while the scene graph is traversed The list is cleared when the state is popped to force recollection on next rendering step. More...

#include <SoView2DExtensionElement.h>

List of all members.

Public Member Functions

virtual void init (SoState *state)
void pop (SoState *state, const SoElement *prevTopElement)
void clearList ()
void setDrawingOrder (ExtensionDrawingOrder d)
virtual SbBool matches (const SoElement *elt) const
virtual SoElement * copyMatchInfo () const
virtual void print (FILE *fp) const

Static Public Member Functions

static SoNodeList pushList (SoState *state)
static void popList (SoState *state, const SoNodeList &l)
static ExtensionDrawingOrder pushDrawingOrder (SoState *state)
static void popDrawingOrder (SoState *state, const ExtensionDrawingOrder &d)
static void set (SoState *state, SoNode *node, SoView2DExtension *newPrimitive)
 Add extension to element state.
static void unsetList (SoState *state, SoNode *node)
 unset extension list in element state
static const SoNodeList * get (SoState *state)
 Get list of SoView2DExtensions from current state.
static const
SoView2DExtensionElement
getInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
static void initClass ()
 Initializes the SoView2DExtensionElement class.

Protected Member Functions

virtual ~SoView2DExtensionElement ()

Protected Attributes

SoNodeList _data
ExtensionDrawingOrder _drawingOrder

Detailed Description

SoView2DExtensionElement collects a list of SoView2DExtensions while the scene graph is traversed The list is cleared when the state is popped to force recollection on next rendering step.

Author:
Florian Link

Definition at line 52 of file SoView2DExtensionElement.h.


Constructor & Destructor Documentation

virtual SoView2DExtensionElement::~SoView2DExtensionElement ( ) [inline, protected, virtual]

Definition at line 101 of file SoView2DExtensionElement.h.


Member Function Documentation

void SoView2DExtensionElement::clearList ( )
virtual SoElement* SoView2DExtensionElement::copyMatchInfo ( ) const [virtual]
static const SoNodeList* SoView2DExtensionElement::get ( SoState *  state) [static]

Get list of SoView2DExtensions from current state.

static const SoView2DExtensionElement* SoView2DExtensionElement::getInstance ( SoState *  state) [static]

Returns the top (current) instance of the element in the state.

virtual void SoView2DExtensionElement::init ( SoState *  state) [virtual]
static void SoView2DExtensionElement::initClass ( ) [static]

Initializes the SoView2DExtensionElement class.

virtual SbBool SoView2DExtensionElement::matches ( const SoElement *  elt) const [virtual]
void SoView2DExtensionElement::pop ( SoState *  state,
const SoElement *  prevTopElement 
)
static void SoView2DExtensionElement::popDrawingOrder ( SoState *  state,
const ExtensionDrawingOrder d 
) [static]
static void SoView2DExtensionElement::popList ( SoState *  state,
const SoNodeList &  l 
) [static]
virtual void SoView2DExtensionElement::print ( FILE *  fp) const [virtual]
static ExtensionDrawingOrder SoView2DExtensionElement::pushDrawingOrder ( SoState *  state) [static]
static SoNodeList SoView2DExtensionElement::pushList ( SoState *  state) [static]
static void SoView2DExtensionElement::set ( SoState *  state,
SoNode *  node,
SoView2DExtension newPrimitive 
) [static]

Add extension to element state.

void SoView2DExtensionElement::setDrawingOrder ( ExtensionDrawingOrder  d)
static void SoView2DExtensionElement::unsetList ( SoState *  state,
SoNode *  node 
) [static]

unset extension list in element state


Member Data Documentation

SoNodeList SoView2DExtensionElement::_data [protected]

Definition at line 104 of file SoView2DExtensionElement.h.


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