Class hierarchy Compound list Header files Member list
dimeSpline Class Reference
The dimeSpline class handles a SPLINE entity. More...
#include <Spline.h>
Inherits dimeEntity.
List of all members.
Public Members
- enum Flags { CLOSED ,
PERIODIC ,
RATIONAL ,
PLANAR ,
LINEAR
}
- dimeSpline ()
- virtual ~dimeSpline ()
- bool hasWeights () const
- int16 getFlags () const
- void setFlags (const int16 flags)
- int16 getDegree () const
- void setDegree (const int16 degree)
- dxfdouble getControlPointTolerance () const
- void setControlPointTolerance (const dxfdouble tol)
- dxfdouble getFitPointTolerance () const
- void setFitPointTolerance (const dxfdouble tol)
- dxfdouble getKnotTolerance () const
- void setKnotTolerance (const dxfdouble tol)
- int getNumKnots () const
- dxfdouble getKnotValue (const int idx) const
- void setKnotValue (const int idx, const dxfdouble value)
- void setKnotValues (const dxfdouble * const values, const int numvalues, dimeMemHandler * const memhandler = NULL)
- int getNumControlPoints () const
- const dimeVec3f& getControlPoint (const int idx) const
- void setControlPoint (const int idx, const dimeVec3f &v)
- void setControlPoints (const dimeVec3f * const pts, const int numpts, dimeMemHandler * const memhandler = NULL)
- int getNumWeights () const
- dxfdouble getWeight (const int idx) const
- void setWeight (const int idx, const dxfdouble w, dimeMemHandler * const memhandler = NULL)
- int getNumFitPoints () const
- const dimeVec3f& getFitPoint (const int idx) const
- void setFitPoint (const int idx, const dimeVec3f &pt)
- void setFitPoints (const dimeVec3f * const pts, const int numpts, dimeMemHandler * const memhandler = NULL)
- virtual dimeEntity* copy (dimeModel * const model) const
- virtual bool getRecord (const int groupcode, dimeParam ¶m, const int index) const
- virtual const char* getEntityName () const
- virtual void print () const
- virtual bool write (dimeOutput * const out)
- virtual int typeId () const
- virtual int countRecords () const
Protected Members
- virtual bool handleRecord (const int groupcode, const dimeParam ¶m, dimeMemHandler * const memhandler)
Detailed Description
The dimeSpline class handles a SPLINE entity.
Member Function Documentation
dimeSpline::dimeSpline()
Constructor.
dimeSpline::~dimeSpline() [virtual]
Destructor.
bool dimeSpline::hasWeights() const
Returns true if the spline has control point weights.
void dimeSpline::setControlPoints(const dimeVec3f * const pts, const int numpts, dimeMemHandler * const memhandler)
Sets new control points for this spline. It is the user's
responsibility to update the weights whenever the control
point are changed.
void dimeSpline::setWeight(const int idx, const dxfdouble w, dimeMemHandler * const memhandler)
Sets the weight of control point idx.
dimeEntity* dimeSpline::copy(dimeModel * const model) const [virtual]
Reimplemented from dimeEntity.
bool dimeSpline::getRecord(const int groupcode, dimeParam ¶m, const int index) const [virtual]
Reimplemented from dimeRecordHolder.
const char* dimeSpline::getEntityName() const [virtual]
Reimplemented from dimeEntity.
void dimeSpline::print() const [virtual]
Reimplemented from dimeEntity.
bool dimeSpline::write(dimeOutput * const file) [virtual]
Reimplemented from dimeRecordHolder.
int dimeSpline::typeId() const [virtual]
Reimplemented from dimeBase.
int dimeSpline::countRecords() const [virtual]
Reimplemented from dimeRecordHolder.
bool dimeSpline::handleRecord(const int groupcode, const dimeParam ¶m, dimeMemHandler * const mh) [protected, virtual]
Reimplemented from dimeRecordHolder.
The documentation for this class was generated from the following files: