3.4.0
tigl::CCPACSRotorBladeAttachment Class Reference

#include <CCPACSRotorBladeAttachment.h>

+ Inheritance diagram for tigl::CCPACSRotorBladeAttachment:

Public Member Functions

TIGL_EXPORT CCPACSRotorBladeAttachment (CCPACSRotorBladeAttachments *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CTiglAttachedRotorBladeGetAttachedRotorBlade (int index)
 
TIGL_EXPORT const CTiglAttachedRotorBladeGetAttachedRotorBlade (int index) const
 
TIGL_EXPORT double GetAzimuthAngle (int index) const
 
TIGL_EXPORT CCPACSConfigurationGetConfiguration () const
 
TIGL_EXPORT CCPACSRotorHingeGetHinge (int index) const
 
TIGL_EXPORT int GetHingeCount () const
 
TIGL_EXPORT int GetNumberOfBlades () const
 
TIGL_EXPORT CCPACSRotorGetRotor () const
 
TIGL_EXPORT CTiglTransformation GetRotorBladeTransformationMatrix (double thetaDeg=0., double bladeDeltaThetaDeg=0., bool doHingeTransformation=true, bool doRotationDirTransformation=true, bool doRotorTransformation=false)
 
TIGL_EXPORT int GetWingIndex () const
 
- 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 lazyCreateAttachedRotorBlades () const
 
- Private Member Functions inherited from tigl::generated::CPACSRotorBladeAttachment
TIGL_EXPORT CPACSRotorBladeAttachment (CCPACSRotorBladeAttachments *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< CCPACSStringVector > & GetAzimuthAngles_choice1 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSStringVector > & GetAzimuthAngles_choice1 ()
 
virtual TIGL_EXPORT CCPACSStringVectorGetAzimuthAngles_choice1 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const boost::optional< CCPACSRotorHinges > & GetHinges () const
 
virtual TIGL_EXPORT boost::optional< CCPACSRotorHinges > & GetHinges ()
 
virtual TIGL_EXPORT CCPACSRotorHingesGetHinges (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
virtual TIGL_EXPORT const boost::optional< int > & GetNumberOfBlades_choice2 () const
 
TIGL_EXPORT CCPACSRotorBladeAttachmentsGetParent ()
 
TIGL_EXPORT const CCPACSRotorBladeAttachmentsGetParent () const
 
virtual TIGL_EXPORT const std::string & GetRotorBladeUID () const
 
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 RemoveAzimuthAngles_choice1 ()
 
virtual TIGL_EXPORT void RemoveHinges ()
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetName (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetNumberOfBlades_choice2 (const boost::optional< int > &value)
 
virtual TIGL_EXPORT void SetRotorBladeUID (const std::string &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
TIGL_EXPORT bool ValidateChoices () const
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSRotorBladeAttachment ()
 
- Private Member Functions inherited from tigl::CTiglReqUIDObject
boost::optional< std::string > GetObjectUID () const
 
virtual ~CTiglReqUIDObject ()=default
 
- Private Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
 ~CTiglUIDObject ()=default
 
- Private Member Functions inherited from tigl::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 

Private Attributes

std::vector< std::unique_ptr< CTiglAttachedRotorBlade > > attachedRotorBlades
 
- Private Attributes inherited from tigl::generated::CPACSRotorBladeAttachment
boost::optional< CCPACSStringVectorm_azimuthAngles_choice1
 The azimuthAngles element is used to specify a list of discrete azimuth angles (in deg) at which instances of attached blades are to be created. The number of blades will equal to the number of elements of the vector. E.g. <azimuthAngles>0;90;180;270</azimuthAngles> for a four blade rotor with equal equiangularly distributed blades. The transformation of the respective rotor blade corresponds to a rotation by azimuthAngle around the z axis of the rotor coordinate system in mathematically positive sense of rotation. More...
 
boost::optional< std::string > m_description
 Description of the blade attachment. More...
 
boost::optional< CCPACSRotorHingesm_hinges
 Definition of all hinges used to attach the rotor blade. More...
 
boost::optional< std::string > m_name
 Name of the blade attachment. More...
 
boost::optional< int > m_numberOfBlades_choice2
 If only the number of blades is specified, the attached blades will be distributed equiangularly and the first blade will be attached at azimuth angle 0. (Formula: azimuthAngle[i] = i*360deg/numberOfBlades, i=0..numberOfBlades-1) More...
 
CCPACSRotorBladeAttachmentsm_parent
 
std::string m_rotorBladeUID
 UID of the rotorBlade which should be attached to the rotor hub. More...
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CCPACSRotorBladeAttachment()

TIGL_EXPORT tigl::CCPACSRotorBladeAttachment::CCPACSRotorBladeAttachment ( CCPACSRotorBladeAttachments parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ GetAttachedRotorBlade() [1/2]

TIGL_EXPORT CTiglAttachedRotorBlade& tigl::CCPACSRotorBladeAttachment::GetAttachedRotorBlade ( int  index)

◆ GetAttachedRotorBlade() [2/2]

TIGL_EXPORT const CTiglAttachedRotorBlade& tigl::CCPACSRotorBladeAttachment::GetAttachedRotorBlade ( int  index) const

◆ GetAzimuthAngle()

TIGL_EXPORT double tigl::CCPACSRotorBladeAttachment::GetAzimuthAngle ( int  index) const

◆ GetConfiguration()

TIGL_EXPORT CCPACSConfiguration& tigl::CCPACSRotorBladeAttachment::GetConfiguration ( ) const

◆ GetHinge()

TIGL_EXPORT CCPACSRotorHinge& tigl::CCPACSRotorBladeAttachment::GetHinge ( int  index) const

◆ GetHingeCount()

TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetHingeCount ( ) const

◆ GetNumberOfBlades()

TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetNumberOfBlades ( ) const

◆ GetRotor()

TIGL_EXPORT CCPACSRotor& tigl::CCPACSRotorBladeAttachment::GetRotor ( ) const

◆ GetRotorBladeTransformationMatrix()

TIGL_EXPORT CTiglTransformation tigl::CCPACSRotorBladeAttachment::GetRotorBladeTransformationMatrix ( double  thetaDeg = 0.,
double  bladeDeltaThetaDeg = 0.,
bool  doHingeTransformation = true,
bool  doRotationDirTransformation = true,
bool  doRotorTransformation = false 
)

◆ GetWingIndex()

TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetWingIndex ( ) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ lazyCreateAttachedRotorBlades()

void tigl::CCPACSRotorBladeAttachment::lazyCreateAttachedRotorBlades ( ) const
private

Field Documentation

◆ attachedRotorBlades

std::vector<std::unique_ptr<CTiglAttachedRotorBlade> > tigl::CCPACSRotorBladeAttachment::attachedRotorBlades
mutableprivate

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