Detailed Description
- See also:
- Class OsnapHit,
Class INode, Class
ViewExp, Class
Matrix3, The Advanced
Topics section on Snapping.
- Description:
- This class is available in release 2.0 and later only.
This class provides an interface to the OsnapManager. Developers
who implement osnaps need to record hits with the osnap manager.
Developers implementing command modes are responsible for getting
the snap preview done and may be responsible for initializing and
closing point sequences. See the Advanced Topics section on
Snapping for more details.
#include <omanapi.h>
List of all
members.
Member Function Documentation
virtual BOOL getactive |
( |
|
) |
const [pure virtual] |
virtual BOOL getAxisConstraint |
( |
|
) |
[pure virtual] |
virtual void RecordHit |
( |
OsnapHit * |
somehit |
) |
[pure virtual] |
- Parameters:
- OsnapHit* somehit
A pointer to the hit to record. The Osnap plugin should instantiate the hits and
the manager is responsible for freeing them.
virtual BOOL OKForRelativeSnap |
( |
|
) |
[pure virtual] |
virtual BOOL RefPointWasSnapped |
( |
|
) |
[pure virtual] |
virtual Point3 GetRefPoint |
( |
BOOL |
top = TRUE |
) |
[pure virtual] |
- Parameters:
- BOOL top = TRUE
The default is to return the top of the stack, i.e. the last point
which was input to the command mode. If you pass FALSE, the bottom
of the stack will be returned.
virtual BOOL IsHolding |
( |
|
) |
[pure virtual] |
virtual OsnapHit& GetHit |
( |
|
) |
[pure virtual] |
virtual ViewExp* GetVpt |
( |
|
) |
[pure virtual] |
virtual INode* GetNode |
( |
|
) |
[pure virtual] |
virtual int GetSnapStrength |
( |
|
) |
[pure virtual] |
virtual Matrix3 GetObjectTM |
( |
|
) |
[pure virtual] |
virtual TimeValue GetTime |
( |
|
) |
[pure virtual] |
virtual void wTranspoint |
( |
Point3 * |
inpt, |
|
|
IPoint3 * |
outpt |
|
) |
|
[pure virtual] |
- Parameters:
- Point3
*inpt
A pointer to the object space point.
IPoint3
*outpt
A pointer to storage for the screen space point.
virtual void Reset |
( |
|
) |
[pure virtual] |
virtual BOOL TestAFlag |
( |
int |
mask |
) |
[pure virtual] |
virtual Point3 GetCurrentPoint |
( |
|
) |
[pure virtual] |
IOsnapManager IOsnapManager
IOsnapManager IOsnapManager IOsnapManager IOsnapManager
IOsnapManager IOsnapManager IOsnapManager IOsnapManager
IOsnapManager IOsnapManager
IOsnapManager IOsnapManager IOsnapManager IOsnapManager
IOsnapManager IOsnapManager IOsnapManager IOsnapManager