3.4.0
tigl::CCPACSTransformation Class Reference

#include <CCPACSTransformation.h>

+ Inheritance diagram for tigl::CCPACSTransformation:

Public Member Functions

TIGL_EXPORT CCPACSTransformation (CCPACSEnginePosition *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSDuctAssembly *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSFuselageSectionElement *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSFuselageSection *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSExternalObject *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSGenericSystem *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSGenericGeometryComponent *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSLandingGearBase *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSNacelleSection *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSRotor *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSRotorHinge *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSWing *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSWingSectionElement *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CCPACSWingSection *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSTransformation (CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CTiglPoint getRotation () const
 
TIGL_EXPORT CTiglPoint getScaling () const
 
TIGL_EXPORT CTiglTransformation getTransformationMatrix () const
 
TIGL_EXPORT ECPACSTranslationType getTranslationType () const
 
TIGL_EXPORT CTiglPoint getTranslationVector () const
 
TIGL_EXPORT void Init (const std::string &UID)
 
TIGL_EXPORT CCPACSTransformationoperator= (const CCPACSTransformation &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 setScaling (const CTiglPoint &scale)
 
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::CPACSTransformation
TIGL_EXPORT CPACSTransformation (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSDuctAssembly *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSEnginePosition *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSFuselageSectionElement *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSFuselageSection *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSExternalObject *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CPACSGenericGeometryComponent *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSGenericSystem *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CPACSLandingGearBase *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSNacelleSection *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSRotor *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSRotorHinge *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSWing *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSWingSectionElement *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSTransformation (CCPACSWingSection *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 const boost::optional< CCPACSPoint > & GetRotation () const
 
virtual TIGL_EXPORT boost::optional< CCPACSPoint > & GetRotation ()
 
virtual TIGL_EXPORT CCPACSPointGetRotation (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CCPACSPoint > & GetScaling () const
 
virtual TIGL_EXPORT boost::optional< CCPACSPoint > & GetScaling ()
 
virtual TIGL_EXPORT CCPACSPointGetScaling (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CCPACSPointAbsRel > & GetTranslation () const
 
virtual TIGL_EXPORT boost::optional< CCPACSPointAbsRel > & GetTranslation ()
 
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 RemoveScaling ()
 
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 ~CPACSTransformation ()
 
- 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

Cache< CTiglTransformation, CCPACSTransformation_transformationMatrix
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 
- Protected Attributes inherited from tigl::generated::CPACSTransformation
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 allways 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''). More...
 
boost::optional< CCPACSPointm_scaling
 Scaling data default: 1,1,1. Those parameters describe the scaling of the x-, y-, and z-axis. More...
 
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). More...
 
boost::optional< std::string > m_uID
 
CTiglUIDManagerm_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSTransformation() [1/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSEnginePosition parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [2/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSEnginePylon parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [3/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSFuselage parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [4/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSDuct parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [5/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSDuctAssembly parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [6/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSFuselageSectionElement parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [7/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSFuselageSection parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [8/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSExternalObject parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [9/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSGenericSystem parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [10/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSGenericGeometryComponent parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [11/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSLandingGearBase parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [12/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSNacelleSection parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [13/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSRotor parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [14/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSRotorHinge parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [15/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSWing parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [16/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSWingSectionElement parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [17/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CCPACSWingSection parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSTransformation() [18/18]

TIGL_EXPORT tigl::CCPACSTransformation::CCPACSTransformation ( CTiglUIDManager uidMgr)

Member Function Documentation

◆ getRotation()

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

◆ getScaling()

TIGL_EXPORT CTiglPoint tigl::CCPACSTransformation::getScaling ( ) const

◆ getTransformationMatrix()

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

◆ getTranslationType()

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

◆ getTranslationVector()

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

◆ Init()

TIGL_EXPORT void tigl::CCPACSTransformation::Init ( const std::string &  UID)

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ operator=()

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

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSTransformation::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::CPACSTransformation.

◆ reset()

TIGL_EXPORT void tigl::CCPACSTransformation::reset ( )

◆ setRotation()

TIGL_EXPORT void tigl::CCPACSTransformation::setRotation ( const CTiglPoint rotation)

◆ setScaling()

TIGL_EXPORT void tigl::CCPACSTransformation::setScaling ( const CTiglPoint scale)

◆ setTransformationMatrix()

TIGL_EXPORT void tigl::CCPACSTransformation::setTransformationMatrix ( const CTiglTransformation matrix)

◆ setTranslation() [1/2]

TIGL_EXPORT void tigl::CCPACSTransformation::setTranslation ( const CTiglPoint translation)

◆ setTranslation() [2/2]

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

◆ updateMatrix()

void tigl::CCPACSTransformation::updateMatrix ( CTiglTransformation cache) const
private

Field Documentation

◆ _transformationMatrix

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

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