HDK
|
#include <BRAY_Interface.h>
Public Member Functions | |
CameraPtr (const UT_SharedPtr< BRAY_Camera > &cp=UT_SharedPtr< BRAY_Camera >()) | |
~CameraPtr () | |
bool | isValid () const |
Test validity. More... | |
void | setTransform (ScenePtr &ptr, const SpacePtr &xforms) |
Set the transform on the camera. More... | |
void | setShader (const ScenePtr &scene, const UT_StringArray &args) |
Set the lens shader for the camera. More... | |
void | setShaderMaterial (const ScenePtr &scene, const MaterialPtr &mat) |
Set the lens shader material for the camera. More... | |
OptionSet | objectProperties () |
Get the current object properties for modification. More... | |
void | resizeCameraProperties (int nseg) |
UT_Array< OptionSet > | cameraProperties () |
Get the current camera properties for modification. More... | |
void | clearClippingPlanes () |
Clear the camera's user defined clipping planes. More... | |
void | addClippingPlane (const UT_Vector4D *plane, int nsegments) |
Add a user defined clipping plane. More... | |
void | commitOptions (ScenePtr &scene) |
After changing any options, must lock prior to rendering. More... | |
SYS_SAFE_BOOL | operator bool () const |
const BRAY_Camera * | cameraPtr () const |
BRAY_Camera * | cameraPtr () |
Protected Attributes | |
UT_SharedPtr< BRAY_Camera > | myCamera |
Definition at line 1050 of file BRAY_Interface.h.
|
inline |
Definition at line 1053 of file BRAY_Interface.h.
BRAY::CameraPtr::~CameraPtr | ( | ) |
void BRAY::CameraPtr::addClippingPlane | ( | const UT_Vector4D * | plane, |
int | nsegments | ||
) |
Add a user defined clipping plane.
Get the current camera properties for modification.
|
inline |
Access to the underlying object
Definition at line 1065 of file BRAY_Interface.h.
|
inline |
Access to the underlying object
Definition at line 1066 of file BRAY_Interface.h.
void BRAY::CameraPtr::clearClippingPlanes | ( | ) |
Clear the camera's user defined clipping planes.
After changing any options, must lock prior to rendering.
|
inline |
Test validity.
Definition at line 1060 of file BRAY_Interface.h.
OptionSet BRAY::CameraPtr::objectProperties | ( | ) |
Get the current object properties for modification.
|
inline |
Access to the underlying object
Definition at line 1064 of file BRAY_Interface.h.
Set number of motion samples for animated camera properties (1 upon construction). The last motion sample is assumed to have time offset of 1.0. (eg. if there are 3 samples, the time offsets are: 0, 0.5, 1.0)
void BRAY::CameraPtr::setShader | ( | const ScenePtr & | scene, |
const UT_StringArray & | args | ||
) |
Set the lens shader for the camera.
void BRAY::CameraPtr::setShaderMaterial | ( | const ScenePtr & | scene, |
const MaterialPtr & | mat | ||
) |
Set the lens shader material for the camera.
Set the transform on the camera.
|
protected |
Definition at line 1100 of file BRAY_Interface.h.