Public Types | Public Member Functions

IManipulatorMgr Class Reference

Search for all occurrences

Detailed Description

See also:
Class FPStaticInterface

Description:
This class is available in release 4.0 and later only.

This is the abstract interface class for Manipulator Manager Objects

The Interface ID of this class is MANIP_MGR_INTERFACE.

#include <manipulator.h>

Inheritance diagram for IManipulatorMgr:
Inheritance graph
[legend]

List of all members.

Public Types

enum   {
  makeSphere, makeTorus, makeBox, makePlane,
  makePlaneFromPts, makePlaneFromNormal, getmsXYPlane, getmsXZPlane,
  getmsYZPlane, makeGizmoShape, makeCircle
}

Public Member Functions

virtual Mesh MakeSphere (Point3 &pos, float radius, int segments)=0
virtual Mesh MakeTorus (Point3 &pos, float radius, float radius2, int segs, int sides)=0
virtual Mesh MakeBox (Point3 &pos, float l, float w, float h, int lsegs, int wsegs, int hsegs)=0
virtual Plane MakePlane ()=0
virtual Plane MakePlane (Point3 &p1, Point3 &p2, Point3 &p3)=0
virtual Plane MakePlane (Point3 &normal, Point3 &point)=0
virtual Plane GetmsXYPlane ()=0
virtual Plane GetmsXZPlane ()=0
virtual Plane GetmsYZPlane ()=0
virtual GizmoShape MakeGizmoShape ()=0
virtual GizmoShape MakeCircle (Point3 &center, float radius, int segments)=0

Member Enumeration Documentation

anonymous enum

Member Function Documentation

virtual Mesh* MakeSphere ( Point3 pos,
float  radius,
int  segments 
) [pure virtual]
Remarks:
This method allows you to create a spherical mesh gizmo.
Parameters:
Point3& pos

The position of the sphere.

float radius

The radius of the sphere

int segments

The number of segments in the sphere.
Returns:
A pointer to the resulting mesh.
virtual Mesh* MakeTorus ( Point3 pos,
float  radius,
float  radius2,
int  segs,
int  sides 
) [pure virtual]
Remarks:
This method allows you to create a torus mesh gizmo.
Parameters:
Point3& pos

The position of the torus.

float radius

The radius of the torus.

float radius2

The second radius of the torus.

int segs

The number of segments in the torus.

int sides

The number of sides of the torus.
Returns:
A pointer to the resulting mesh.
virtual Mesh* MakeBox ( Point3 pos,
float  l,
float  w,
float  h,
int  lsegs,
int  wsegs,
int  hsegs 
) [pure virtual]
Remarks:
This method allows you to create a box mesh gizmo.
Parameters:
Point3& pos

The position of the box.

float l

The length of the box.

float w

The width of the box.

float h

The height of the box.

int lsegs

The length segments of the box.

int wsegs

The width segments of the box.

int hsegs

The height segments of the box.
Returns:
A pointer to the resulting mesh.
virtual Plane* MakePlane ( ) [pure virtual]
Remarks:
This method creates a default plane gizmo.
virtual Plane* MakePlane ( Point3 p1,
Point3 p2,
Point3 p3 
) [pure virtual]
Remarks:
This method creates a plane gizmo.
Parameters:
Point3& p1

The first point of the plane.

Point3& p2

The second point of the plane.

Point3& p3

The third point of the plane.
virtual Plane* MakePlane ( Point3 normal,
Point3 point 
) [pure virtual]
Remarks:
This method creates a plane gizmo.
Parameters:
Point3& normal

The normal of the plane

Point3& point

The center point in space of the plane.
virtual Plane* GetmsXYPlane ( ) [pure virtual]
Remarks:
This method returns the XY plane.
virtual Plane* GetmsXZPlane ( ) [pure virtual]
Remarks:
This method returns the XZ plane.
virtual Plane* GetmsYZPlane ( ) [pure virtual]
Remarks:
This method returns the YZ plane.
virtual GizmoShape* MakeGizmoShape ( ) [pure virtual]
Remarks:
This method will create a default gizmo shape.
virtual GizmoShape* MakeCircle ( Point3 center,
float  radius,
int  segments 
) [pure virtual]
Remarks:
This method will make a circular gizmo shape.
Parameters:
Point3& center

The center of the circle.

float radius

The radius of the circle.

int segments

The number of segments of the circle.
Returns:
A pointer to the resulting gizmo shape.

IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr
IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr IManipulatorMgr