Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

CylinderSensor Class Reference

CylinderSensor node instances. More...

Inheritance diagram for CylinderSensor:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

 CylinderSensor (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~CylinderSensor () throw ()
 Destructor.

virtual CylinderSensor * toCylinderSensor () const
 Cast to a CylinderSensor.

virtual void render (Viewer &viewer, VrmlRenderContext context)
 Render the node.

void activate (double timeStamp, bool isActive, double *p)
bool isEnabled ()

Private Methods

void processSet_autoOffset (const FieldValue &sfbool, double timestamp) throw (std::bad_cast)
 set_autoOffset eventIn handler.

void processSet_diskAngle (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_diskAngle eventIn handler.

void processSet_enabled (const FieldValue &sfbool, double timestamp) throw (std::bad_cast)
 set_enabled eventIn handler.

void processSet_maxAngle (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_maxAngle eventIn handler.

void processSet_minAngle (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_minAngle eventIn handler.

void processSet_offset (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_offset eventIn handler.


Private Attributes

SFBool autoOffset
SFFloat diskAngle
SFBool enabled
SFFloat maxAngle
SFFloat minAngle
SFFloat offset
SFBool active
SFRotation rotation
SFVec3f trackPoint
SFFloat rotation_val
SFVec3f activationPoint
SFBool disk
VrmlMatrix activationMatrix
VrmlMatrix modelview

Friends

class CylinderSensorClass

Detailed Description

CylinderSensor node instances.


Constructor & Destructor Documentation

CylinderSensor const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~CylinderSensor   throw () [virtual]
 

Destructor.


Member Function Documentation

void processSet_autoOffset const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast) [private]
 

set_autoOffset eventIn handler.

Parameters:
sfbool an SFBool value.
timestamp the current time.
Exceptions:
std::bad_cast if sfbool is not an SFBool.

void processSet_diskAngle const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_diskAngle eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.

void processSet_enabled const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast) [private]
 

set_enabled eventIn handler.

Parameters:
sfbool an SFBool value.
timestamp the current time.
Exceptions:
std::bad_cast if sfbool is not an SFBool.

void processSet_maxAngle const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_maxAngle eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.

void processSet_minAngle const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_minAngle eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.

void processSet_offset const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_offset eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.

void render Viewer   viewer,
VrmlRenderContext    context
[virtual]
 

Render the node.

Parameters:
viewer a Viewer.
context a rendering context.

Reimplemented from Node.

CylinderSensor * toCylinderSensor   const [virtual]
 

Cast to a CylinderSensor.

Reimplemented from Node.