#include <CCPACSWingSection.h>
Public Member Functions | |
TIGL_EXPORT | CCPACSWingSection (CCPACSWingSections *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT CTiglPoint | GetRotation () const |
Returns the rotation of a wing section in degree. More... | |
TIGL_EXPORT CTiglPoint | GetScaling () const |
Returns the scaling of a wing section. More... | |
TIGL_EXPORT CCPACSWingSectionElement & | GetSectionElement (int index) |
Get element for a given index. More... | |
TIGL_EXPORT const CCPACSWingSectionElement & | GetSectionElement (int index) const |
Get element for a given index. More... | |
TIGL_EXPORT int | GetSectionElementCount () const |
Get element count for this section. While CPACS supports several elements per section, a section in TiGL must contain exactly one element. More... | |
TIGL_EXPORT CTiglTransformation | GetSectionTransformation () const |
Gets the section transformation. More... | |
TIGL_EXPORT CTiglPoint | GetTranslation () const |
Returns the translation of a wing section relative to the wing CPACS-coordinate system, as defined in the CPACS file. More... | |
TIGL_EXPORT void | SetRotation (const CTiglPoint &rot) |
Sets the rotation angles for a wing section. More... | |
TIGL_EXPORT void | SetScaling (const CTiglPoint &scaling) |
Sets the scaling for a wing section. More... | |
TIGL_EXPORT void | SetTranslation (const CTiglPoint &trans) |
Sets the translation vector for a wing section. More... | |
Public Member Functions inherited from tigl::generated::CPACSWingSection | |
TIGL_EXPORT | CPACSWingSection (CCPACSWingSections *parent, CTiglUIDManager *uidMgr) |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetDescription () const |
virtual TIGL_EXPORT const CCPACSWingSectionElements & | GetElements () const |
virtual TIGL_EXPORT CCPACSWingSectionElements & | GetElements () |
virtual TIGL_EXPORT const std::string & | GetName () const |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSWingSections * | GetParent () |
TIGL_EXPORT const CCPACSWingSections * | GetParent () const |
virtual TIGL_EXPORT const CCPACSTransformation & | GetTransformation () const |
virtual TIGL_EXPORT CCPACSTransformation & | GetTransformation () |
virtual TIGL_EXPORT const std::string & | GetUID () const |
TIGL_EXPORT CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () const |
virtual TIGL_EXPORT void | ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) |
virtual TIGL_EXPORT void | SetDescription (const boost::optional< std::string > &value) |
virtual TIGL_EXPORT void | SetName (const std::string &value) |
virtual TIGL_EXPORT void | SetUID (const std::string &value) |
virtual TIGL_EXPORT void | WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const |
virtual TIGL_EXPORT | ~CPACSWingSection () |
Public Member Functions inherited from tigl::CTiglReqUIDObject | |
boost::optional< std::string > | GetObjectUID () const |
virtual | ~CTiglReqUIDObject ()=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 |
Additional Inherited Members | |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
Protected Attributes inherited from tigl::generated::CPACSWingSection | |
boost::optional< std::string > | m_description |
Description of the wing section. More... | |
CCPACSWingSectionElements | m_elements |
std::string | m_name |
Name of wing the wing section. More... | |
CCPACSWingSections * | m_parent |
CCPACSTransformation | m_transformation |
std::string | m_uID |
CTiglUIDManager * | m_uidMgr |
TIGL_EXPORT tigl::CCPACSWingSection::CCPACSWingSection | ( | CCPACSWingSections * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetRotation | ( | ) | const |
Returns the rotation of a wing section in degree.
TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetScaling | ( | ) | const |
Returns the scaling of a wing section.
TIGL_EXPORT CCPACSWingSectionElement& tigl::CCPACSWingSection::GetSectionElement | ( | int | index | ) |
Get element for a given index.
TIGL_EXPORT const CCPACSWingSectionElement& tigl::CCPACSWingSection::GetSectionElement | ( | int | index | ) | const |
Get element for a given index.
TIGL_EXPORT int tigl::CCPACSWingSection::GetSectionElementCount | ( | ) | const |
Get element count for this section. While CPACS supports several elements per section, a section in TiGL must contain exactly one element.
TIGL_EXPORT CTiglTransformation tigl::CCPACSWingSection::GetSectionTransformation | ( | ) | const |
Gets the section transformation.
TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetTranslation | ( | ) | const |
Returns the translation of a wing section relative to the wing CPACS-coordinate system, as defined in the CPACS file.
|
overrideprivatevirtual |
Reimplemented from tigl::CTiglUIDObject.
TIGL_EXPORT void tigl::CCPACSWingSection::SetRotation | ( | const CTiglPoint & | rot | ) |
Sets the rotation angles for a wing section.
rot | Euler angles (x,y,z) -> (x,y', z'') in degree, which means, that the object will be rotaded in following order: 1st Rotation around x-axis 2nd Rotation around the rotaded y-axis y' 3rd Rotation around the twice rotaded z axis z''. Default data value:(0,0,0). |
TIGL_EXPORT void tigl::CCPACSWingSection::SetScaling | ( | const CTiglPoint & | scaling | ) |
Sets the scaling for a wing section.
scaling | Scaling in three dimensions, in the order xyz. Default data value: (1,1,1) |
TIGL_EXPORT void tigl::CCPACSWingSection::SetTranslation | ( | const CTiglPoint & | trans | ) |
Sets the translation vector for a wing section.
trans | Translation vector Default data value: (0,0,0) |