#include <CCPACSGuideCurve.h>
Public Types | |
enum | FromOrToDefinition { UID, CIRCUMFERENCE, PARAMETER } |
Public Member Functions | |
TIGL_EXPORT | CCPACSGuideCurve (CCPACSGuideCurves *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT CCPACSGuideCurve * | GetConnectedCurve () const |
TIGL_EXPORT TopoDS_Edge | GetCurve () const |
TIGL_EXPORT std::vector< gp_Pnt > | GetCurvePoints () const |
TIGL_EXPORT FromOrToDefinition | GetFromDefinition () const |
TIGL_EXPORT double | GetFromDefinitionValue () const |
TIGL_EXPORT CCPACSGuideCurve const * | GetRootCurve () const |
TIGL_EXPORT FromOrToDefinition | GetToDefinition () const |
TIGL_EXPORT double | GetToDefinitionValue () const |
TIGL_EXPORT void | SetGuideCurveBuilder (IGuideCurveBuilder &b) |
TIGL_EXPORT | ~CCPACSGuideCurve (void) override |
Public Member Functions inherited from tigl::generated::CPACSGuideCurve | |
TIGL_EXPORT | CPACSGuideCurve (CCPACSGuideCurves *parent, CTiglUIDManager *uidMgr) |
virtual TIGL_EXPORT const boost::optional< CPACSGuideCurve_continuity > & | GetContinuity_choice1 () const |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetDescription () const |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetFromGuideCurveUID_choice1 () const |
virtual TIGL_EXPORT const boost::optional< double > & | GetFromParameter_choice2_2 () const |
virtual TIGL_EXPORT const boost::optional< double > & | GetFromRelativeCircumference_choice2_1 () const |
virtual TIGL_EXPORT const std::string & | GetGuideCurveProfileUID () const |
virtual TIGL_EXPORT const std::string & | GetName () const |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSGuideCurves * | GetParent () |
TIGL_EXPORT const CCPACSGuideCurves * | GetParent () const |
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & | GetRXDirection () const |
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & | GetRXDirection () |
virtual TIGL_EXPORT CPACSPointXYZ & | GetRXDirection (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & | GetTangent () const |
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & | GetTangent () |
virtual TIGL_EXPORT CPACSPointXYZ & | GetTangent (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & | GetTangent_choice2 () const |
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & | GetTangent_choice2 () |
virtual TIGL_EXPORT CPACSPointXYZ & | GetTangent_choice2 (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const boost::optional< double > & | GetToParameter_choice2 () const |
virtual TIGL_EXPORT const boost::optional< double > & | GetToRelativeCircumference_choice1 () 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 | RemoveRXDirection () |
virtual TIGL_EXPORT void | RemoveTangent () |
virtual TIGL_EXPORT void | RemoveTangent_choice2 () |
virtual TIGL_EXPORT void | SetContinuity_choice1 (const boost::optional< CPACSGuideCurve_continuity > &value) |
virtual TIGL_EXPORT void | SetDescription (const boost::optional< std::string > &value) |
virtual TIGL_EXPORT void | SetFromGuideCurveUID_choice1 (const boost::optional< std::string > &value) |
virtual TIGL_EXPORT void | SetFromParameter_choice2_2 (const boost::optional< double > &value) |
virtual TIGL_EXPORT void | SetFromRelativeCircumference_choice2_1 (const boost::optional< double > &value) |
virtual TIGL_EXPORT void | SetGuideCurveProfileUID (const std::string &value) |
virtual TIGL_EXPORT void | SetName (const std::string &value) |
virtual TIGL_EXPORT void | SetToParameter_choice2 (const boost::optional< double > &value) |
virtual TIGL_EXPORT void | SetToRelativeCircumference_choice1 (const boost::optional< double > &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 | ~CPACSGuideCurve () |
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 | Cleanup (void) |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
Private Types | |
typedef std::vector< PCTiglPoint > | CCPACSGuideCurvePoints |
Private Member Functions | |
void | BuildCurve (TopoDS_Edge &cache) const |
CCPACSGuideCurve (const CCPACSGuideCurve &) | |
void | InvalidateImpl (const boost::optional< std::string > &source) const override |
void | operator= (const CCPACSGuideCurve &) |
Private Attributes | |
Cache< TopoDS_Edge, CCPACSGuideCurve > | guideCurveTopo |
IGuideCurveBuilder * | m_builder |
Additional Inherited Members | |
Protected Attributes inherited from tigl::generated::CPACSGuideCurve | |
boost::optional< CPACSGuideCurve_continuity > | m_continuity_choice1 |
Continuity definition for geometry generation. Possible options: C0, C1 from previous, C2 from previous, C1 to previous, C2 to previous. More... | |
boost::optional< std::string > | m_description |
Description of guide curve. More... | |
boost::optional< std::string > | m_fromGuideCurveUID_choice1 |
Reference to the previous guide curve from which this guide curve shall start. More... | |
boost::optional< double > | m_fromParameter_choice2_2 |
Reference to the parameter position from which the guide curve shall start. Valid values are in the interval -1.0...1.0. More... | |
boost::optional< double > | m_fromRelativeCircumference_choice2_1 |
Reference to the relative circumference position from which the guide curve shall start. Valid values are in the interval -1.0...1.0. More... | |
std::string | m_guideCurveProfileUID |
Reference to a guide curve profile. More... | |
std::string | m_name |
Name of guide curve. More... | |
CCPACSGuideCurves * | m_parent |
boost::optional< CPACSPointXYZ > | m_rXDirection |
Local direction along which the relative x-coordinates of the guide curve points are defined. For the wing the default is the wing's local x-axis, for the fuselage its the fuselage's local z-axis. More... | |
boost::optional< CPACSPointXYZ > | m_tangent |
Tangent at last point. More... | |
boost::optional< CPACSPointXYZ > | m_tangent_choice2 |
Tangent at first point. More... | |
boost::optional< double > | m_toParameter_choice2 |
The parameter position at which the guide curve shall end. Valid values are in the interval -1.0...1.0. More... | |
boost::optional< double > | m_toRelativeCircumference_choice1 |
The relative circumference position at which the guide curve shall end. Valid values are in the interval -1,...,1. More... | |
std::string | m_uID |
CTiglUIDManager * | m_uidMgr |
|
private |
TIGL_EXPORT tigl::CCPACSGuideCurve::CCPACSGuideCurve | ( | CCPACSGuideCurves * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
override |
|
private |
|
private |
|
protected |
TIGL_EXPORT CCPACSGuideCurve* tigl::CCPACSGuideCurve::GetConnectedCurve | ( | ) | const |
TIGL_EXPORT TopoDS_Edge tigl::CCPACSGuideCurve::GetCurve | ( | ) | const |
TIGL_EXPORT std::vector<gp_Pnt> tigl::CCPACSGuideCurve::GetCurvePoints | ( | ) | const |
TIGL_EXPORT FromOrToDefinition tigl::CCPACSGuideCurve::GetFromDefinition | ( | ) | const |
TIGL_EXPORT double tigl::CCPACSGuideCurve::GetFromDefinitionValue | ( | ) | const |
TIGL_EXPORT CCPACSGuideCurve const* tigl::CCPACSGuideCurve::GetRootCurve | ( | ) | const |
TIGL_EXPORT FromOrToDefinition tigl::CCPACSGuideCurve::GetToDefinition | ( | ) | const |
TIGL_EXPORT double tigl::CCPACSGuideCurve::GetToDefinitionValue | ( | ) | const |
|
overrideprivatevirtual |
Reimplemented from tigl::CTiglUIDObject.
|
private |
TIGL_EXPORT void tigl::CCPACSGuideCurve::SetGuideCurveBuilder | ( | IGuideCurveBuilder & | b | ) |
|
private |
Actual topological entity of the curve
|
private |