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


Public Member Functions | |
| GroupElement (Token l) | |
| virtual | ~GroupElement () |
| virtual void | clear (bool del=false) |
| virtual bool | push (GenericItem *i) |
| virtual void | remove (GenericItem *i) |
| virtual bool | isGroupElement () |
| virtual bool | convertCoordinateSystem () |
| virtual GenericItem * | scan (const char *str) |
| virtual bool | scan (Token t, std::vector< GenericItem * > &array) |
| virtual Token | getType () const |
| virtual std::pair< int, int > | write (std::ostream &output, int nbtabs=0) 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 GenericItem * | getRoot () |
| virtual bool | isDesignElement () |
| virtual bool | setValue (Token t, PointCoordinateType value) |
Public Attributes | |
| Token | level |
| std::list< DesignElement * > | elements |
| std::list< GroupElement * > | subhierarchy |
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 () |
Group of elements.
Definition at line 228 of file PdmsTools.h.
|
explicit |
Definition at line 1080 of file PdmsTools.cpp.
References PdmsTools::c_max_str_length, elements, level, PdmsTools::PdmsObjects::GenericItem::name, and subhierarchy.
|
virtual |
Definition at line 1087 of file PdmsTools.cpp.
References clear().
|
virtual |
Definition at line 1089 of file PdmsTools.cpp.
References PdmsTools::PdmsObjects::Stack::Destroy(), elements, and subhierarchy.
Referenced by ~GroupElement().
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 1166 of file PdmsTools.cpp.
References PdmsTools::PdmsObjects::GenericItem::convertCoordinateSystem(), elements, PdmsTools::PdmsObjects::GenericItem::isCoordinateSystemUpToDate, and subhierarchy.
|
inlinevirtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 249 of file PdmsTools.h.
References level.
|
inlinevirtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 245 of file PdmsTools.h.
|
virtual |
Implements PdmsTools::PdmsObjects::GenericItem.
Definition at line 1106 of file PdmsTools.cpp.
References elements, PdmsTools::PdmsObjects::GenericItem::getType(), PdmsTools::PdmsToken::isDesignElement(), PdmsTools::PdmsToken::isGroupElement(), level, memalert, PdmsTools::PdmsObjects::GenericItem::owner, PdmsTools::PDMS_GROUP, PdmsTools::PdmsObjects::GenericItem::push(), PdmsTools::PdmsObjects::GenericItem::remove(), and subhierarchy.
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 1148 of file PdmsTools.cpp.
References elements, and subhierarchy.
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 1181 of file PdmsTools.cpp.
References elements, PdmsTools::PdmsObjects::GenericItem::scan(), and subhierarchy.
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Definition at line 1194 of file PdmsTools.cpp.
References elements, PdmsTools::PdmsObjects::GenericItem::scan(), size, and subhierarchy.
|
virtual |
Implements PdmsTools::PdmsObjects::GenericItem.
Definition at line 1206 of file PdmsTools.cpp.
References elements, QtCompat::endl(), level, PdmsTools::PdmsObjects::GenericItem::name, PdmsTools::PDMS_EQUIPMENT, PdmsTools::PDMS_GROUP, PdmsTools::PDMS_SITE, PdmsTools::PDMS_STRUCTURE, PdmsTools::PDMS_SUBSTRUCTURE, PdmsTools::PDMS_WORLD, PdmsTools::PDMS_ZONE, and subhierarchy.
| std::list<DesignElement *> PdmsTools::PdmsObjects::GroupElement::elements |
Definition at line 231 of file PdmsTools.h.
Referenced by clear(), convertCoordinateSystem(), GroupElement(), PDMSFilter::loadFile(), push(), remove(), scan(), and write().
| Token PdmsTools::PdmsObjects::GroupElement::level |
Definition at line 230 of file PdmsTools.h.
Referenced by getType(), GroupElement(), push(), and write().
| std::list<GroupElement *> PdmsTools::PdmsObjects::GroupElement::subhierarchy |
Definition at line 232 of file PdmsTools.h.
Referenced by clear(), convertCoordinateSystem(), GroupElement(), PDMSFilter::loadFile(), push(), remove(), scan(), and write().