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

Public Member Functions

virtual signed int GetAttachToCamera (signed int *pVal)=0
 
virtual signed int GetSensitivity (double *pVal)=0
 
virtual signed int SetAttachToCamera (const signed int val)=0
 
virtual signed int SetSensitivity (const double 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 adjusting the light direction via mouse interaction. Use ILibrary::CreateObject() to create this object.

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

Member Function Documentation

virtual signed int ILightAdjustAdaptor::GetAttachToCamera ( signed int *  pVal)
pure virtual

Gets the AttachToCamera field and puts it in the variable at address pVal. The default value is H_TRUE. H_TRUE means that rotating the camera orientation also rotates the light direction by the same amount and in the same direciton. H_FALSE means that the light direction does not change when the camera location is rotated.

Parameters
pValThe address of the variable to get the field's value.
virtual signed int ILightAdjustAdaptor::GetSensitivity ( double *  pVal)
pure virtual

Gets the Sensitivity field and puts it in the variable at address pVal. The default value is 50.

Parameters
pValThe address of the variable to get the field's value.
virtual signed int ILightAdjustAdaptor::SetAttachToCamera ( const signed int  val)
pure virtual

Sets the AttachToCamera field to val. The default value is H_TRUE. H_TRUE means that rotating the camera orientation also rotates the light direction by the same amount and in the same direciton. H_FALSE means that the light direction does not change when the camera location is rotated.

Parameters
valThe new AttachToCamera value.
virtual signed int ILightAdjustAdaptor::SetSensitivity ( const double  val)
pure virtual

Sets the Sensitivity field to val. The default value is 50.

Parameters
valThe new Sensitivity value.