3.3.0
tigl::generated::CPACSTransformation Class Reference

Transformation. More...

#include <CPACSTransformation.h>

+ Inheritance diagram for tigl::generated::CPACSTransformation:

Public Member Functions

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 (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 ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
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
 

Protected Attributes

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), absolute in the local Coordinate system (absLocal) or relative (relative), normalized with the maximum dimensions of the parent. More...
 
boost::optional< std::string > m_uID
 
CTiglUIDManagerm_uidMgr
 

Private Member Functions

 CPACSTransformation (const CPACSTransformation &)=delete
 
 CPACSTransformation (CPACSTransformation &&)=delete
 
CPACSTransformationoperator= (const CPACSTransformation &)=delete
 
CPACSTransformationoperator= (CPACSTransformation &&)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Detailed Description

Transformation.

Transformation type, containing a set of transformations. The order of the transformations is scaling -> rotation -> translation, and they are executed in this order. Any of them can be omitted; it will be replaced by its defaults. Transformations are always executed relative to the child not the parent. I.e. a scaling does not have an influence on the parent item. For example in the outer geometry of a wing the element scaling does not influence the section. Scaling does also not effect rotation and translation.

Constructor & Destructor Documentation

◆ CPACSTransformation() [1/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSDuct parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [2/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSDuctAssembly parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [3/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSEnginePosition parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [4/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSEnginePylon parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [5/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSFuselage parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [6/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSFuselageSectionElement parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [7/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSFuselageSection parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [8/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSExternalObject parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [9/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSGenericSystem parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [10/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CPACSLandingGearBase parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [11/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSNacelleSection parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [12/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSRotor parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [13/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSRotorHinge parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [14/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSWing parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [15/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSWingSectionElement parent,
CTiglUIDManager uidMgr 
)

◆ CPACSTransformation() [16/18]

TIGL_EXPORT tigl::generated::CPACSTransformation::CPACSTransformation ( CCPACSWingSection parent,
CTiglUIDManager uidMgr 
)

◆ ~CPACSTransformation()

virtual TIGL_EXPORT tigl::generated::CPACSTransformation::~CPACSTransformation ( )
virtual

◆ CPACSTransformation() [17/18]

tigl::generated::CPACSTransformation::CPACSTransformation ( const CPACSTransformation )
privatedelete

◆ CPACSTransformation() [18/18]

tigl::generated::CPACSTransformation::CPACSTransformation ( CPACSTransformation &&  )
privatedelete

Member Function Documentation

◆ GetNextUIDParent() [1/2]

virtual TIGL_EXPORT CTiglUIDObject* tigl::generated::CPACSTransformation::GetNextUIDParent ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetNextUIDParent() [2/2]

virtual TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSTransformation::GetNextUIDParent ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ GetParent() [1/2]

template<typename P >
P* tigl::generated::CPACSTransformation::GetParent ( )
inline

◆ GetParent() [2/2]

template<typename P >
const P* tigl::generated::CPACSTransformation::GetParent ( ) const
inline

◆ GetRotation() [1/3]

virtual TIGL_EXPORT const boost::optional<CCPACSPoint>& tigl::generated::CPACSTransformation::GetRotation ( ) const
virtual

◆ GetRotation() [2/3]

virtual TIGL_EXPORT boost::optional<CCPACSPoint>& tigl::generated::CPACSTransformation::GetRotation ( )
virtual

◆ GetRotation() [3/3]

virtual TIGL_EXPORT CCPACSPoint& tigl::generated::CPACSTransformation::GetRotation ( CreateIfNotExistsTag  )
virtual

◆ GetScaling() [1/3]

virtual TIGL_EXPORT const boost::optional<CCPACSPoint>& tigl::generated::CPACSTransformation::GetScaling ( ) const
virtual

◆ GetScaling() [2/3]

virtual TIGL_EXPORT boost::optional<CCPACSPoint>& tigl::generated::CPACSTransformation::GetScaling ( )
virtual

◆ GetScaling() [3/3]

virtual TIGL_EXPORT CCPACSPoint& tigl::generated::CPACSTransformation::GetScaling ( CreateIfNotExistsTag  )
virtual

◆ GetTranslation() [1/3]

virtual TIGL_EXPORT const boost::optional<CCPACSPointAbsRel>& tigl::generated::CPACSTransformation::GetTranslation ( ) const
virtual

◆ GetTranslation() [2/3]

virtual TIGL_EXPORT boost::optional<CCPACSPointAbsRel>& tigl::generated::CPACSTransformation::GetTranslation ( )
virtual

◆ GetTranslation() [3/3]

virtual TIGL_EXPORT CCPACSPointAbsRel& tigl::generated::CPACSTransformation::GetTranslation ( CreateIfNotExistsTag  )
virtual

◆ GetUID()

virtual TIGL_EXPORT const boost::optional<std::string>& tigl::generated::CPACSTransformation::GetUID ( ) const
virtual

◆ GetUIDManager() [1/2]

TIGL_EXPORT CTiglUIDManager& tigl::generated::CPACSTransformation::GetUIDManager ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetUIDManager() [2/2]

TIGL_EXPORT const CTiglUIDManager& tigl::generated::CPACSTransformation::GetUIDManager ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ IsParent()

template<typename P >
bool tigl::generated::CPACSTransformation::IsParent ( ) const
inline

◆ operator=() [1/2]

CPACSTransformation& tigl::generated::CPACSTransformation::operator= ( const CPACSTransformation )
privatedelete

◆ operator=() [2/2]

CPACSTransformation& tigl::generated::CPACSTransformation::operator= ( CPACSTransformation &&  )
privatedelete

◆ ReadCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
)
virtual

Reimplemented in tigl::CCPACSTransformation.

◆ RemoveRotation()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::RemoveRotation ( )
virtual

◆ RemoveScaling()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::RemoveScaling ( )
virtual

◆ RemoveTranslation()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::RemoveTranslation ( )
virtual

◆ SetUID()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::SetUID ( const boost::optional< std::string > &  value)
virtual

◆ WriteCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSTransformation::WriteCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
) const
virtual

Field Documentation

◆ m_parent

void* tigl::generated::CPACSTransformation::m_parent
protected

◆ m_parentType

const std::type_info* tigl::generated::CPACSTransformation::m_parentType
protected

◆ m_rotation

boost::optional<CCPACSPoint> tigl::generated::CPACSTransformation::m_rotation
protected

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'').

◆ m_scaling

boost::optional<CCPACSPoint> tigl::generated::CPACSTransformation::m_scaling
protected

Scaling data default: 1,1,1. Those parameters describe the scaling of the x-, y-, and z-axis.

◆ m_translation

boost::optional<CCPACSPointAbsRel> tigl::generated::CPACSTransformation::m_translation
protected

Translation data default: 0,0,0. Translations can either be made absolute in the global coordinate system (absGlobal), absolute in the local Coordinate system (absLocal) or relative (relative), normalized with the maximum dimensions of the parent.

◆ m_uID

boost::optional<std::string> tigl::generated::CPACSTransformation::m_uID
protected

◆ m_uidMgr

CTiglUIDManager* tigl::generated::CPACSTransformation::m_uidMgr
protected

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