HDK
|
#include <BRAY_ProceduralScene.h>
Classes | |
class | Scene |
Wrapper around BRAY::ScenePtr. More... | |
class | SceneHit |
Derive the SceneHit so we can pass around the hit instance. More... | |
Additional Inherited Members | |
![]() | |
using | Ray32 = Ray< fpreal32 > |
using | Ray64 = Ray< fpreal64 > |
![]() | |
HitPtr | getHit () const |
virtual void | errorMessage (const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2 |
virtual void | doSetParameter (const UT_StringRef &key, const int32 *values, int n=1)=0 |
virtual void | doSetParameter (const UT_StringRef &key, const int64 *values, int n=1)=0 |
virtual void | doSetParameter (const UT_StringRef &key, const fpreal32 *values, int n=1)=0 |
virtual void | doSetParameter (const UT_StringRef &key, const fpreal64 *value, int n=1)=0 |
virtual void | doSetParameter (const UT_StringRef &key, const UT_StringHolder *value, int n=1)=0 |
Definition at line 26 of file BRAY_ProceduralScene.h.
BRAY_ProceduralScene::BRAY_ProceduralScene | ( | ) |
|
inlineoverridevirtual |
Definition at line 94 of file BRAY_ProceduralScene.h.
|
inlineoverridevirtual |
Get the attribute list.
Implements BRAY_Procedural.
Definition at line 119 of file BRAY_ProceduralScene.h.
|
finaloverridevirtual |
Evaluate an attribute on this primitive. The methods should return a pointer to the attribute data. If there isn't a direct raw pointer to the data, the buffer passed in can be used to store the data and that pointer can be returned.
Implements BRAY_Procedural.
|
finaloverridevirtual |
Evaluate an attribute on this primitive. The methods should return a pointer to the attribute data. If there isn't a direct raw pointer to the data, the buffer passed in can be used to store the data and that pointer can be returned.
Implements BRAY_Procedural.
|
finaloverridevirtual |
Evaluate an attribute on this primitive. The methods should return a pointer to the attribute data. If there isn't a direct raw pointer to the data, the buffer passed in can be used to store the data and that pointer can be returned.
Implements BRAY_Procedural.
|
finaloverridevirtual |
Evaluate an attribute on this primitive. The methods should return a pointer to the attribute data. If there isn't a direct raw pointer to the data, the buffer passed in can be used to store the data and that pointer can be returned.
Implements BRAY_Procedural.
|
finaloverridevirtual |
Evaluate an attribute on this primitive. The methods should return a pointer to the attribute data. If there isn't a direct raw pointer to the data, the buffer passed in can be used to store the data and that pointer can be returned.
Implements BRAY_Procedural.
|
finaloverridevirtual |
Evaluation of array attributes (each attribute can have an arbitrary number of entries. By default, the array attribute evaluators set the arrays to a size of 0 and return the storage array.
Reimplemented from BRAY_Procedural.
|
finaloverridevirtual |
Evaluation of array attributes (each attribute can have an arbitrary number of entries. By default, the array attribute evaluators set the arrays to a size of 0 and return the storage array.
Reimplemented from BRAY_Procedural.
|
finaloverridevirtual |
Evaluation of array attributes (each attribute can have an arbitrary number of entries. By default, the array attribute evaluators set the arrays to a size of 0 and return the storage array.
Reimplemented from BRAY_Procedural.
|
finaloverridevirtual |
Evaluation of array attributes (each attribute can have an arbitrary number of entries. By default, the array attribute evaluators set the arrays to a size of 0 and return the storage array.
Reimplemented from BRAY_Procedural.
|
finaloverridevirtual |
Evaluation of array attributes (each attribute can have an arbitrary number of entries. By default, the array attribute evaluators set the arrays to a size of 0 and return the storage array.
Reimplemented from BRAY_Procedural.
|
inlineoverridevirtual |
Fills the given bounding box.
Implements BRAY_Procedural.
Definition at line 123 of file BRAY_ProceduralScene.h.
|
inlineoverridevirtual |
Check to see whether the procedural is valid.
Implements BRAY_Procedural.
Definition at line 112 of file BRAY_ProceduralScene.h.
|
inlineoverridevirtual |
Allow the deriving class to override these, but by default build the scene and set myValid based on it's return result
Implements BRAY_Procedural.
Definition at line 108 of file BRAY_ProceduralScene.h.
|
overridevirtual |
Implements BRAY_Procedural.
Perform ray-intersection
Implements BRAY_Procedural.
Definition at line 128 of file BRAY_ProceduralScene.h.
Perform ray-intersection
Implements BRAY_Procedural.
Definition at line 130 of file BRAY_ProceduralScene.h.
|
inlinefinaloverridevirtual |
The newHit()
method is used to allocate a custom Hit
type. The typical way this is done is:
Reimplemented from BRAY_Procedural.
Definition at line 96 of file BRAY_ProceduralScene.h.
|
inline |
Reset the underlying ScenePtr, note you'll need to get the new ScenePtr using scene()
Definition at line 104 of file BRAY_ProceduralScene.h.
|
inline |
Get the underlying ScenePtr.
Definition at line 99 of file BRAY_ProceduralScene.h.
|
inline |
Definition at line 100 of file BRAY_ProceduralScene.h.
|
pure virtual |
Build or update the underlying scene, return true on success. Use scene()
to get the underlying ScenePtr, and use