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

Cylinder Class Reference

Cylinder node instances. More...

Inheritance diagram for Cylinder:

AbstractGeometry AbstractBase GeometryNode Node Node List of all members.

Public Methods

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

virtual ~Cylinder () throw ()
 Destructor.

virtual Viewer::Object insertGeometry (Viewer &viewer, VrmlRenderContext context)
 Insert this geometry into viewer's display list.


Private Attributes

SFBool bottom
SFFloat height
SFFloat radius
SFBool side
SFBool top

Friends

class CylinderClass

Detailed Description

Cylinder node instances.


Constructor & Destructor Documentation

Cylinder const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

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

~Cylinder   throw () [virtual]
 

Destructor.


Member Function Documentation

Viewer::Object insertGeometry Viewer   viewer,
VrmlRenderContext    context
[virtual]
 

Insert this geometry into viewer's display list.

Parameters:
viewer a Viewer.
context the rendering context.

Implements GeometryNode.