#include <CCPACSPositioning.h>
Public Member Functions | |
TIGL_EXPORT void | AddDependentPositioning (CCPACSPositioning *child) |
TIGL_EXPORT | CCPACSPositioning (CCPACSPositionings *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT void | DisconnectDependentPositionings () |
TIGL_EXPORT const std::vector< CCPACSPositioning * > | GetDependentPositionings () const |
TIGL_EXPORT const CTiglPoint & | GetFromPoint () |
TIGL_EXPORT const CTiglPoint & | GetToPoint () |
TIGL_EXPORT CTiglTransformation | GetToTransformation () |
TIGL_EXPORT void | ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &positioningXPath) override |
TIGL_EXPORT void | SetDihedralAngle (const double &value) override |
TIGL_EXPORT void | SetFromPoint (const CTiglPoint &aPoint) |
TIGL_EXPORT void | SetFromSectionUID (const boost::optional< std::string > &value) override |
TIGL_EXPORT void | SetLength (const double &value) override |
TIGL_EXPORT void | SetParametersFromVector (const CTiglPoint &delta, bool rounding=true) |
TIGL_EXPORT void | SetSweepAngle (const double &value) override |
TIGL_EXPORT void | SetToPoint (const CTiglPoint &newPosition, bool moveDependentPositionings=false) |
TIGL_EXPORT void | SetToSectionUID (const std::string &value) override |
Public Member Functions inherited from tigl::generated::CPACSPositioning | |
TIGL_EXPORT | CPACSPositioning (CCPACSPositionings *parent, CTiglUIDManager *uidMgr) |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetDescription () const |
virtual TIGL_EXPORT const double & | GetDihedralAngle () const |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetFromSectionUID () const |
virtual TIGL_EXPORT const double & | GetLength () const |
virtual TIGL_EXPORT const std::string & | GetName () const |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSPositionings * | GetParent () |
TIGL_EXPORT const CCPACSPositionings * | GetParent () const |
virtual TIGL_EXPORT const double & | GetSweepAngle () const |
virtual TIGL_EXPORT const std::string & | GetToSectionUID () const |
virtual TIGL_EXPORT const std::string & | GetUID () const |
TIGL_EXPORT CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () const |
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 | ~CPACSPositioning () |
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 Member Functions | |
void | BuildMatrix () |
void | SetFromPointKeepingToPoint (const CTiglPoint &newFromPosition) |
void | Update () |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
Private Member Functions | |
void | InvalidateImpl (const boost::optional< std::string > &source) const override |
Private Attributes | |
std::vector< CCPACSPositioning * > | _dependentPositionings |
CTiglPoint | _fromPoint |
CTiglPoint | _toPoint |
CTiglTransformation | _toTransformation |
bool | invalidated |
Additional Inherited Members | |
Protected Attributes inherited from tigl::generated::CPACSPositioning | |
boost::optional< std::string > | m_description |
Description of the positioning. More... | |
double | m_dihedralAngle |
Dihedralangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the x-axis of the wing coordinate system. More... | |
boost::optional< std::string > | m_fromSectionUID |
Reference to starting section of the positioning vector. If missing, the positioning is made from the orgin of the wing coordinate system. More... | |
double | m_length |
Distance between inner and outer section (length of the positioning vector). More... | |
std::string | m_name |
Name of the positioning. More... | |
CCPACSPositionings * | m_parent |
double | m_sweepAngle |
Sweepangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the z-axis of the wing coordinate system. More... | |
std::string | m_toSectionUID |
Reference to ending section (section to be positioned) of the positioning vector. More... | |
std::string | m_uID |
CTiglUIDManager * | m_uidMgr |
TIGL_EXPORT tigl::CCPACSPositioning::CCPACSPositioning | ( | CCPACSPositionings * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT void tigl::CCPACSPositioning::AddDependentPositioning | ( | CCPACSPositioning * | child | ) |
|
protected |
TIGL_EXPORT void tigl::CCPACSPositioning::DisconnectDependentPositionings | ( | ) |
TIGL_EXPORT const std::vector<CCPACSPositioning*> tigl::CCPACSPositioning::GetDependentPositionings | ( | ) | const |
TIGL_EXPORT const CTiglPoint& tigl::CCPACSPositioning::GetFromPoint | ( | ) |
TIGL_EXPORT const CTiglPoint& tigl::CCPACSPositioning::GetToPoint | ( | ) |
TIGL_EXPORT CTiglTransformation tigl::CCPACSPositioning::GetToTransformation | ( | ) |
|
overrideprivatevirtual |
Reimplemented from tigl::CTiglUIDObject.
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
TIGL_EXPORT void tigl::CCPACSPositioning::SetFromPoint | ( | const CTiglPoint & | aPoint | ) |
|
protected |
Set the positioning vector (length, sweep, dihedral) such that the "toPoint" does not move if the "fromPoint" take the new position "newFromPosition"
newFromPosition | the new position of the from point. |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
TIGL_EXPORT void tigl::CCPACSPositioning::SetParametersFromVector | ( | const CTiglPoint & | delta, |
bool | rounding = true |
||
) |
Set the length, sweep and dihedral parameter from the given positioning vector.
delta | |
rounding,if | rounding is set to true angle and length will be rounding near common value as 0 ,90,180,.. |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
TIGL_EXPORT void tigl::CCPACSPositioning::SetToPoint | ( | const CTiglPoint & | newPosition, |
bool | moveDependentPositionings = false |
||
) |
Set the toPoint of this positioning. By the the "toPoint", we mean the total position obtain by the section from this positioning and its parent positionings.
aPoint | |
moveDependentPositionings | If true, the dependent positionings will also move from the delta between the newPosition and the old position. If false, the dependent positioning will keep their positions (but, their parameters (sweep,...) need to be updated). |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositioning.
|
protected |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |