MeVisLab Toolbox Reference
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>

Inheritance diagram for SoView2DExtensionElement:

Public Member Functions

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

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. More...
 
static void unsetList (SoState *state, SoNode *node)
 unset extension list in element state More...
 
static const SoNodeList * get (SoState *state)
 Get list of SoView2DExtensions from current state. More...
 
static const SoView2DExtensionElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state. More...
 
static void initClass ()
 Initializes the SoView2DExtensionElement class. More...
 

Protected Member Functions

 ~SoView2DExtensionElement () override
 

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.

Definition at line 51 of file SoView2DExtensionElement.h.

Constructor & Destructor Documentation

◆ ~SoView2DExtensionElement()

SoView2DExtensionElement::~SoView2DExtensionElement ( )
inlineoverrideprotected

Definition at line 100 of file SoView2DExtensionElement.h.

Member Function Documentation

◆ clearList()

void SoView2DExtensionElement::clearList ( )

◆ copyMatchInfo()

SoElement* SoView2DExtensionElement::copyMatchInfo ( ) const
override

◆ get()

static const SoNodeList* SoView2DExtensionElement::get ( SoState *  state)
static

Get list of SoView2DExtensions from current state.

◆ getInstance()

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

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

◆ init()

void SoView2DExtensionElement::init ( SoState *  state)
override

◆ initClass()

static void SoView2DExtensionElement::initClass ( )
static

Initializes the SoView2DExtensionElement class.

◆ matches()

SbBool SoView2DExtensionElement::matches ( const SoElement *  elt) const
override

◆ pop()

void SoView2DExtensionElement::pop ( SoState *  state,
const SoElement *  prevTopElement 
)
override

◆ popDrawingOrder()

static void SoView2DExtensionElement::popDrawingOrder ( SoState *  state,
const ExtensionDrawingOrder d 
)
static

◆ popList()

static void SoView2DExtensionElement::popList ( SoState *  state,
const SoNodeList &  l 
)
static

◆ print()

void SoView2DExtensionElement::print ( FILE *  fp) const
override

◆ pushDrawingOrder()

static ExtensionDrawingOrder SoView2DExtensionElement::pushDrawingOrder ( SoState *  state)
static

◆ pushList()

static SoNodeList SoView2DExtensionElement::pushList ( SoState *  state)
static

◆ set()

static void SoView2DExtensionElement::set ( SoState *  state,
SoNode *  node,
SoView2DExtension newPrimitive 
)
static

Add extension to element state.

◆ setDrawingOrder()

void SoView2DExtensionElement::setDrawingOrder ( ExtensionDrawingOrder  d)

◆ unsetList()

static void SoView2DExtensionElement::unsetList ( SoState *  state,
SoNode *  node 
)
static

unset extension list in element state

Member Data Documentation

◆ _data

SoNodeList SoView2DExtensionElement::_data
protected

Definition at line 103 of file SoView2DExtensionElement.h.

◆ _drawingOrder

ExtensionDrawingOrder SoView2DExtensionElement::_drawingOrder
protected

Definition at line 105 of file SoView2DExtensionElement.h.


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