ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PdmsTools::PdmsObjects::SCylinder Class Reference

Cylinder. More...

#include <PdmsTools.h>

Inheritance diagram for PdmsTools::PdmsObjects::SCylinder:
[legend]
Collaboration diagram for PdmsTools::PdmsObjects::SCylinder:
[legend]

Public Member Functions

 SCylinder ()
 
virtual bool setValue (Token t, PointCoordinateType value)
 
virtual Token getType () const
 
virtual std::pair< int, int > write (std::ostream &output, int nbtabs=0) const
 
virtual PointCoordinateType surface () const
 
- Public Member Functions inherited from PdmsTools::PdmsObjects::DesignElement
 DesignElement ()
 
virtual ~DesignElement ()
 
virtual bool isDesignElement ()
 
virtual bool push (GenericItem *i)
 
virtual void remove (GenericItem *i)
 
- Public Member Functions inherited from PdmsTools::PdmsObjects::GenericItem
 GenericItem ()
 Default constructor. More...
 
virtual ~GenericItem ()
 Destructor. More...
 
virtual bool setPosition (const CCVector3 &p)
 
virtual bool setOrientation (const CCVector3 &x, const CCVector3 &y, const CCVector3 &z)
 
virtual bool convertCoordinateSystem ()
 
virtual GenericItem * getRoot ()
 
virtual bool isGroupElement ()
 
virtual GenericItem * scan (const char *str)
 
virtual bool scan (Token t, std::vector< GenericItem * > &array)
 

Public Attributes

PointCoordinateType diameter
 
PointCoordinateType height
 
PointCoordinateType xtshear
 
PointCoordinateType ytshear
 
PointCoordinateType xbshear
 
PointCoordinateType ybshear
 
- Public Attributes inherited from PdmsTools::PdmsObjects::DesignElement
bool negative
 
std::list< DesignElement * > nelements
 
- Public Attributes inherited from PdmsTools::PdmsObjects::GenericItem
GenericItem * owner
 Parent imte. More...
 
GenericItem * creator
 Creator item. More...
 
CCVector3 position
 Object position. More...
 
CCVector3 orientation [3]
 Object orientation (X,Y and Z) More...
 
bool isCoordinateSystemUpToDate
 Coordinate system update flag. More...
 
GenericItem * positionReference
 Reference object (position) More...
 
GenericItem * orientationReferences [3]
 Reference(s) object(s) (orientation) More...
 
char name [c_max_str_length]
 Name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PdmsTools::PdmsObjects::GenericItem
bool isOrientationValid (unsigned i) const
 
bool completeOrientation ()
 

Detailed Description

Cylinder.

Constructor & Destructor Documentation

◆ SCylinder()

PdmsTools::PdmsObjects::SCylinder::SCylinder ( )
inline

Member Function Documentation

◆ getType()

virtual Token PdmsTools::PdmsObjects::SCylinder::getType ( ) const
inlinevirtual

◆ setValue()

◆ surface()

PointCoordinateType SCylinder::surface ( ) const
virtual

Reimplemented from PdmsTools::PdmsObjects::DesignElement.

References diameter, height, and M_PI.

◆ write()

Member Data Documentation

◆ diameter

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::diameter

◆ height

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::height

◆ xbshear

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::xbshear

Referenced by setValue(), and write().

◆ xtshear

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::xtshear

Referenced by setValue(), and write().

◆ ybshear

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::ybshear

Referenced by setValue(), and write().

◆ ytshear

PointCoordinateType PdmsTools::PdmsObjects::SCylinder::ytshear

Referenced by setValue(), and write().


The documentation for this class was generated from the following files: