The methods in this class are grouped below.
(Links go to the Spline3D Class
Reference page.)
- Constructors / Destructor
- Spline3D::Spline3D(int itype = KTYPE_CORNER,int
dtype = KTYPE_BEZIER, int ptype = PARM_UNIFORM)
Spline3D::~Spline3D()
- NewSpline() / InvalidateGeomCache()
- Spline3D::NewSpline()
Spline3D::InvalidateGeomCache()
- KnotCount(), Flags(), Segments(), Closed()
- Spline3D::KnotCount()
Spline3D::Flags()
Spline3D::Segments()
Spline3D::Closed()
- AddKnot(), DeleteKnot(), GetKnot, SetKnot()
- Spline3D::AddKnot(SplineKnot &k,int
where = -1)
Spline3D::DeleteKnot(int
where)
Spline3D::SetKnot(int i, SplineKnot &k)
Spline3D::GetKnot(int i)
- Create() / StartInsert()
- Spline3D::Create(ViewExp *vpt,int msg, int point, int
flags, IPoint2 m,
Matrix3* mat, IObjParam *ip=NULL)
Spline3D::StartInsert(ViewExp
*vpt,int msg, int point, int flags, IPoint2 theP, Matrix3* mat, int
where)
- Get/SetKnotType() / Get/SetLineType()
- Spline3D::GetKnotType(int
index)
Spline3D::SetKnotType(int
index,int type)
Spline3D::GetLineType(int index)
Spline3D::SetLineType(int
index,int type)
- ComputeBezPoints()
-
Spline3D::ComputeBezPoints()
- InterpBezier() / InterpBezier3D() / TangentBezier3D() /
TangentCurve3D()
- Spline3D::InterpBezier(IPoint2
*bez, float t)
Spline3D::InterpBezier3D(int
segment, float t, int ptype=SPLINE_INTERP_SIMPLE)
Spline3D::InterpCurve3D(float
u, int ptype=SPLINE_INTERP_SIMPLE)
Spline3D::TangentBezier3D(int segment, float t, int
ptype=SPLINE_INTERP_SIMPLE)
Spline3D::TangentCurve3D(float
u, int ptype=SPLINE_INTERP_SIMPLE)
- IsAuto() / IsBezierPt() / IsCorner()
- Spline3D::IsAuto(int
i)
Spline3D::IsBezierPt(int
i)
Spline3D::IsCorner(int i)
- GetBBox() / Transform()
-
Spline3D::GetBBox(TimeValue t, Matrix3& tm, Box3&
box)
Spline3D::Transform(Matrix3 *tm)
- SetClosed / SetOpen()
- Spline3D::SetClosed(int flag =
1)
Spline3D::SetOpen()
- Get/SetInVec() / Get/SetKnotPoint() Get/SetOutVec()
- Spline3D::GetInVec(int
i)
Spline3D::SetInVec(int
i, const Point3 &p)
Spline3D::GetRelInVec(int i)
Spline3D::SetRelInVec(int i, const Point3 &p)
Spline3D::GetKnotPoint(int
i)
Spline3D::SetKnotPoint(int
i, const Point3 &p)
Spline3D::GetOutVec(int
i)
Spline3D::SetOutVec(int
i, const Point3 &p)
Spline3D::GetRelOutVec(int i)
Spline3D::SetRelOutVec(int
i, const Point3 &p)
- Get/SetVert() / Verts() / KnotPoint()
- Spline3D::GetVert(int
i)
Spline3D::SetVert(int
i, const Point3& p)
Spline3D::Verts()
Spline3D::GetAux(int
knot)
Spline3D::SetAux(int knot, int value)
Spline3D::GetAux2(int knot)
Spline3D::SetAux2(int knot, int value)
Spline3D::GetAux3(int knot)
Spline3D::SetAux3(int knot, int value)
Spline3D::GetKnotAux(int knot, int which)
Spline3D::SetKnotAux(int knot, int which, int value)
Spline3D::GetInAux(int knot, int which)
Spline3D::SetInAux(int knot, int which, int value)
Spline3D::GetOutAux(int knot, int which)
Spline3D::SetOutAux(int knot, int which, int value)
Spline3D::GetVertAux(int i, int which)
Spline3D::SetVertAux(int i, int which, int value)
Spline3D::GetMatID(int
seg)
Spline3D::SetMatID(int
seg, MtlID id)
Spline3D::GetSmoothingMap(IntTab &map)
- Reverse() / Append() / Prepend()
- Spline3D::Reverse(BOOL
keepZero = FALSE, BOOL weldCoincidentFirstVertex=TRUE)
Spline3D::Append(Spline3D *spline, BOOL
weldCoincidentFirstVertex=TRUE)
Spline3D::Prepend(Spline3D *spline, BOOL
weldCoincidentLastVertex=TRUE)
- IsClockWise() / SelfIntersects() / IntersectsSpline() /
SurroundsPoint() / SplineLength()
- Spline3D::IsClockWise()
Spline3D::SelfIntersects()
Spline3D::IntersectsSpline(Spline3D *spline)
Spline3D::SurroundsPoint(Point2 p)
Spline3D::SplineLength()
Spline3D::SegmentLength(int
seg)
- MakePolyLine()
-
Spline3D::MakePolyLine(PolyLine
&line, int steps = -1, BOOL optimize = FALSE)
- Dump()
- Spline3D::Dump(int
where)
- Internal Methods / Methods that should not be used by
plug-in developers
- Spline3D::ShiftKnot(int
where, int direction)
Spline3D::AverageTangent(int
i)
Spline3D::MakeBezCont(int
i)
Spline3D::RedistTangents(int
i, Point3 d)
Spline3D::FixAdjBezTangents(int
i)
Spline3D::DrawCurve(GraphicsWindow
*gw, Material *mtl)
Spline3D::SetEditMode(int
mode)
Spline3D::ProjectPoint(ViewExp
*vpt, Point3 fp, Matrix3 *mat)
Spline3D::UnProjectPoint(ViewExp
*vpt, IPoint2 p, Matrix3 *mat)
Spline3D::Snap(GraphicsWindow
*gw, SnapInfo *snap, IPoint2 *p, Matrix3 &tm)
Spline3D::Save(ISave
*isave)
Spline3D::Load(ILoad
*iload)
Spline3D::GetDragVector(ViewExp
*vpt,IPoint2 p,int i,Matrix3* mat)
Spline3D::AppendPoint(ViewExp *vpt,const Point3& p, int where = -1)
Spline3D::DrawPhase()
Spline3D::GetiCur()
Spline3D::ParmType()
Spline3D::SetParam(int
index,float param)
Spline3D::GetParam(int
index)
Spline3D::CustomParams()
Spline3D::CompParams()
- Operators
- Spline3D::operator=(Spline3D&
fromSpline)
Spline3D::operator=(PolyLine&
fromLine)