H3D::BooleanFilter Class Reference
[X3D node classes.]

BooleanFilter filters boolean events, allowing for selective routing of TRUE or FALSE values and negation. More...

#include <BooleanFilter.h>

Inheritance diagram for H3D::BooleanFilter:

Inheritance graph
List of all members.

Public Member Functions

 BooleanFilter (Inst< SFNode > _metadata=0, Inst< SetBoolean > _set_boolean=0, Inst< SFBool > _inputFalse=0, Inst< NegateSFBool > _inputNegate=0, Inst< SFBool > _inputTrue=0)
 Constructor.

Public Attributes

auto_ptr< SetBooleanset_boolean
 The boolean field to filter.
auto_ptr< SFBoolinputFalse
 Generates an FALSE event if the set_boolean value is set to FALSE.
auto_ptr< NegateSFBoolinputNegate
 This field contains the negation of the set_boolean field.
auto_ptr< SFBoolinputTrue
 Generates an TRUE event if the set_boolean value is set to TRUE.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodedatabase for this node.

Friends

class NegateSFBool
class SetBoolean

Classes

class  NegateSFBool
 This field class takes as input SFBool fields and sets its value to the negated value of the input field. More...
class  SetBoolean
 The SetBoolean class is specialize to set the value of either the inputTrue or inputFalse field in the BooleanFilter node it resides in, depending on the value that is is given. More...

Detailed Description

BooleanFilter filters boolean events, allowing for selective routing of TRUE or FALSE values and negation.

When the set_boolean event is received, the BooleanFilter node generates two events: either inputTrue or inputFalse, based on the boolean value received; and inputNegate, which contains the negation of the value received.

Internal routes:
BooleanFilter.dot


Member Data Documentation

auto_ptr< SFBool > H3D::BooleanFilter::inputFalse
 

Generates an FALSE event if the set_boolean value is set to FALSE.

Access type: outputOnly

BooleanFilter_inputFalse.dot

auto_ptr< NegateSFBool > H3D::BooleanFilter::inputNegate
 

This field contains the negation of the set_boolean field.

Access type: outputOnly

BooleanFilter_inputNegate.dot

auto_ptr< SFBool > H3D::BooleanFilter::inputTrue
 

Generates an TRUE event if the set_boolean value is set to TRUE.

Access type: outputOnly

BooleanFilter_inputTrue.dot

auto_ptr< SetBoolean > H3D::BooleanFilter::set_boolean
 

The boolean field to filter.

Access type: inputOnly

BooleanFilter_set_boolean.dot


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