#include
<class_transform_handles_1_1_transform_handle.h>
Public Member Functions |
|
__init__ () | |
setRolloverMaterial () | |
Sets the rollover material. |
|
getRolloverMaterial () | |
Returns the rollover highlight material.
|
|
rolloverHighlight () | |
Applies the rollover highlight material to
this handle. |
|
isRollover () | |
Returns whether this handle is being rolled
over or not. |
|
setHighlightMaterial () | |
Sets the highlight material. |
|
getHighlightMaterial () | |
Returns the highlight material. |
|
highlight () | |
Applies the highlight material to this
handle. |
|
setUnhighlightMaterial () | |
Sets the unhighlight material. |
|
getUnhighlightMaterial () | |
Returns the unhighlight material. |
|
unhighlight () | |
Applies the unhighlight material to this
handle. |
|
isHighlighted () | |
Returns True if the handle is highlighted;
False otherwise. |
|
getConstraint () | |
Returns the constraint. |
|
getWorldSpaceXNormal () | |
getWorldSpaceYNormal () | |
getWorldSpaceZNormal () | |
setObjectToWorldMatrix () | |
getConstraintPlane () | |
Returns the constraint plane of this handle.
|
|
getConstraintAxis () | |
Returns the constraint axis of this handle.
|
|
setPivotPoint () | |
Set the pivot point. |
|
getPivotPoint () | |
Returns the pivot point. |
|
resetGeometry () | |
Resets the original matrices of this
handle's nodes. |
|
Public Attributes |
|
string | kXYPlane = "xy" |
string | kXZPlane = "xz" |
string | kYZPlane = "yz" |
string | kXAxis = 'x' |
string | kYAxis = 'y' |
string | kZAxis = 'z' |
kXAxis | |
kYAxis | |
kZAxis |
TransformHandles.TransformHandle.__init__ | ( | ) |
Reimplemented from Manipulator.Handle.
Reimplemented in MoveManipulator.MoveManipulatorPivotHandle, TransformHandles.RotateHandle, TransformHandles.ScaleHandle, and TransformHandles.TranslateHandle.
TransformHandles.TransformHandle.setRolloverMaterial | ( | ) |
Sets the rollover material.
This material will be applied when rolloverHighlight() is called.
TransformHandles.TransformHandle.getRolloverMaterial | ( | ) |
Returns the rollover highlight material.
TransformHandles.TransformHandle.rolloverHighlight | ( | ) |
Applies the rollover highlight material to this handle.
TransformHandles.TransformHandle.isRollover | ( | ) |
Returns whether this handle is being rolled over or not.
TransformHandles.TransformHandle.setHighlightMaterial | ( | ) |
Sets the highlight material.
This material will be applied when highlight() is called.
TransformHandles.TransformHandle.getHighlightMaterial | ( | ) |
Returns the highlight material.
TransformHandles.TransformHandle.highlight | ( | ) |
Applies the highlight material to this handle.
TransformHandles.TransformHandle.setUnhighlightMaterial | ( | ) |
Sets the unhighlight material.
This material will be applied when unhighlight() is called.
TransformHandles.TransformHandle.getUnhighlightMaterial | ( | ) |
Returns the unhighlight material.
TransformHandles.TransformHandle.unhighlight | ( | ) |
Applies the unhighlight material to this handle.
Also turns off the rollover highlight.
TransformHandles.TransformHandle.isHighlighted | ( | ) |
Returns True if the handle is highlighted; False otherwise.
TransformHandles.TransformHandle.getConstraint | ( | ) |
Returns the constraint.
TransformHandles.TransformHandle.getWorldSpaceXNormal | ( | ) |
Reimplemented in MoveManipulator.MoveManipulatorPivotHandle.
TransformHandles.TransformHandle.getWorldSpaceYNormal | ( | ) |
Reimplemented in MoveManipulator.MoveManipulatorPivotHandle.
TransformHandles.TransformHandle.getWorldSpaceZNormal | ( | ) |
Reimplemented in MoveManipulator.MoveManipulatorPivotHandle.
TransformHandles.TransformHandle.setObjectToWorldMatrix | ( | ) |
TransformHandles.TransformHandle.getConstraintPlane | ( | ) |
Returns the constraint plane of this handle.
The constraint plane is defined as the plane on which the movement of the manipulated targets is constrained.
Reimplemented in TransformHandles.RotateHandle, TransformHandles.ScaleHandle, and TransformHandles.TranslateHandle.
TransformHandles.TransformHandle.getConstraintAxis | ( | ) |
Returns the constraint axis of this handle.
TransformHandles.TransformHandle.setPivotPoint | ( | ) |
TransformHandles.TransformHandle.getPivotPoint | ( | ) |
Returns the pivot point.
TransformHandles.TransformHandle.resetGeometry | ( | ) |
Resets the original matrices of this handle's nodes.
string TransformHandles.TransformHandle.kXYPlane = "xy" |
Reimplemented in TransformHandles.TranslateHandle.
string TransformHandles.TransformHandle.kXZPlane = "xz" |
Reimplemented in TransformHandles.TranslateHandle.
string TransformHandles.TransformHandle.kYZPlane = "yz" |
Reimplemented in TransformHandles.TranslateHandle.
string TransformHandles.TransformHandle.kXAxis = 'x' |
string TransformHandles.TransformHandle.kYAxis = 'y' |
string TransformHandles.TransformHandle.kZAxis = 'z' |