Adaptor for moving the front clipping plane via mouse interaction. Use ILibrary::CreateObject() to create this object.
Listens to: MousePressed(), MouseDragged(), MouseReleased()
virtual signed int ISlabAdaptor::GetSensitivity |
( |
double * |
pVal | ) |
|
|
pure virtual |
Gets the Sensitivity field and puts it in the variable at address pVal. The default value is 1.0.
- Parameters
-
pVal | The address of the variable to get the field's value. |
virtual signed int ISlabAdaptor::GetUpIsForward |
( |
signed int * |
pVal | ) |
|
|
pure virtual |
Gets the UpIsForward field and puts it in the variable at address pVal. The default value is H_TRUE. If H_TRUE, dragging the mouse upward will move the front clipping plane forward and dragging down will move the clip plane backward. Otherwise, the opposite behavior is true.
- Parameters
-
pVal | The address of the variable to get the field's value. |
virtual signed int ISlabAdaptor::SetSensitivity |
( |
const double |
val | ) |
|
|
pure virtual |
Sets the Sensitivity field to val. The default value is 1.0.
- Parameters
-
val | The new Sensitivity value. |
virtual signed int ISlabAdaptor::SetUpIsForward |
( |
const signed int |
val | ) |
|
|
pure virtual |
Sets the UpIsForward field to val. The default value is H_TRUE. If H_TRUE, dragging the mouse upward will move the front clipping plane forward and dragging down will move the clip plane backward. Otherwise, the opposite behavior is true.
- Parameters
-
val | The new UpIsForward value. |