3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CCPACSTransformationSE3 Class Reference

#include <CCPACSTransformationSE3.h>

Inheritance diagram for tigl::CCPACSTransformationSE3:

Public Member Functions

TIGL_EXPORT CCPACSTransformationSE3 (CCPACSComponent *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSCone *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSCuboid *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSCylinder *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSEllipsoid *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSMultiSegmentShape *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSTransformationSE3 (CCPACSTorus *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CTiglPoint getRotation () const
TIGL_EXPORT ECPACSTranslationType getRotationType () const
TIGL_EXPORT CTiglTransformation getTransformationMatrix () const
TIGL_EXPORT ECPACSTranslationType getTranslationType () const
TIGL_EXPORT CTiglPoint getTranslationVector () const
TIGL_EXPORT CCPACSTransformationSE3operator= (const CCPACSTransformationSE3 &trafo)
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &transformationXPath) override
TIGL_EXPORT void reset ()
TIGL_EXPORT void setRotation (const CTiglPoint &rotation)
TIGL_EXPORT void setRotationType (ECPACSTranslationType rotationType)
TIGL_EXPORT void setTransformationMatrix (const CTiglTransformation &matrix)
TIGL_EXPORT void setTranslation (const CTiglPoint &translation)
TIGL_EXPORT void setTranslation (const CTiglPoint &translation, ECPACSTranslationType)
Public Member Functions inherited from tigl::generated::CPACSTransformationSE3
TIGL_EXPORT CPACSTransformationSE3 (CCPACSComponent *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSCone *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSCuboid *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSCylinder *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSEllipsoid *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSMultiSegmentShape *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSTransformationSE3 (CPACSTorus *parent, CTiglUIDManager *uidMgr)
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
template<typename P>
P * GetParent ()
template<typename P>
const P * GetParent () const
virtual TIGL_EXPORT boost::optional< CCPACSPoint > & GetRotation ()
virtual TIGL_EXPORT const boost::optional< CCPACSPoint > & GetRotation () const
virtual TIGL_EXPORT CCPACSPointGetRotation (CreateIfNotExistsTag)
virtual TIGL_EXPORT boost::optional< CCPACSPointAbsRel > & GetTranslation ()
virtual TIGL_EXPORT const boost::optional< CCPACSPointAbsRel > & GetTranslation () const
virtual TIGL_EXPORT CCPACSPointAbsRelGetTranslation (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< std::string > & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
template<typename P>
bool IsParent () const
virtual TIGL_EXPORT void RemoveRotation ()
virtual TIGL_EXPORT void RemoveTranslation ()
virtual TIGL_EXPORT void SetUID (const boost::optional< std::string > &value)
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
virtual TIGL_EXPORT ~CPACSTransformationSE3 ()
Public Member Functions inherited from tigl::CTiglOptUIDObject
boost::optional< std::string > GetObjectUID () const
virtual ~CTiglOptUIDObject ()=default
Public Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const

Private Member Functions

void InvalidateImpl (const boost::optional< std::string > &source) const override
void updateMatrix (CTiglTransformation &cache) const

Private Attributes

ECPACSTranslationType _rotationType = ABS_GLOBAL
Cache< CTiglTransformation, CCPACSTransformationSE3_transformationMatrix

Additional Inherited Members

Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
Protected Attributes inherited from tigl::generated::CPACSTransformationSE3
void * m_parent
const std::type_info * m_parentType
boost::optional< CCPACSPointm_rotation
 Rotation data default: 0,0,0. The rotation angles are the three Euler angles to describe the orientation of the coordinate system. The order is always xyz in CPACS. Therefore the first rotation is around the x-axis, the second rotation is around the rotated y-axis (y') and the third rotation is around the two times rotated z-axis (z'').
boost::optional< CCPACSPointAbsRelm_translation
 Translation data default: 0,0,0. Translations can either be made absolute in the global coordinate system (absGlobal) or absolute in the local Coordinate system (absLocal).
boost::optional< std::string > m_uID
CTiglUIDManagerm_uidMgr

Constructor & Destructor Documentation

◆ CCPACSTransformationSE3() [1/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSComponent * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [2/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSMultiSegmentShape * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [3/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSCuboid * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [4/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSCylinder * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [5/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSCone * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [6/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSTorus * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSTransformationSE3() [7/7]

TIGL_EXPORT tigl::CCPACSTransformationSE3::CCPACSTransformationSE3 ( CCPACSEllipsoid * parent,
CTiglUIDManager * uidMgr )

Member Function Documentation

◆ getRotation()

TIGL_EXPORT CTiglPoint tigl::CCPACSTransformationSE3::getRotation ( ) const

◆ getRotationType()

TIGL_EXPORT ECPACSTranslationType tigl::CCPACSTransformationSE3::getRotationType ( ) const

◆ getTransformationMatrix()

TIGL_EXPORT CTiglTransformation tigl::CCPACSTransformationSE3::getTransformationMatrix ( ) const

◆ getTranslationType()

TIGL_EXPORT ECPACSTranslationType tigl::CCPACSTransformationSE3::getTranslationType ( ) const

◆ getTranslationVector()

TIGL_EXPORT CTiglPoint tigl::CCPACSTransformationSE3::getTranslationVector ( ) const

◆ InvalidateImpl()

void tigl::CCPACSTransformationSE3::InvalidateImpl ( const boost::optional< std::string > & source) const
overrideprivatevirtual

Reimplemented from tigl::CTiglUIDObject.

◆ operator=()

TIGL_EXPORT CCPACSTransformationSE3 & tigl::CCPACSTransformationSE3::operator= ( const CCPACSTransformationSE3 & trafo)

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSTransformationSE3::ReadCPACS ( const TixiDocumentHandle & tixiHandle,
const std::string & transformationXPath )
overridevirtual

Reads in the transformation from a cpacs path

Parameters
tixiHandleHandle to the xml document
transformationXPathXPath to the parent object

Reimplemented from tigl::generated::CPACSTransformationSE3.

◆ reset()

TIGL_EXPORT void tigl::CCPACSTransformationSE3::reset ( )

◆ setRotation()

TIGL_EXPORT void tigl::CCPACSTransformationSE3::setRotation ( const CTiglPoint & rotation)

◆ setRotationType()

TIGL_EXPORT void tigl::CCPACSTransformationSE3::setRotationType ( ECPACSTranslationType rotationType)

◆ setTransformationMatrix()

TIGL_EXPORT void tigl::CCPACSTransformationSE3::setTransformationMatrix ( const CTiglTransformation & matrix)

◆ setTranslation() [1/2]

TIGL_EXPORT void tigl::CCPACSTransformationSE3::setTranslation ( const CTiglPoint & translation)

◆ setTranslation() [2/2]

TIGL_EXPORT void tigl::CCPACSTransformationSE3::setTranslation ( const CTiglPoint & translation,
ECPACSTranslationType  )

◆ updateMatrix()

void tigl::CCPACSTransformationSE3::updateMatrix ( CTiglTransformation & cache) const
private

Field Documentation

◆ _rotationType

ECPACSTranslationType tigl::CCPACSTransformationSE3::_rotationType = ABS_GLOBAL
private

◆ _transformationMatrix

Cache<CTiglTransformation, CCPACSTransformationSE3> tigl::CCPACSTransformationSE3::_transformationMatrix
private

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