Class_ID id = ref->ClassID(); if (id==FFDNMOSSQUARE_CLASS_ID || id==FFDNMOSCYL_CLASS_ID || id==FFD44_CLASS_ID || id==FFD33_CLASS_ID || id==FFD22_CLASS_ID) IFFDMod<Modifier>* ffd = (IFFDMod<Modifier>*)ref; // call various methods } else if(id==FFDNMWSSQUARE_CLASS_ID || id = FFDNMWSCYL_CLASS_ID) IFFDMod<WSMObject>* ffd = (IFFDMod<WSMObject>*)ref; // call various methods }
#include <istdplug.h>
Public Member Functions |
|
virtual int | NumPts ()=0 |
virtual int | NumPtConts ()=0 |
virtual Control * | GetPtCont (int i)=0 |
virtual void | SetPtCont (int i, Control *c)=0 |
virtual Point3 | GetPt (int i)=0 |
virtual void | SetPt (int i, Point3 p)=0 |
virtual void | SetGridDim (IPoint3 d) |
virtual IPoint3 | GetGridDim () |
virtual void | AnimateAll () |
virtual void | Conform () |
virtual void | SelectPt (int i, BOOL sel, BOOL clearAll=FALSE) |
virtual void | PlugControllers (TimeValue t, BOOL all)=0 |
virtual int NumPts | ( | ) | [pure virtual] |
virtual int NumPtConts | ( | ) | [pure virtual] |
virtual Control* GetPtCont | ( | int | i | ) | [pure virtual] |
virtual void SetPtCont | ( | int | i, |
Control * | c | ||
) | [pure virtual] |
virtual Point3 GetPt | ( | int | i | ) | [pure virtual] |
virtual void SetPt | ( | int | i, |
Point3 | p | ||
) | [pure virtual] |
virtual void SetGridDim | ( | IPoint3 | d | ) | [inline, virtual] |
{ } // set the lattice dimensions
virtual IPoint3 GetGridDim | ( | ) | [inline, virtual] |
{ return IPoint3(0,0,0); } // get the lattice dimensions
virtual void AnimateAll | ( | ) | [inline, virtual] |
{ } // assign controllers to all CP's
virtual void Conform | ( | ) | [inline, virtual] |
{ } // not valid for WSMObject's
virtual void SelectPt | ( | int | i, |
BOOL | sel, | ||
BOOL | clearAll =
FALSE |
||
) | [inline, virtual] |
{ }
virtual void PlugControllers | ( | TimeValue | t, |
BOOL | all | ||
) | [pure virtual] |