MeVisLab Toolbox Reference
SoView2DShaderElement Class Reference

#include <SoView2DShaderElement.h>

Inheritance diagram for SoView2DShaderElement:

Public Member Functions

void init (SoState *state) override
 
void pop (SoState *state, const SoElement *prevTopElement) override
 
void push (SoState *aState) override
 
void clearData ()
 
SbBool matches (const SoElement *elt) const override
 
SoElement * copyMatchInfo () const override
 

Static Public Member Functions

static void setDiagnosis (SoState *state, SoNode *node, SoView2DShaderDiagnosis *diagnosis)
 Set diagnosis module.
 
static SoView2DShaderDiagnosisgetDiagnosis (SoState *state)
 Get diagnosis module.
 
static void clear (SoState *state, SoNode *node)
 Clear all stored state.
 
static void addOverlay (SoState *state, SoNode *node, SoView2DShaderOverlayInfo *overlay)
 Add an overlay.
 
static void addOperation (SoState *state, SoNode *node, SoView2DShaderOperation *operation)
 Add a pipeline operation.
 
static void addInclude (SoState *state, SoNode *node, SoView2DShaderCustomInclude *include)
 Add a pipeline include.
 
static const std::vector< SoView2DShaderOverlayInfo * > & getOverlays (SoState *state)
 Get list of overlays from current state.
 
static const std::vector< SoView2DShaderOperation * > & getOperations (SoState *state)
 Get list of SoView2DShaderOperations from current state.
 
static const std::vector< SoView2DShaderCustomInclude * > & getIncludes (SoState *state)
 Get list of SoView2DShaderCustomInclude from current state.
 
static const std::vector< size_t > & getNodeIds (SoState *state)
 Get list of node ids that added operations/includes (to be used for caching)
 
static const SoView2DShaderElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
 
static void initClass ()
 

Protected Attributes

SoView2DShaderDiagnosis_diagnosis
 
std::vector< SoView2DShaderOperation * > _operations
 
std::vector< SoView2DShaderCustomInclude * > _includes
 
std::vector< SoView2DShaderOverlayInfo * > _overlays
 
std::vector< size_t_nodeIds
 

Detailed Description

Definition at line 52 of file SoView2DShaderElement.h.

Member Function Documentation

◆ addInclude()

static void SoView2DShaderElement::addInclude ( SoState * state,
SoNode * node,
SoView2DShaderCustomInclude * include )
static

Add a pipeline include.

◆ addOperation()

static void SoView2DShaderElement::addOperation ( SoState * state,
SoNode * node,
SoView2DShaderOperation * operation )
static

Add a pipeline operation.

◆ addOverlay()

static void SoView2DShaderElement::addOverlay ( SoState * state,
SoNode * node,
SoView2DShaderOverlayInfo * overlay )
static

Add an overlay.

◆ clear()

static void SoView2DShaderElement::clear ( SoState * state,
SoNode * node )
static

Clear all stored state.

◆ clearData()

void SoView2DShaderElement::clearData ( )

◆ copyMatchInfo()

SoElement * SoView2DShaderElement::copyMatchInfo ( ) const
override

◆ getDiagnosis()

static SoView2DShaderDiagnosis * SoView2DShaderElement::getDiagnosis ( SoState * state)
static

Get diagnosis module.

◆ getIncludes()

static const std::vector< SoView2DShaderCustomInclude * > & SoView2DShaderElement::getIncludes ( SoState * state)
static

Get list of SoView2DShaderCustomInclude from current state.

◆ getInstance()

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

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

◆ getNodeIds()

static const std::vector< size_t > & SoView2DShaderElement::getNodeIds ( SoState * state)
static

Get list of node ids that added operations/includes (to be used for caching)

◆ getOperations()

static const std::vector< SoView2DShaderOperation * > & SoView2DShaderElement::getOperations ( SoState * state)
static

Get list of SoView2DShaderOperations from current state.

◆ getOverlays()

static const std::vector< SoView2DShaderOverlayInfo * > & SoView2DShaderElement::getOverlays ( SoState * state)
static

Get list of overlays from current state.

◆ init()

void SoView2DShaderElement::init ( SoState * state)
override

◆ initClass()

static void SoView2DShaderElement::initClass ( )
static

◆ matches()

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

◆ pop()

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

◆ push()

void SoView2DShaderElement::push ( SoState * aState)
override

◆ setDiagnosis()

static void SoView2DShaderElement::setDiagnosis ( SoState * state,
SoNode * node,
SoView2DShaderDiagnosis * diagnosis )
static

Set diagnosis module.

Member Data Documentation

◆ _diagnosis

SoView2DShaderDiagnosis* SoView2DShaderElement::_diagnosis
protected

Definition at line 103 of file SoView2DShaderElement.h.

◆ _includes

std::vector<SoView2DShaderCustomInclude*> SoView2DShaderElement::_includes
protected

Definition at line 105 of file SoView2DShaderElement.h.

◆ _nodeIds

std::vector<size_t> SoView2DShaderElement::_nodeIds
protected

Definition at line 107 of file SoView2DShaderElement.h.

◆ _operations

std::vector<SoView2DShaderOperation*> SoView2DShaderElement::_operations
protected

Definition at line 104 of file SoView2DShaderElement.h.

◆ _overlays

std::vector<SoView2DShaderOverlayInfo*> SoView2DShaderElement::_overlays
protected

Definition at line 106 of file SoView2DShaderElement.h.


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