Class GizmoShape
See Also: Class SimpleManipulator, Class ISimpleManipulator, Class FPMixinInterface, Class PolyLine, Class PolyShape
class GizmoShape : public FPMixinInterface
Description:
This class is available in release 4.0 and later only.
This class represents the main gizmo shape.
The Function Publishing interface to SimpleManipulators is defined as:
#define MANIP_GIZMO_INTERFACE Interface_ID(0x124e3169, 0xf067ad4)
Data Members:
private:
PolyShape mPolyShape;
The gizmo polyshape.
PolyLine mLine;
A poly line.
Methods:
public:
Prototype:
GizmoShape();
Remarks:
Constructor.
Default Implementation:
{ mLine.Init(); }
Prototype:
void StartNewLine();
Remarks:
This method instructs the gizmo shape to start (append) a new line segment.
Prototype:
AppendPoint(Point3& p);
Remarks:
This method instructs the gizmo shape to append a new point to the line segment.
Parameters:
Point3& p
The vertex point to add.
Prototype:
PolyShape* GetPolyShape();
Remarks:
This method returns a pointer to the gizmo’s poly shape.
Prototype:
Transform(Matrix3& tm);
Remarks:
This method allows you to transform the gizmo shape.
Parameters:
Matrix3& tm
The transformation matrix.