MeVisLab Toolbox Reference
SoGroundplaneElement Class Reference

#include <SoGroundplaneElement.h>

Inheritance diagram for SoGroundplaneElement:

Public Member Functions

void init (SoState *state) override
 Initializes element. More...
 
SbBool matches (const SoElement *elt) const override
 Returns TRUE if the stored SbShadow matches the given element. More...
 
SoElement * copyMatchInfo () const override
 Create and return a copy of this element. More...
 
void print (FILE *fp) const override
 Prints element (for debugging). More...
 

Static Public Member Functions

static void set (SoState *state, SoNode *node, const SbPlane &plane)
 Sets in the state. More...
 
static const SbPlane & get (SoState *state)
 Returns from the state. More...
 
static SbPlane getDefault ()
 Returns the default. More...
 
static void initClass ()
 Initializes the SoGroundplaneElement class. More...
 

Protected Member Functions

virtual ~SoGroundplaneElement ()
 

Protected Attributes

SbPlane _plane
 

Detailed Description

Definition at line 25 of file SoGroundplaneElement.h.

Constructor & Destructor Documentation

◆ ~SoGroundplaneElement()

virtual SoGroundplaneElement::~SoGroundplaneElement ( )
protectedvirtual

Member Function Documentation

◆ copyMatchInfo()

SoElement* SoGroundplaneElement::copyMatchInfo ( ) const
override

Create and return a copy of this element.

◆ get()

static const SbPlane& SoGroundplaneElement::get ( SoState *  state)
static

Returns from the state.

◆ getDefault()

static SbPlane SoGroundplaneElement::getDefault ( )
static

Returns the default.

◆ init()

void SoGroundplaneElement::init ( SoState *  state)
override

Initializes element.

◆ initClass()

static void SoGroundplaneElement::initClass ( )
static

Initializes the SoGroundplaneElement class.

◆ matches()

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

Returns TRUE if the stored SbShadow matches the given element.

◆ print()

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

Prints element (for debugging).

◆ set()

static void SoGroundplaneElement::set ( SoState *  state,
SoNode *  node,
const SbPlane &  plane 
)
static

Sets in the state.

Member Data Documentation

◆ _plane

SbPlane SoGroundplaneElement::_plane
protected

Definition at line 32 of file SoGroundplaneElement.h.


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