![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Design element. More...
#include <PdmsTools.h>


Public Member Functions | |
| DesignElement () | |
| virtual | ~DesignElement () |
| virtual bool | isDesignElement () |
| virtual bool | push (GenericItem *i) |
| virtual void | remove (GenericItem *i) |
| virtual PointCoordinateType | surface () const |
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 Token | getType () const |
| virtual bool | setValue (Token t, PointCoordinateType value) |
| virtual GenericItem * | scan (const char *str) |
| virtual bool | scan (Token t, std::vector< GenericItem * > &array) |
| virtual std::pair< int, int > | write (std::ostream &output, int nbtabs=0) const =0 |
Public Attributes | |
| 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 () |
Design element.
Definition at line 210 of file PdmsTools.h.
|
inline |
Definition at line 215 of file PdmsTools.h.
|
virtual |
Definition at line 1037 of file PdmsTools.cpp.
References PdmsTools::PdmsObjects::Stack::Destroy(), and nelements.
|
inlinevirtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 219 of file PdmsTools.h.
|
virtual |
Implements PdmsTools::PdmsObjects::GenericItem.
Reimplemented in PdmsTools::PdmsObjects::Extrusion, and PdmsTools::PdmsObjects::Loop.
Definition at line 1048 of file PdmsTools.cpp.
References PdmsTools::PdmsObjects::GenericItem::isDesignElement(), memalert, negative, nelements, PdmsTools::PdmsObjects::GenericItem::owner, PdmsTools::PdmsObjects::GenericItem::push(), and PdmsTools::PdmsObjects::GenericItem::remove().
Referenced by PdmsTools::PdmsObjects::Extrusion::push().
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Reimplemented in PdmsTools::PdmsObjects::Extrusion, and PdmsTools::PdmsObjects::Loop.
Definition at line 1070 of file PdmsTools.cpp.
References nelements.
|
inlinevirtual |
Reimplemented in PdmsTools::PdmsObjects::Extrusion, PdmsTools::PdmsObjects::Box, PdmsTools::PdmsObjects::Snout, PdmsTools::PdmsObjects::Pyramid, PdmsTools::PdmsObjects::Cone, PdmsTools::PdmsObjects::Dish, PdmsTools::PdmsObjects::RTorus, PdmsTools::PdmsObjects::CTorus, and PdmsTools::PdmsObjects::SCylinder.
Definition at line 224 of file PdmsTools.h.
| bool PdmsTools::PdmsObjects::DesignElement::negative |
Definition at line 212 of file PdmsTools.h.
Referenced by PdmsTools::PdmsObjects::Box::getType(), PdmsTools::PdmsObjects::Extrusion::getType(), push(), and PdmsTools::PdmsObjects::Box::write().
| std::list<DesignElement *> PdmsTools::PdmsObjects::DesignElement::nelements |
Definition at line 213 of file PdmsTools.h.
Referenced by push(), remove(), and ~DesignElement().