3.4.0
tigl::generated::CPACSWingElement Class Reference

Element of the section. More...

#include <CPACSWingElement.h>

+ Inheritance diagram for tigl::generated::CPACSWingElement:

Public Member Functions

TIGL_EXPORT CPACSWingElement (CCPACSWingSectionElements *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const std::string & GetAirfoilUID () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSWingSectionElementsGetParent ()
 
TIGL_EXPORT const CCPACSWingSectionElementsGetParent () const
 
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
 
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void SetAirfoilUID (const std::string &value)
 
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 ~CPACSWingElement ()
 
- 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
 
- Public Member Functions inherited from tigl::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 

Protected Attributes

std::string m_airfoilUID
 Reference to a wing airfoil. More...
 
boost::optional< std::string > m_description
 Description of the wing element. More...
 
std::string m_name
 Name of the wing element. More...
 
CCPACSWingSectionElementsm_parent
 
CCPACSTransformation m_transformation
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Private Member Functions

 CPACSWingElement (const CPACSWingElement &)=delete
 
 CPACSWingElement (CPACSWingElement &&)=delete
 
TIGL_EXPORT const CTiglUIDObjectGetNextUIDObject () const final
 
TIGL_EXPORT void NotifyUIDChange (const std::string &oldUid, const std::string &newUid) final
 
CPACSWingElementoperator= (const CPACSWingElement &)=delete
 
CPACSWingElementoperator= (CPACSWingElement &&)=delete
 

Additional Inherited Members

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

Detailed Description

Element of the section.

Within elements the airfoils of the wing are defined. Each section can have one or more elements. Within each element one airfoil have to be defined. If e.g. the wing should have a step at this section, two elements can be defined for the two airfoils. Mathematically spoken a element is a coordinate system that is translated, rotated and scaled relative to the section coordinate system. This transformation parameters are defined withing the transformation section. The wirfoil, which is linked by using the parameter airfoilUID is directly 'copied' in the element coordinate system. If e.g. the airfoil is defined from 0 to 1 in x-direction and the total scaling of the elements x-axis equals 3.5 the wing chord is 3.5 m long. An example for wing element can be found in the picture below:

See also
wingelements

Constructor & Destructor Documentation

◆ CPACSWingElement() [1/3]

TIGL_EXPORT tigl::generated::CPACSWingElement::CPACSWingElement ( CCPACSWingSectionElements parent,
CTiglUIDManager uidMgr 
)

◆ ~CPACSWingElement()

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

◆ CPACSWingElement() [2/3]

tigl::generated::CPACSWingElement::CPACSWingElement ( const CPACSWingElement )
privatedelete

◆ CPACSWingElement() [3/3]

tigl::generated::CPACSWingElement::CPACSWingElement ( CPACSWingElement &&  )
privatedelete

Member Function Documentation

◆ GetAirfoilUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSWingElement::GetAirfoilUID ( ) const
virtual

◆ GetDescription()

virtual TIGL_EXPORT const boost::optional<std::string>& tigl::generated::CPACSWingElement::GetDescription ( ) const
virtual

◆ GetName()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSWingElement::GetName ( ) const
virtual

◆ GetNextUIDObject()

TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSWingElement::GetNextUIDObject ( ) const
finalprivatevirtual

◆ GetNextUIDParent() [1/2]

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

Implements tigl::CTiglUIDObject.

◆ GetNextUIDParent() [2/2]

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

Implements tigl::CTiglUIDObject.

◆ GetParent() [1/2]

TIGL_EXPORT CCPACSWingSectionElements* tigl::generated::CPACSWingElement::GetParent ( )

◆ GetParent() [2/2]

TIGL_EXPORT const CCPACSWingSectionElements* tigl::generated::CPACSWingElement::GetParent ( ) const

◆ GetTransformation() [1/2]

virtual TIGL_EXPORT const CCPACSTransformation& tigl::generated::CPACSWingElement::GetTransformation ( ) const
virtual

◆ GetTransformation() [2/2]

virtual TIGL_EXPORT CCPACSTransformation& tigl::generated::CPACSWingElement::GetTransformation ( )
virtual

◆ GetUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSWingElement::GetUID ( ) const
virtual

◆ GetUIDManager() [1/2]

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

Implements tigl::CTiglUIDObject.

◆ GetUIDManager() [2/2]

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

Implements tigl::CTiglUIDObject.

◆ NotifyUIDChange()

TIGL_EXPORT void tigl::generated::CPACSWingElement::NotifyUIDChange ( const std::string &  oldUid,
const std::string &  newUid 
)
finalprivatevirtual

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ ReadCPACS()

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

◆ SetAirfoilUID()

virtual TIGL_EXPORT void tigl::generated::CPACSWingElement::SetAirfoilUID ( const std::string &  value)
virtual

Reimplemented in tigl::CCPACSWingSectionElement.

◆ SetDescription()

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

◆ SetName()

virtual TIGL_EXPORT void tigl::generated::CPACSWingElement::SetName ( const std::string &  value)
virtual

◆ SetUID()

virtual TIGL_EXPORT void tigl::generated::CPACSWingElement::SetUID ( const std::string &  value)
virtual

◆ WriteCPACS()

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

Field Documentation

◆ m_airfoilUID

std::string tigl::generated::CPACSWingElement::m_airfoilUID
protected

Reference to a wing airfoil.

◆ m_description

boost::optional<std::string> tigl::generated::CPACSWingElement::m_description
protected

Description of the wing element.

◆ m_name

std::string tigl::generated::CPACSWingElement::m_name
protected

Name of the wing element.

◆ m_parent

CCPACSWingSectionElements* tigl::generated::CPACSWingElement::m_parent
protected

◆ m_transformation

CCPACSTransformation tigl::generated::CPACSWingElement::m_transformation
protected

◆ m_uID

std::string tigl::generated::CPACSWingElement::m_uID
protected

◆ m_uidMgr

CTiglUIDManager* tigl::generated::CPACSWingElement::m_uidMgr
protected

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