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

Wing type, containing all a lifting surface (wing, HTP, VTP, canard...) of an aircraft model. More...

#include <CPACSWing.h>

Inheritance diagram for tigl::generated::CPACSWing:

Public Member Functions

TIGL_EXPORT CPACSWing (CCPACSRotorBlades *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSWing (CCPACSWings *parent, CTiglUIDManager *uidMgr)
virtual TIGL_EXPORT boost::optional< CCPACSWingComponentSegments > & GetComponentSegments ()
virtual TIGL_EXPORT const boost::optional< CCPACSWingComponentSegments > & GetComponentSegments () const
virtual TIGL_EXPORT CCPACSWingComponentSegmentsGetComponentSegments (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
virtual TIGL_EXPORT const boost::optional< CPACSLoftContinuity > & GetLoftContinuity () const
virtual TIGL_EXPORT const std::string & GetName () const
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< std::string > & GetParentUID () const
virtual TIGL_EXPORT boost::optional< CCPACSPositionings > & GetPositionings ()
virtual TIGL_EXPORT const boost::optional< CCPACSPositionings > & GetPositionings () const
virtual TIGL_EXPORT CCPACSPositioningsGetPositionings (CreateIfNotExistsTag)
virtual TIGL_EXPORT CCPACSWingSectionsGetSections ()
virtual TIGL_EXPORT const CCPACSWingSectionsGetSections () const
virtual TIGL_EXPORT CCPACSWingSegmentsGetSegments ()
virtual TIGL_EXPORT const CCPACSWingSegmentsGetSegments () const
virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & GetSymmetry () const
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
virtual TIGL_EXPORT const 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 RemoveComponentSegments ()
virtual TIGL_EXPORT void RemovePositionings ()
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
virtual TIGL_EXPORT void SetLoftContinuity (const boost::optional< CPACSLoftContinuity > &value)
virtual TIGL_EXPORT void SetName (const std::string &value)
virtual TIGL_EXPORT void SetParentUID (const boost::optional< std::string > &value)
virtual TIGL_EXPORT void SetSymmetry (const boost::optional< TiglSymmetryAxis > &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 ~CPACSWing ()
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

boost::optional< CCPACSWingComponentSegmentsm_componentSegments
boost::optional< std::string > m_description
 Description of the wing.
boost::optional< CPACSLoftContinuitym_loftContinuity
std::string m_name
 Name of the wing.
void * m_parent
const std::type_info * m_parentType
boost::optional< std::string > m_parentUID
 UID of part to which the wing is mounted (if any). The parent of the wing can e.g. be the fuselage. In each aircraft model, there is exactly one part without a parent part (The root of the connection hierarchy).
boost::optional< CCPACSPositioningsm_positionings
CCPACSWingSections m_sections
CCPACSWingSegments m_segments
boost::optional< TiglSymmetryAxism_symmetry
CCPACSTransformation m_transformation
std::string m_uID
CTiglUIDManagerm_uidMgr

Private Member Functions

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

Additional Inherited Members

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

Detailed Description

Wing type, containing all a lifting surface (wing, HTP, VTP, canard...) of an aircraft model.

Wing type, containing all a lifting surface (wing, HTP, VTP, canard...) of an aircraft model. Position of the wing: The position of the wing is defined using the transformation parameters. Using those parameters, the wing coordinate system is translated, rotated and scaled. Definition of the wings outer shape: The outer shape of the wing is defined by airfoils that are placed within the 3D space. Two airfoils are combined to one wing segment within the segments. For the definition of the positions of the airfoils, different sections are defined. Within each section one or more elements are defined. The airfoil shape is defined within the elements. If the wings outer shape should e.g. have a step it is possible to define two different airfoils in one section by using two elements. In most cases each section will only include one element. Positionings are vectors that are used for an additional translation of the sections by using 'user friendly paramaters' as e.g. sweep and dihedral. Please note, the first positioning may be non-zero. Often it will be zero just to locate the wing at the position stated by the translation, but this is not necessary. Finally the wing segments are defined by combining two consecutive elements. A more detailed description is given within the different parameters. Definition of control surfaces, wing structures, wing fuel tank and wing fuselage attachment: those parts are defined within componentSegments. Please refer to the documentation there.

See also
geomBlock

Constructor & Destructor Documentation

◆ CPACSWing() [1/4]

TIGL_EXPORT tigl::generated::CPACSWing::CPACSWing ( CCPACSRotorBlades * parent,
CTiglUIDManager * uidMgr )

◆ CPACSWing() [2/4]

TIGL_EXPORT tigl::generated::CPACSWing::CPACSWing ( CCPACSWings * parent,
CTiglUIDManager * uidMgr )

◆ ~CPACSWing()

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

◆ CPACSWing() [3/4]

tigl::generated::CPACSWing::CPACSWing ( const CPACSWing & )
privatedelete

◆ CPACSWing() [4/4]

tigl::generated::CPACSWing::CPACSWing ( CPACSWing && )
privatedelete

Member Function Documentation

◆ GetComponentSegments() [1/3]

virtual TIGL_EXPORT boost::optional< CCPACSWingComponentSegments > & tigl::generated::CPACSWing::GetComponentSegments ( )
virtual

◆ GetComponentSegments() [2/3]

virtual TIGL_EXPORT const boost::optional< CCPACSWingComponentSegments > & tigl::generated::CPACSWing::GetComponentSegments ( ) const
virtual

◆ GetComponentSegments() [3/3]

virtual TIGL_EXPORT CCPACSWingComponentSegments & tigl::generated::CPACSWing::GetComponentSegments ( CreateIfNotExistsTag )
virtual

◆ GetDescription()

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

◆ GetLoftContinuity()

virtual TIGL_EXPORT const boost::optional< CPACSLoftContinuity > & tigl::generated::CPACSWing::GetLoftContinuity ( ) const
virtual

◆ GetName()

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

◆ GetNextUIDObject()

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

◆ GetNextUIDParent() [1/2]

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

Implements tigl::CTiglUIDObject.

◆ GetNextUIDParent() [2/2]

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

Implements tigl::CTiglUIDObject.

◆ GetParent() [1/2]

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

◆ GetParent() [2/2]

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

◆ GetParentUID()

virtual TIGL_EXPORT const boost::optional< std::string > & tigl::generated::CPACSWing::GetParentUID ( ) const
virtual

◆ GetPositionings() [1/3]

virtual TIGL_EXPORT boost::optional< CCPACSPositionings > & tigl::generated::CPACSWing::GetPositionings ( )
virtual

◆ GetPositionings() [2/3]

virtual TIGL_EXPORT const boost::optional< CCPACSPositionings > & tigl::generated::CPACSWing::GetPositionings ( ) const
virtual

◆ GetPositionings() [3/3]

virtual TIGL_EXPORT CCPACSPositionings & tigl::generated::CPACSWing::GetPositionings ( CreateIfNotExistsTag )
virtual

◆ GetSections() [1/2]

virtual TIGL_EXPORT CCPACSWingSections & tigl::generated::CPACSWing::GetSections ( )
virtual

◆ GetSections() [2/2]

virtual TIGL_EXPORT const CCPACSWingSections & tigl::generated::CPACSWing::GetSections ( ) const
virtual

◆ GetSegments() [1/2]

virtual TIGL_EXPORT CCPACSWingSegments & tigl::generated::CPACSWing::GetSegments ( )
virtual

◆ GetSegments() [2/2]

virtual TIGL_EXPORT const CCPACSWingSegments & tigl::generated::CPACSWing::GetSegments ( ) const
virtual

◆ GetSymmetry()

virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & tigl::generated::CPACSWing::GetSymmetry ( ) const
virtual

◆ GetTransformation() [1/2]

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

◆ GetTransformation() [2/2]

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

◆ GetUID()

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

◆ GetUIDManager() [1/2]

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

Implements tigl::CTiglUIDObject.

◆ GetUIDManager() [2/2]

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

Implements tigl::CTiglUIDObject.

◆ IsParent()

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

◆ NotifyUIDChange()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ ReadCPACS()

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

Reimplemented in tigl::CCPACSWing.

◆ RemoveComponentSegments()

virtual TIGL_EXPORT void tigl::generated::CPACSWing::RemoveComponentSegments ( )
virtual

◆ RemovePositionings()

virtual TIGL_EXPORT void tigl::generated::CPACSWing::RemovePositionings ( )
virtual

◆ SetDescription()

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

◆ SetLoftContinuity()

virtual TIGL_EXPORT void tigl::generated::CPACSWing::SetLoftContinuity ( const boost::optional< CPACSLoftContinuity > & value)
virtual

◆ SetName()

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

◆ SetParentUID()

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

Reimplemented in tigl::CCPACSWing.

◆ SetSymmetry()

virtual TIGL_EXPORT void tigl::generated::CPACSWing::SetSymmetry ( const boost::optional< TiglSymmetryAxis > & value)
virtual

◆ SetUID()

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

◆ WriteCPACS()

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

Field Documentation

◆ m_componentSegments

boost::optional<CCPACSWingComponentSegments> tigl::generated::CPACSWing::m_componentSegments
protected

◆ m_description

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

Description of the wing.

◆ m_loftContinuity

boost::optional<CPACSLoftContinuity> tigl::generated::CPACSWing::m_loftContinuity
protected

◆ m_name

std::string tigl::generated::CPACSWing::m_name
protected

Name of the wing.

◆ m_parent

void* tigl::generated::CPACSWing::m_parent
protected

◆ m_parentType

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

◆ m_parentUID

boost::optional<std::string> tigl::generated::CPACSWing::m_parentUID
protected

UID of part to which the wing is mounted (if any). The parent of the wing can e.g. be the fuselage. In each aircraft model, there is exactly one part without a parent part (The root of the connection hierarchy).

◆ m_positionings

boost::optional<CCPACSPositionings> tigl::generated::CPACSWing::m_positionings
protected

◆ m_sections

CCPACSWingSections tigl::generated::CPACSWing::m_sections
protected

◆ m_segments

CCPACSWingSegments tigl::generated::CPACSWing::m_segments
protected

◆ m_symmetry

boost::optional<TiglSymmetryAxis> tigl::generated::CPACSWing::m_symmetry
protected

◆ m_transformation

CCPACSTransformation tigl::generated::CPACSWing::m_transformation
protected

◆ m_uID

std::string tigl::generated::CPACSWing::m_uID
protected

◆ m_uidMgr

CTiglUIDManager* tigl::generated::CPACSWing::m_uidMgr
protected

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