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


Public Member Functions | |
| CTorus () | |
| 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 | inside_radius |
| PointCoordinateType | outside_radius |
| PointCoordinateType | angle |
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 () |
Torus (circular section)
Definition at line 283 of file PdmsTools.h.
|
inline |
Definition at line 289 of file PdmsTools.h.
|
inlinevirtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Reimplemented in PdmsTools::PdmsObjects::RTorus.
Definition at line 295 of file PdmsTools.h.
References PdmsTools::PDMS_CTORUS.
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::GenericItem.
Reimplemented in PdmsTools::PdmsObjects::RTorus.
Definition at line 1336 of file PdmsTools.cpp.
References angle, fabs(), inside_radius, M_PI, outside_radius, PdmsTools::PDMS_ANGLE, PdmsTools::PDMS_INSIDE_RADIUS, and PdmsTools::PDMS_OUTSIDE_RADIUS.
|
virtual |
Reimplemented from PdmsTools::PdmsObjects::DesignElement.
Reimplemented in PdmsTools::PdmsObjects::RTorus.
Definition at line 1354 of file PdmsTools.cpp.
References angle, inside_radius, M_PI, outside_radius, and PDMS_SQR.
|
virtual |
Implements PdmsTools::PdmsObjects::GenericItem.
Reimplemented in PdmsTools::PdmsObjects::RTorus.
Definition at line 1362 of file PdmsTools.cpp.
References angle, QtCompat::endl(), inside_radius, PdmsTools::PdmsObjects::GenericItem::name, PdmsTools::PdmsObjects::GenericItem::orientation, outside_radius, PdmsTools::PdmsObjects::GenericItem::position, and cloudViewer::RadiansToDegrees().
| PointCoordinateType PdmsTools::PdmsObjects::CTorus::angle |
Definition at line 287 of file PdmsTools.h.
Referenced by PDMSFilter::loadFile(), setValue(), PdmsTools::PdmsObjects::RTorus::setValue(), surface(), PdmsTools::PdmsObjects::RTorus::surface(), write(), and PdmsTools::PdmsObjects::RTorus::write().
| PointCoordinateType PdmsTools::PdmsObjects::CTorus::inside_radius |
Definition at line 285 of file PdmsTools.h.
Referenced by PDMSFilter::loadFile(), setValue(), PdmsTools::PdmsObjects::RTorus::setValue(), surface(), PdmsTools::PdmsObjects::RTorus::surface(), write(), and PdmsTools::PdmsObjects::RTorus::write().
| PointCoordinateType PdmsTools::PdmsObjects::CTorus::outside_radius |
Definition at line 286 of file PdmsTools.h.
Referenced by PDMSFilter::loadFile(), setValue(), PdmsTools::PdmsObjects::RTorus::setValue(), surface(), PdmsTools::PdmsObjects::RTorus::surface(), write(), and PdmsTools::PdmsObjects::RTorus::write().