Public Member Functions

SubObjAxisCallback Class Reference

This reference page is linked to from the following overview topics: Sub-Object Coordinate Systems.


Search for all occurrences

Detailed Description

See also:
Class BaseObject, Class Control

Description:
The callback is used by the two methods GetSubObjectCenters() and GetSubObjectTMs() found in the classes BaseObject and Control.

#include <SubObjAxisCallback.h>

Inheritance diagram for SubObjAxisCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~SubObjAxisCallback ()
virtual void  Center (Point3 c, int id)=0
virtual void  TM (Matrix3 tm, int id)=0
virtual int  Type ()=0

Constructor & Destructor Documentation

virtual ~SubObjAxisCallback ( ) [inline, virtual]
Remarks:
Destructor.
{}

Member Function Documentation

virtual void Center ( Point3  c,
int  id 
) [pure virtual]
Remarks:
Implemented by the System.

This method is called to specify the individual coordinate system center for the axes whose id is passed.
Parameters:
c The center point.
id The id of the axis.
virtual void TM ( Matrix3  tm,
int  id 
) [pure virtual]
Remarks:
Implemented by the System.

This method is called to specify the individual coordinate system transformation for the axes whose id is passed.
Parameters:
tm The transformation matrix.
id The id of the axis.
virtual int Type ( ) [pure virtual]
Remarks:
Implemented by the System.

The user has three options for center of the coordinate system, center of the selection set, or pivot. For center of the coordinate system the system does not need to call GetSubObjCenters(). The plug-in may call this method to determine which center option it is returning the Centers and TMs for.
Returns:
One of the following values:

SO_CENTER_SELECTION

SO_CENTER_PIVOT

SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback
SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback SubObjAxisCallback