MeVisLab Toolbox Reference
SoSamplerInfoElement Class Reference

Element stores information about all current sampler nodes. More...

#include <SoSamplerInfoElement.h>

Inheritance diagram for SoSamplerInfoElement:

Public Member Functions

void init (SoState *state) override
 Initialize element. More...
 
void push (SoState *state) override
 Override push() method. More...
 

Static Public Member Functions

static void add (SoState *state, SoNode *node, const SbSamplerInfo &info)
 Add info about sampler to list. More...
 
static void set (SoState *state, SoNode *node, const SbSamplerInfo &info)
 Truncate info list to zero length and set only this info. More...
 
static void clear (SoState *state, SoNode *node)
 Clear list. More...
 
static const SbSamplerInfoget (SoState *state)
 Returns last sampler info. More...
 
static void initClass ()
 Initialize class with runtime type system. More...
 

Protected Attributes

std::list< SbSamplerInfo_info
 sampler info. More...
 

Detailed Description

Element stores information about all current sampler nodes.

Definition at line 61 of file SoSamplerInfoElement.h.

Member Function Documentation

◆ add()

static void SoSamplerInfoElement::add ( SoState *  state,
SoNode *  node,
const SbSamplerInfo info 
)
static

Add info about sampler to list.

◆ clear()

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

Clear list.

◆ get()

static const SbSamplerInfo& SoSamplerInfoElement::get ( SoState *  state)
static

Returns last sampler info.

◆ init()

void SoSamplerInfoElement::init ( SoState *  state)
override

Initialize element.

◆ initClass()

static void SoSamplerInfoElement::initClass ( )
static

Initialize class with runtime type system.

◆ push()

void SoSamplerInfoElement::push ( SoState *  state)
override

Override push() method.

◆ set()

static void SoSamplerInfoElement::set ( SoState *  state,
SoNode *  node,
const SbSamplerInfo info 
)
static

Truncate info list to zero length and set only this info.

Member Data Documentation

◆ _info

std::list<SbSamplerInfo> SoSamplerInfoElement::_info
protected

sampler info.

Definition at line 95 of file SoSamplerInfoElement.h.


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