RtMovementSnapperInfo Struct Reference

List of all members.

Public Attributes

RtUlong dwDimension
RtVector3f vtAxes [3]
RtFloat fSteps [3]
RtUlong dwPrevDimension
RtVector3f vtPrevAxes [3]
RtPoint ptInitialPosition
RtPoint ptActualPosition
RtMatrixf mCoordSys
RtMatrixf mCoordSysInv
RtPositionSnapMode mSelectionMode
RtUlong dwSkipElements


Detailed Description

Structure that holds snapping information that user needs to fill when calling snapper manager.

Member Data Documentation

Defines dimension of movement space. When calling snapping manager, set to 3 and initialize vtAxes with orthonormal basis to allow full 3D movement in all directions.

Defines orthonormal basis of movement space.

Defines steps for each axis.

Defines input dimension of previous snapping phase. In constraint calculation, it defines input movement constraint space, in position snapping phase it defines space before applying soft constraints.

This field is handled by snapping management and should not be changed.

Defines input basis of previous snapping phase. In constraint calculation, it defines input movement constraint space, in position snapping phase it defines space before applying soft constraints.

This field is handled by snapping management and should not be changed.

Defines initial position of movement (eg. position of widget when user starts dragging). This can be used to calculate exact position when constraining movement to reduce numerical errors).

Current non-snapped position for snapping.

Selected coordinate system. This can be used for tools that depend on selected coordinate system.

Inverse coordinate system, provided for tool convenience.

Enable to allow using selections to perform snapping on selected elements level

Element types caller wish to be ignored for snapping.


Generated on Wed May 20 21:32:29 2009 for trueSpace7.6 SDK by  doxygen 1.5.5