Defines a basic bezier shape object.
The BezierShape is effectively a collection of Bezier Splines. For example the 3ds Max Donut object has two splines in a hierarchy to make a shape. The BezierShape contains these splines.
- See also
- Class ShapeObject, Class Spline3D, Class PatchCapInfo, Class ShapeVSel, Class ShapeSSel, Class ShapePSel, Class Material, Shapes and Splines.
|
CoreExport | BezierShape () |
|
CoreExport | BezierShape (BezierShape &fromShape) |
|
CoreExport void | Init () |
|
CoreExport | ~BezierShape () |
|
CoreExport void | RenderGizmo (GraphicsWindow *gw) |
|
CoreExport void | InvalidateGeomCache () |
|
CoreExport void | InvalidateCapCache () |
|
CoreExport BitArray | VertexFlagSel (int poly, DWORD flag) |
| Constructs a vertex selection list of the specified poly. More...
|
|
CoreExport void | GetDeformBBox (TimeValue t, Box3 &box, Matrix3 *tm, BOOL useSel) |
|
CoreExport void | GetClosures (BitArray &array) |
|
CoreExport void | SetClosures (BitArray &array) |
|
CoreExport void | Reverse (int poly, BOOL keepZero=FALSE) |
|
CoreExport void | Reverse (BitArray &reverse, BOOL keepZero=FALSE) |
|
CoreExport ShapeHierarchy & | OrganizeCurves (TimeValue t, ShapeHierarchy *hier=NULL) |
|
CoreExport void | MakePolyShape (PolyShape &pshp, int nSteps=-1, BOOL doOptimize=FALSE) |
|
CoreExport void | MakeFirst (int poly, int vertex) |
|
CoreExport void | Transform (Matrix3 &tm) |
|
CoreExport void | ReadyCachedPolyShape () |
|
CoreExport void | CopyShapeDataFrom (BezierShape &fromShape) |
|
CoreExport void | PrepVertBaseIndex () |
|
CoreExport int | GetVertIndex (int poly, int vert) |
|
CoreExport void | GetPolyAndVert (int index, int &polyOut, int &vertOut) |
|
CoreExport int | GetTotalVerts () |
|
CoreExport Point3 | GetVert (int index) |
|
CoreExport void | SetVert (int index, const Point3 &xyz) |
|
CoreExport BOOL | DeleteSelVerts (int poly) |
|
CoreExport BOOL | DeleteSelSegs (int poly) |
|
CoreExport BOOL | DeleteSelectedVerts () |
|
CoreExport BOOL | DeleteSelectedSegs () |
|
CoreExport BOOL | DeleteSelectedPolys () |
|
CoreExport BOOL | CloneSelectedParts (BOOL reverse=FALSE) |
|
CoreExport BOOL | RecordTopologyTags (int channel=0) |
|
CoreExport Point3 | InterpCurve3D (int poly, float param, int ptype=PARAM_SIMPLE) |
|
CoreExport Point3 | TangentCurve3D (int poly, float param, int ptype=PARAM_SIMPLE) |
|
CoreExport Point3 | InterpPiece3D (int poly, int piece, float param, int ptype=PARAM_SIMPLE) |
|
CoreExport Point3 | TangentPiece3D (int poly, int piece, float param, int ptype=PARAM_SIMPLE) |
|
CoreExport MtlID | GetMatID (int poly, int piece) |
|
CoreExport float | LengthOfCurve (int poly) |
|
CoreExport void | GetTopology (BezierShapeTopology &topo) |
|
CoreExport BOOL | PerformTrimOrExtend (IObjParam *ip, ViewExp *vpt, ShapeHitData *hit, IPoint2 &m, ShapeContextCallback &cb, int trimType, int trimInfinite) |
|
CoreExport BOOL | SelVertsSameType () |
|
CoreExport BOOL | SelSegsSameType () |
|
CoreExport BOOL | SelSplinesSameType () |
|
CoreExport BOOL | HideSelectedSegs () |
|
CoreExport BOOL | HideSelectedVerts () |
|
CoreExport BOOL | HideSelectedSplines () |
|
CoreExport BOOL | UnhideSegs () |
|
CoreExport int | UnselectHiddenVerts () |
|
CoreExport int | UnselectHiddenSegs () |
|
CoreExport int | UnselectHiddenSplines () |
|
CoreExport void | SetVertexWeightCount (int i) |
|
CoreExport void | SetVertexWeight (int i, float w) |
|
CoreExport float | VertexWeight (int i) |
|
CoreExport bool | VertexWeightSupport () |
|
CoreExport float * | GetVSelectionWeights () |
|
CoreExport void | SupportVSelectionWeights () |
|
CoreExport int | UseEdgeDists () |
|
CoreExport void | SetUseEdgeDists (int edgeDist) |
|
CoreExport int | EdgeDist () |
|
CoreExport void | SetEdgeDist (int edgeDist) |
|
CoreExport int | UseSoftSelections () |
|
CoreExport void | SetUseSoftSelections (int useSoftSelections) |
|
CoreExport int | AffectBackface () |
|
CoreExport void | SetAffectBackface (int affectBackface) |
|
CoreExport float | Falloff () |
|
CoreExport void | SetFalloff (float falloff) |
|
CoreExport float | Pinch () |
|
CoreExport void | SetPinch (float pinch) |
|
CoreExport float | Bubble () |
|
CoreExport void | SetBubble (float bubble) |
|
CoreExport void | InvalidateVertexWeights () |
|
CoreExport void | UpdateVertexDists () |
|
CoreExport void | UpdateEdgeDists () |
|
CoreExport void | UpdateVertexWeights () |
|
CoreExport bool | DeleteSplines (const unsigned int *indices, unsigned int n) |
| Delete multiple splines at once. More...
|
|
|
CoreExport BezierShape & | operator= (BezierShape &fromShape) |
|
CoreExport BezierShape & | operator= (PolyShape &fromShape) |
|
CoreExport BezierShape & | operator+= (BezierShape &from) |
|
|
CoreExport Point3 | GetVert (int poly, int i) |
|
CoreExport void | SetVert (int poly, int i, const Point3 &xyz) |
|
|
CoreExport void | Render (GraphicsWindow *gw, Material *ma, RECT *rp, int compFlags, int numMat) |
|
CoreExport BOOL | Select (GraphicsWindow *gw, Material *ma, HitRegion *hr, int abortOnHit=FALSE) |
|
CoreExport void | Snap (GraphicsWindow *gw, SnapInfo *snap, IPoint2 *p, Matrix3 &tm) |
|
CoreExport void | Snap (GraphicsWindow *gw, SnapInfo *snap, IPoint2 *p, Matrix3 &tm, DWORD flags) |
|
CoreExport BOOL | SubObjectHitTest (GraphicsWindow *gw, Material *ma, HitRegion *hr, DWORD flags, SubShapeHitList &hitList) |
|
CoreExport float | FindSegmentPoint (int poly, int segment, GraphicsWindow *gw, Material *ma, HitRegion *hr, int ptype=PARAM_SIMPLE) |
|
|
CoreExport void | BuildBoundingBox (void) |
|
CoreExport Box3 | GetBoundingBox (Matrix3 *tm=NULL) |
|
|
CoreExport void | ShallowCopy (BezierShape *ashape, ChannelMask channels) |
|
CoreExport void | DeepCopy (BezierShape *ashape, ChannelMask channels) |
|
CoreExport void | NewAndCopyChannels (ChannelMask channels) |
|
CoreExport void | FreeChannels (ChannelMask channels, int zeroOthers=1) |
|
|
CoreExport void | SetDispFlag (DWORD f) |
|
CoreExport DWORD | GetDispFlag (DWORD f) |
|
CoreExport void | ClearDispFlag (DWORD f) |
|
|
CoreExport BitArray | VertexTempSel (int poly, int level=-1) |
|
CoreExport BitArray | VertexTempSelAll (int poly=-1, BOOL includeVecs=FALSE, int level=0, BOOL forceSel=FALSE) |
|
CoreExport void | UpdateSels (BOOL save=FALSE) |
|
|
CoreExport IOResult | Save (ISave *isave) |
|
CoreExport IOResult | Load (ILoad *iload) |
|
|
int | SplineCount () |
|
CoreExport Spline3D * | GetSpline (int index) |
|
CoreExport Spline3D * | NewSpline (int itype=KTYPE_CORNER, int dtype=KTYPE_BEZIER, int ptype=PARM_UNIFORM) |
|
CoreExport Spline3D * | AddSpline (Spline3D *spline) |
|
CoreExport int | DeleteSpline (int index) |
|
CoreExport int | InsertSpline (Spline3D *spline, int index) |
|
CoreExport void | NewShape () |
|
CoreExport void | AddAndWeld (BezierShape &from, float weldThreshold) |
|
|
CoreExport int | GetNumVerts () |
|
CoreExport int | GetNumSegs () |
|
|
CoreExport int | MakeCap (TimeValue t, MeshCapInfo &capInfo, int capType) |
|
CoreExport int | MakeCap (TimeValue t, PatchCapInfo &capInfo) |
|
CoreExport int | ReadyPatchCap () |
|
|
CoreExport void | PrepKnotBaseIndex () |
|
CoreExport int | GetKnotIndex (int poly, int knot) |
|
CoreExport void | GetPolyAndKnot (int index, int &polyOut, int &knotOut) |
|
CoreExport int | GetTotalKnots () |
|
|
|
CoreExport void | BindKnot (BOOL isEnd, int segIndex, int splineSegID, int splinePointID) |
|
CoreExport BOOL | UnbindKnot (int splineID, BOOL isEnd) |
|
CoreExport void | UpdateBindList (BOOL useGeometricTracking=FALSE) |
|
virtual UtilExport BaseInterface * | GetInterface (Interface_ID id) |
|
virtual UtilExport int | NumInterfaces () const |
|
virtual UtilExport BaseInterface * | GetInterfaceAt (int i) const |
|
virtual UtilExport | ~BaseInterfaceServer () |
|
virtual UtilExport | ~InterfaceServer () |
| Destructor. More...
|
|
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator. More...
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator. More...
|
|
Tab< BaseInterface * > | interfaces |
|