Fovia's C++ Client/Server API
Public Member Functions | List of all members
ISlabAdaptor Struct Referenceabstract
Inheritance diagram for ISlabAdaptor:
IMouseAdaptor IRoot

Public Member Functions

virtual signed int GetSensitivity (double *pVal)=0
 
virtual signed int GetUpIsForward (signed int *pVal)=0
 
virtual signed int SetSensitivity (const double val)=0
 
virtual signed int SetUpIsForward (const signed int val)=0
 
- Public Member Functions inherited from IMouseAdaptor
virtual signed int AskInterface (const BGUID *piid, IRoot **ppr)=0
 
virtual signed int DecRef ()=0
 
virtual signed int IncRef ()=0
 
virtual signed int MouseClicked (signed int x, signed int y)=0
 
virtual signed int MouseDragged (signed int x, signed int y)=0
 
virtual signed int MouseEntered (signed int x, signed int y)=0
 
virtual signed int MouseExited (signed int x, signed int y)=0
 
virtual signed int MouseManuallyMoved (signed int offsetX, signed int offsetY)=0
 
virtual signed int MouseMoved (signed int x, signed int y)=0
 
virtual signed int MousePressed (signed int x, signed int y)=0
 
virtual signed int MouseReleased (signed int x, signed int y)=0
 
virtual signed int SetRenderParamsReciever (IRenderParamsReceiver *pReceiver)=0
 
- Public Member Functions inherited from IRoot
template<class T >
signed int AskInterface (T **pp)
 

Detailed Description

Adaptor for moving the front clipping plane via mouse interaction. Use ILibrary::CreateObject() to create this object.

Listens to: MousePressed(), MouseDragged(), MouseReleased()

Member Function Documentation

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
pValThe 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
pValThe 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
valThe 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
valThe new UpIsForward value.