H3D::ToggleGroup Class Reference
[H3D specific Node classes.]

The ToggleGroup node enables you to enable/disable haptics and graphics rendering of its children nodes. More...

#include <ToggleGroup.h>

Inheritance diagram for H3D::ToggleGroup:

Inheritance graph
List of all members.

Public Member Functions

 ToggleGroup (Inst< MFChild > _addChildren=0, Inst< MFChild > _removeChildren=0, Inst< MFChild > _children=0, Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< SFVec3f > _bboxCenter=0, Inst< SFVec3f > _bboxSize=0, Inst< SFBool > _hapticsOn=0, Inst< SFBool > _graphicsOn=0)
 Constructor.
virtual void render ()
 Only renders children if graphicsOn is true.

Public Attributes

auto_ptr< SFBoolhapticsOn
 The hapticsOn field specifies if nodes in the children field of this group should be rendered haptically or not.
auto_ptr< SFBoolgraphicsOn
 The graphicsOn field specifies if nodes in the children field of this group should be rendered graphically or not.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Detailed Description

The ToggleGroup node enables you to enable/disable haptics and graphics rendering of its children nodes.

The hapticsOn field specifies if nodes in the children field of this group should be rendered haptically or not.

The graphicsOn field specifies if nodes in the children field of this group should be rendered graphically or not.


Member Data Documentation

auto_ptr< SFBool > H3D::ToggleGroup::graphicsOn
 

The graphicsOn field specifies if nodes in the children field of this group should be rendered graphically or not.

Default value: TRUE /n Access type: inputOutput

auto_ptr< SFBool > H3D::ToggleGroup::hapticsOn
 

The hapticsOn field specifies if nodes in the children field of this group should be rendered haptically or not.

Default value: TRUE /n Access type: inputOutput


Generated on Thu Aug 24 12:40:12 2006 for H3D API by  doxygen 1.4.5