MeVisLab Toolbox Reference
SoGroundplaneElement Class Reference

#include <SoGroundplaneElement.h>

Inheritance diagram for SoGroundplaneElement:

Public Member Functions

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

Static Public Member Functions

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

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()

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

Returns from the state.

◆ getDefault()

SbPlane SoGroundplaneElement::getDefault ( )
static

Returns the default.

◆ init()

void SoGroundplaneElement::init ( SoState * state)
override

Initializes element.

◆ initClass()

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()

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: