Simbody
Public Member Functions

SimTK::DecorativeCylinder Class Reference

This defines a cylinder centered on the origin and aligned in the y direction. More...

#include <DecorativeGeometry.h>

Inheritance diagram for SimTK::DecorativeCylinder:

List of all members.

Public Member Functions

 DecorativeCylinder (Real radius=0.5, Real halfHeight=0.5)
void setRadius (Real)
void setHalfHeight (Real)
Real getRadius () const
Real getHalfHeight () const
 SimTK_PIMPL_DOWNCAST (DecorativeCylinder, DecorativeGeometry)

Detailed Description

This defines a cylinder centered on the origin and aligned in the y direction.

The default constructor gives it a height of 1 and the base circle a diameter of 1.


Constructor & Destructor Documentation

SimTK::DecorativeCylinder::DecorativeCylinder ( Real  radius = 0.5,
Real  halfHeight = 0.5 
) [explicit]

Member Function Documentation

void SimTK::DecorativeCylinder::setRadius ( Real  )
void SimTK::DecorativeCylinder::setHalfHeight ( Real  )
Real SimTK::DecorativeCylinder::getRadius ( ) const
Real SimTK::DecorativeCylinder::getHalfHeight ( ) const
SimTK::DecorativeCylinder::SimTK_PIMPL_DOWNCAST ( DecorativeCylinder  ,
DecorativeGeometry   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines