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

Pyramid. More...

#include <PdmsTools.h>

Inheritance diagram for PdmsTools::PdmsObjects::Pyramid:
Collaboration diagram for PdmsTools::PdmsObjects::Pyramid:

Public Member Functions

 Pyramid ()
 
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 GenericItemgetRoot ()
 
virtual bool isGroupElement ()
 
virtual GenericItemscan (const char *str)
 
virtual bool scan (Token t, std::vector< GenericItem * > &array)
 

Public Attributes

PointCoordinateType xbot
 
PointCoordinateType xtop
 
PointCoordinateType xoff
 
PointCoordinateType ybot
 
PointCoordinateType ytop
 
PointCoordinateType yoff
 
PointCoordinateType height
 
- Public Attributes inherited from PdmsTools::PdmsObjects::DesignElement
bool negative
 
std::list< DesignElement * > nelements
 
- Public Attributes inherited from PdmsTools::PdmsObjects::GenericItem
GenericItemowner
 Parent imte. More...
 
GenericItemcreator
 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...
 
GenericItempositionReference
 Reference object (position) More...
 
GenericItemorientationReferences [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

Pyramid.

Definition at line 351 of file PdmsTools.h.

Constructor & Destructor Documentation

◆ Pyramid()

PdmsTools::PdmsObjects::Pyramid::Pyramid ( )
inline

Definition at line 355 of file PdmsTools.h.

Member Function Documentation

◆ getType()

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

Reimplemented from PdmsTools::PdmsObjects::GenericItem.

Definition at line 359 of file PdmsTools.h.

References PdmsTools::PDMS_PYRAMID.

◆ setValue()

◆ surface()

PointCoordinateType Pyramid::surface ( ) const
virtual

Reimplemented from PdmsTools::PdmsObjects::DesignElement.

Definition at line 1739 of file PdmsTools.cpp.

◆ write()

std::pair< int, int > Pyramid::write ( std::ostream &  output,
int  nbtabs = 0 
) const
virtual

Implements PdmsTools::PdmsObjects::GenericItem.

Definition at line 1744 of file PdmsTools.cpp.

Member Data Documentation

◆ height

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::height

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ xbot

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::xbot

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ xoff

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::xoff

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ xtop

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::xtop

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ ybot

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::ybot

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ yoff

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::yoff

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().

◆ ytop

PointCoordinateType PdmsTools::PdmsObjects::Pyramid::ytop

Definition at line 353 of file PdmsTools.h.

Referenced by setValue().


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