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 | 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 1006 of file BRAY_Interface.h.
|
inline |
Definition at line 1009 of file BRAY_Interface.h.
BRAY::CameraPtr::~CameraPtr | ( | ) |
Get the current camera properties for modification.
|
inline |
Access to the underlying object
Definition at line 1021 of file BRAY_Interface.h.
|
inline |
Access to the underlying object
Definition at line 1022 of file BRAY_Interface.h.
After changing any options, must lock prior to rendering.
|
inline |
Test validity.
Definition at line 1016 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 1020 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 1050 of file BRAY_Interface.h.