#include <SplineCurve.h>
Public Types | |
typedef Part< DataType, dim > | PartType |
typedef Curve< DataType, dim > | CurveType |
typedef Spline< DataType, dim > | SplineType |
typedef Connection | ConBase |
typedef Segment< DataType, dim > | SegType |
typedef Facet< DataType > | FacetType |
Public Member Functions | |
SplineCurve () | |
~SplineCurve () | |
virtual void | read (const int type, std::string file) |
virtual void | measure () |
virtual void | interpolate (int numip) |
virtual void | interpolate_linear (int numip) |
virtual void | updatePart (DataType dt, DataType time) |
virtual void | setDeformation (bool val) |
virtual bool | GetDeformation () const |
virtual void | deformPart (DataType dt, DataType time) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
virtual std::vector< PType > & | GetNodes () |
2D/3D re-interpolatable Spline curves.
typedef Connection SplineCurve< DataType, dim >::ConBase |
Reimplemented from Curve< DataType, dim >.
typedef Curve<DataType,dim> SplineCurve< DataType, dim >::CurveType |
typedef Facet<DataType> SplineCurve< DataType, dim >::FacetType |
Reimplemented from Curve< DataType, dim >.
typedef Part<DataType,dim> SplineCurve< DataType, dim >::PartType |
Reimplemented from Curve< DataType, dim >.
typedef Segment<DataType,dim> SplineCurve< DataType, dim >::SegType |
Reimplemented from Curve< DataType, dim >.
typedef Spline<DataType,dim> SplineCurve< DataType, dim >::SplineType |
SplineCurve< DataType, dim >::SplineCurve | ( | ) | [inline] |
SplineCurve< DataType, dim >::~SplineCurve | ( | ) | [inline] |
virtual void SplineCurve< DataType, dim >::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References Spline< DataType, dim >::Checkpointing(), and Curve< DataType, dim >::Checkpointing().
virtual void SplineCurve< DataType, dim >::deformPart | ( | DataType | dt, | |
DataType | time | |||
) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
virtual bool SplineCurve< DataType, dim >::GetDeformation | ( | ) | const [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References PartBase< DataType, dim >::deformable.
virtual std::vector<PType>& SplineCurve< DataType, dim >::GetNodes | ( | ) | [inline, virtual] |
References Spline< DataType, dim >::nodes.
Referenced by Loft< DataType >::read().
virtual void SplineCurve< DataType, dim >::interpolate | ( | int | numip | ) | [inline, virtual] |
References Curve< DataType, dim >::AddPoint(), Curve< DataType, dim >::connectivity, Curve< DataType, dim >::cPoints, Curve< DataType, dim >::cPoints_org, Spline< DataType, dim >::delta_s, Spline< DataType, dim >::delta_t, Spline< DataType, dim >::GetInterpolatedSplineNode_dist(), Curve< DataType, dim >::GetNthPoint(), Spline< DataType, dim >::GetNthSplineNode(), Curve< DataType, dim >::GetNumPoints(), Segment< DataType, dim >::length, Spline< DataType, dim >::length, Curve< DataType, dim >::makeConnections(), Spline< DataType, dim >::nodes, and Spline< DataType, dim >::slength.
Referenced by Loft< DataType >::GenLoft(), and Loft< DataType >::read().
virtual void SplineCurve< DataType, dim >::interpolate_linear | ( | int | numip | ) | [inline, virtual] |
References Curve< DataType, dim >::AddPoint(), Curve< DataType, dim >::connectivity, Curve< DataType, dim >::cPoints, Curve< DataType, dim >::cPoints_org, Spline< DataType, dim >::delta_s, Spline< DataType, dim >::delta_t, Spline< DataType, dim >::GetInterpolatedSplineNode_distLinear(), Curve< DataType, dim >::GetNthPoint(), Spline< DataType, dim >::GetNthSplineNode(), Curve< DataType, dim >::GetNumPoints(), Segment< DataType, dim >::length, Spline< DataType, dim >::length, Curve< DataType, dim >::makeConnections(), Spline< DataType, dim >::nodes, and Spline< DataType, dim >::slength.
Referenced by Loft< DataType >::GenLoft(), and Loft< DataType >::read().
virtual void SplineCurve< DataType, dim >::measure | ( | ) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References Curve< DataType, dim >::measure().
Referenced by Loft< DataType >::read().
virtual void SplineCurve< DataType, dim >::read | ( | const int | type, | |
std::string | file | |||
) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References Curve< DataType, dim >::AddPoint(), Spline< DataType, dim >::AddSplineNode(), PartBase< DataType, dim >::Brep2D, PartBase< DataType, dim >::Brep3D, Curve< DataType, dim >::GetNthPoint(), Curve< DataType, dim >::GetNumPoints(), norm_2(), PartBase< DataType, dim >::pointList, Curve< DataType, dim >::setClosure(), Curve< DataType, dim >::setName(), PartBase< DataType, dim >::STL, TOL, and PartBase< DataType, dim >::VTK_curve.
Referenced by Loft< DataType >::read().
virtual void SplineCurve< DataType, dim >::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References Spline< DataType, dim >::Restart(), and Curve< DataType, dim >::Restart().
virtual void SplineCurve< DataType, dim >::setDeformation | ( | bool | val | ) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.
References PartBase< DataType, dim >::deformable.
virtual void SplineCurve< DataType, dim >::updatePart | ( | DataType | dt, | |
DataType | time | |||
) | [inline, virtual] |
Reimplemented from Curve< DataType, dim >.