#include <CCPACSRotorBladeAttachment.h>
Public Member Functions | |
TIGL_EXPORT | CCPACSRotorBladeAttachment (CCPACSRotorBladeAttachments *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT CTiglAttachedRotorBlade & | GetAttachedRotorBlade (int index) |
TIGL_EXPORT const CTiglAttachedRotorBlade & | GetAttachedRotorBlade (int index) const |
TIGL_EXPORT double | GetAzimuthAngle (int index) const |
TIGL_EXPORT CCPACSConfiguration & | GetConfiguration () const |
TIGL_EXPORT CCPACSRotorHinge & | GetHinge (int index) const |
TIGL_EXPORT int | GetHingeCount () const |
TIGL_EXPORT int | GetNumberOfBlades () const |
TIGL_EXPORT CCPACSRotor & | GetRotor () 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 CCPACSStringVector & | GetAzimuthAngles_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 CCPACSRotorHinges & | GetHinges (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetName () const |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
virtual TIGL_EXPORT const boost::optional< int > & | GetNumberOfBlades_choice2 () const |
TIGL_EXPORT CCPACSRotorBladeAttachments * | GetParent () |
TIGL_EXPORT const CCPACSRotorBladeAttachments * | GetParent () const |
virtual TIGL_EXPORT const std::string & | GetRotorBladeUID () const |
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 | 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< CCPACSStringVector > | m_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< CCPACSRotorHinges > | m_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... | |
CCPACSRotorBladeAttachments * | m_parent |
std::string | m_rotorBladeUID |
UID of the rotorBlade which should be attached to the rotor hub. More... | |
std::string | m_uID |
CTiglUIDManager * | m_uidMgr |
Additional Inherited Members | |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
TIGL_EXPORT tigl::CCPACSRotorBladeAttachment::CCPACSRotorBladeAttachment | ( | CCPACSRotorBladeAttachments * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT CTiglAttachedRotorBlade& tigl::CCPACSRotorBladeAttachment::GetAttachedRotorBlade | ( | int | index | ) |
TIGL_EXPORT const CTiglAttachedRotorBlade& tigl::CCPACSRotorBladeAttachment::GetAttachedRotorBlade | ( | int | index | ) | const |
TIGL_EXPORT double tigl::CCPACSRotorBladeAttachment::GetAzimuthAngle | ( | int | index | ) | const |
TIGL_EXPORT CCPACSConfiguration& tigl::CCPACSRotorBladeAttachment::GetConfiguration | ( | ) | const |
TIGL_EXPORT CCPACSRotorHinge& tigl::CCPACSRotorBladeAttachment::GetHinge | ( | int | index | ) | const |
TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetHingeCount | ( | ) | const |
TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetNumberOfBlades | ( | ) | const |
TIGL_EXPORT CCPACSRotor& tigl::CCPACSRotorBladeAttachment::GetRotor | ( | ) | const |
TIGL_EXPORT CTiglTransformation tigl::CCPACSRotorBladeAttachment::GetRotorBladeTransformationMatrix | ( | double | thetaDeg = 0. , |
double | bladeDeltaThetaDeg = 0. , |
||
bool | doHingeTransformation = true , |
||
bool | doRotationDirTransformation = true , |
||
bool | doRotorTransformation = false |
||
) |
TIGL_EXPORT int tigl::CCPACSRotorBladeAttachment::GetWingIndex | ( | ) | const |
|
overrideprivatevirtual |
Reimplemented from tigl::CTiglUIDObject.
|
private |
|
mutableprivate |