3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CCPACSCurvePointListXYZ Class Reference

#include <CCPACSCurvePointListXYZ.h>

Inheritance diagram for tigl::CCPACSCurvePointListXYZ:

Data Structures

struct  CachedObjects

Public Member Functions

TIGL_EXPORT const std::vector< CTiglPoint > & AsVector () const
TIGL_EXPORT CCPACSCurvePointListXYZ (CCPACSProfileGeometry *parent)
TIGL_EXPORT const std::vector< unsigned int > & GetKinksAsVector () const
 Returns the parameters of the kinks. If no kinks are defined this list is empty.
TIGL_EXPORT const ParamMapGetParamsAsMap () const
 Returns the map point-index vs parameter.
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override
TIGL_EXPORT void SetAsVector (const std::vector< CTiglPoint > &points)
TIGL_EXPORT void SetValue (int index, const CTiglPoint &point)
Public Member Functions inherited from tigl::generated::CPACSCurvePointListXYZ
TIGL_EXPORT CPACSCurvePointListXYZ (CPACSProfileGeometry *parent)
virtual TIGL_EXPORT boost::optional< CPACSApproximationSettings > & GetApproximationSettings ()
virtual TIGL_EXPORT const boost::optional< CPACSApproximationSettings > & GetApproximationSettings () const
virtual TIGL_EXPORT CPACSApproximationSettingsGetApproximationSettings (CreateIfNotExistsTag)
virtual TIGL_EXPORT boost::optional< CCPACSStringVector > & GetKinkIndices ()
virtual TIGL_EXPORT const boost::optional< CCPACSStringVector > & GetKinkIndices () const
virtual TIGL_EXPORT CCPACSStringVectorGetKinkIndices (CreateIfNotExistsTag)
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
virtual TIGL_EXPORT boost::optional< CCPACSCurveParamPointMap > & GetParameterMap ()
virtual TIGL_EXPORT const boost::optional< CCPACSCurveParamPointMap > & GetParameterMap () const
virtual TIGL_EXPORT CCPACSCurveParamPointMapGetParameterMap (CreateIfNotExistsTag)
TIGL_EXPORT CPACSProfileGeometryGetParent ()
TIGL_EXPORT const CPACSProfileGeometryGetParent () const
virtual TIGL_EXPORT CCPACSStringVectorGetX ()
virtual TIGL_EXPORT const CCPACSStringVectorGetX () const
virtual TIGL_EXPORT CCPACSStringVectorGetY ()
virtual TIGL_EXPORT const CCPACSStringVectorGetY () const
virtual TIGL_EXPORT CCPACSStringVectorGetZ ()
virtual TIGL_EXPORT const CCPACSStringVectorGetZ () const
virtual TIGL_EXPORT void RemoveApproximationSettings ()
virtual TIGL_EXPORT void RemoveKinkIndices ()
virtual TIGL_EXPORT void RemoveParameterMap ()
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
virtual TIGL_EXPORT ~CPACSCurvePointListXYZ ()

Private Member Functions

void BuildCache (CachedObjects &cache) const

Private Attributes

Cache< CachedObjects, CCPACSCurvePointListXYZm_cache
std::vector< CTiglPointm_vec

Additional Inherited Members

Protected Attributes inherited from tigl::generated::CPACSCurvePointListXYZ
boost::optional< CPACSApproximationSettingsm_approximationSettings
 If this element is specified, the given point list is approximated instead of interpolated when creating a b-spline representation of the profile. This has the advantage of more control over the complexity of the resulting b-spline curves, but does not guarantee that the b-spline curve passes through all given points as for the interpolation approach introducing possible imprecisions in the geometrical representation of the profile.
boost::optional< CCPACSStringVectorm_kinkIndices
 Indices of points at which the curve has a kink. Each index is in the range [1, npoints].
boost::optional< CCPACSCurveParamPointMapm_parameterMap
 Map between point index and curve parameter.
CPACSProfileGeometrym_parent
CCPACSStringVector m_x
 Vector of x coordinates.
CCPACSStringVector m_y
 Vector of y coordinates.
CCPACSStringVector m_z
 Vector of z coordinates.

Constructor & Destructor Documentation

◆ CCPACSCurvePointListXYZ()

TIGL_EXPORT tigl::CCPACSCurvePointListXYZ::CCPACSCurvePointListXYZ ( CCPACSProfileGeometry * parent)

Member Function Documentation

◆ AsVector()

TIGL_EXPORT const std::vector< CTiglPoint > & tigl::CCPACSCurvePointListXYZ::AsVector ( ) const

◆ BuildCache()

void tigl::CCPACSCurvePointListXYZ::BuildCache ( CachedObjects & cache) const
private

◆ GetKinksAsVector()

TIGL_EXPORT const std::vector< unsigned int > & tigl::CCPACSCurvePointListXYZ::GetKinksAsVector ( ) const

Returns the parameters of the kinks. If no kinks are defined this list is empty.

◆ GetParamsAsMap()

TIGL_EXPORT const ParamMap & tigl::CCPACSCurvePointListXYZ::GetParamsAsMap ( ) const

Returns the map point-index vs parameter.

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSCurvePointListXYZ::ReadCPACS ( const TixiDocumentHandle & tixiHandle,
const std::string & xpath )
overridevirtual

◆ SetAsVector()

TIGL_EXPORT void tigl::CCPACSCurvePointListXYZ::SetAsVector ( const std::vector< CTiglPoint > & points)

◆ SetValue()

TIGL_EXPORT void tigl::CCPACSCurvePointListXYZ::SetValue ( int index,
const CTiglPoint & point )

Field Documentation

◆ m_cache

Cache<CachedObjects, CCPACSCurvePointListXYZ> tigl::CCPACSCurvePointListXYZ::m_cache
private

◆ m_vec

std::vector<CTiglPoint> tigl::CCPACSCurvePointListXYZ::m_vec
private

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