3.5.0
Loading...
Searching...
No Matches
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 (size_t index)
 
TIGL_EXPORT const CTiglAttachedRotorBladeGetAttachedRotorBlade (size_t index) const
 
TIGL_EXPORT double GetAzimuthAngle (size_t index) const
 
TIGL_EXPORT CCPACSConfigurationGetConfiguration ()
 
TIGL_EXPORT const CCPACSConfigurationGetConfiguration () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
TIGL_EXPORT CCPACSRotorHingeGetHinge (size_t index)
 
TIGL_EXPORT const CCPACSRotorHingeGetHinge (size_t index) const
 
TIGL_EXPORT size_t GetHingeCount () const
 
virtual TIGL_EXPORT boost::optional< CCPACSRotorHinges > & GetHinges ()
 
virtual TIGL_EXPORT const boost::optional< CCPACSRotorHinges > & GetHinges () const
 
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
 
TIGL_EXPORT size_t GetNumberOfBlades () const
 
TIGL_EXPORT CCPACSRotorBladeAttachmentsGetParent ()
 
TIGL_EXPORT const CCPACSRotorBladeAttachmentsGetParent () const
 
TIGL_EXPORT CCPACSRotorGetRotor ()
 
TIGL_EXPORT const CCPACSRotorGetRotor () const
 
TIGL_EXPORT CTiglTransformation GetRotorBladeTransformationMatrix (double thetaDeg=0., double bladeDeltaThetaDeg=0., bool doHingeTransformation=true, bool doRotationDirTransformation=true, bool doRotorTransformation=false)
 
virtual TIGL_EXPORT const std::string & GetRotorBladeUID () const
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT size_t GetWingIndex () 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 boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetRotorBladeUID (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
 
- 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 boost::optional< CCPACSStringVector > & GetAzimuthAngles_choice1 ()
 
virtual TIGL_EXPORT const boost::optional< CCPACSStringVector > & GetAzimuthAngles_choice1 () const
 
virtual TIGL_EXPORT CCPACSStringVectorGetAzimuthAngles_choice1 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< int > & GetNumberOfBlades_choice2 () const
 
TIGL_EXPORT CCPACSRotorBladeAttachmentsGetParent ()
 
TIGL_EXPORT const CCPACSRotorBladeAttachmentsGetParent () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void RemoveAzimuthAngles_choice1 ()
 
virtual TIGL_EXPORT void RemoveHinges ()
 
virtual TIGL_EXPORT void SetNumberOfBlades_choice2 (const boost::optional< int > &value)
 
TIGL_EXPORT bool ValidateChoices () 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.
 
boost::optional< std::string > m_description
 Description.
 
boost::optional< CCPACSRotorHingesm_hinges
 Hinges used to attach the rotor blade.
 
boost::optional< std::string > m_name
 Name.
 
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)
 
CCPACSRotorBladeAttachmentsm_parent
 
std::string m_rotorBladeUID
 UID of the rotorBlade which should be attached to the rotor hub.
 
std::string m_uID
 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 ( size_t index)

◆ GetAttachedRotorBlade() [2/2]

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

◆ GetAzimuthAngle()

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

◆ GetConfiguration() [1/2]

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

◆ GetConfiguration() [2/2]

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

◆ GetDescription()

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

◆ GetHinge() [1/2]

TIGL_EXPORT CCPACSRotorHinge & tigl::CCPACSRotorBladeAttachment::GetHinge ( size_t index)

◆ GetHinge() [2/2]

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

◆ GetHingeCount()

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

◆ GetHinges() [1/3]

virtual TIGL_EXPORT boost::optional< CCPACSRotorHinges > & tigl::generated::CPACSRotorBladeAttachment::GetHinges ( )
virtual

◆ GetHinges() [2/3]

virtual TIGL_EXPORT const boost::optional< CCPACSRotorHinges > & tigl::generated::CPACSRotorBladeAttachment::GetHinges ( ) const
virtual

◆ GetHinges() [3/3]

virtual TIGL_EXPORT CCPACSRotorHinges & tigl::generated::CPACSRotorBladeAttachment::GetHinges ( CreateIfNotExistsTag )
virtual

◆ GetName()

virtual TIGL_EXPORT const boost::optional< std::string > & tigl::generated::CPACSRotorBladeAttachment::GetName ( ) const
virtual

◆ GetNextUIDParent() [1/2]

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

◆ GetNextUIDParent() [2/2]

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

◆ GetNumberOfBlades()

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

◆ GetParent() [1/2]

TIGL_EXPORT CCPACSRotorBladeAttachments * tigl::generated::CPACSRotorBladeAttachment::GetParent ( )

◆ GetParent() [2/2]

TIGL_EXPORT const CCPACSRotorBladeAttachments * tigl::generated::CPACSRotorBladeAttachment::GetParent ( ) const

◆ GetRotor() [1/2]

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

◆ GetRotor() [2/2]

TIGL_EXPORT const 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 )

◆ GetRotorBladeUID()

virtual TIGL_EXPORT const std::string & tigl::generated::CPACSRotorBladeAttachment::GetRotorBladeUID ( ) const
virtual

◆ GetUID()

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

◆ GetWingIndex()

TIGL_EXPORT size_t 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

◆ ReadCPACS()

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

◆ SetDescription()

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

◆ SetName()

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

◆ SetRotorBladeUID()

virtual TIGL_EXPORT void tigl::generated::CPACSRotorBladeAttachment::SetRotorBladeUID ( const std::string & value)
virtual

◆ SetUID()

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

◆ WriteCPACS()

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

Field Documentation

◆ attachedRotorBlades

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

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