|
virtual void | get_sub_object_static (const CtxEval &eval_ctx, const CtxShader &shader_ctx, const unsigned int &instance_index, PbrSasObjectDescriptor &object) const override |
|
virtual void | get_sub_object_motion (const CtxEval &eval_ctx, const CtxShader &shader_ctx, const unsigned int &instance_index, const unsigned int &span_index, const double &span_weight, PbrSasObjectDescriptor &object) const override |
|
virtual unsigned int | get_object_index (const unsigned int &instance_index) const override |
|
virtual unsigned int | get_instance_index (ModuleSceneObject *scene_object, const unsigned int &raw_instance_index) const override |
|
virtual const GasTreeMotion & | get_motion_tree (const PbrSasMotionCtx &motion_ctx) const override |
|
unsigned int | get_object_node_index (const unsigned int &leaf_index) const |
|
bool | has_instance () const |
|
virtual const GasTree & | get_tree () const override |
|
void | clear_sas_resources (const CoreClassInfo &class_info=PbrSasObject::class_info()) |
| Clear all the SAS resources of the given type under this tree recursivelly.
|
|
void | get_bounding_box (GMathBbox3f &bbox) const |
|
void | get_bounding_box (GMathBbox3d &bbox) const |
|
virtual void | get_sub_bbox_indices (CoreVector< unsigned int > &indices, const float &min_coverage) const |
|
void | get_sub_bboxes (const CoreBasicArray< unsigned int > &indices, GMathBbox3f *bboxes) const |
|
void | get_sub_bboxes_at (const CtxEval &eval_ctx, const double &time, const CoreBasicArray< unsigned int > &indices, const ModuleSceneObject *module, GeometryOverride *override, GMathBbox3f *bboxes) const |
|
| ResourceData (const ResourceData &other) |
|
virtual size_t | get_memory_size () const override |
| Get the amount of memory occupied by the resource.
|
|
ResourceImportData * | get_import_data () const |
|
void | set_import_data (ResourceImportData *data) |
|
virtual Core128BitHashKey | get_hash_key () const |
| Get the hash key of the resource.
|
|
virtual bool | is_serializable () const |
| Tell if the resource can be serialized or not.
|
|
virtual void * | serialize (size_t &serial_size) const |
| Serialize the resource data.
|
|
virtual bool | deserialize (void *serial, const size_t &serial_size) |
| Deserialize the resource data.
|
|
void | advert_memory_changed () const |
| Adverts that the memory usage of the resource has changed.
|
|
bool | is_protected () const |
|
| EventObject () |
| Constructor.
|
|
| EventObject (const EventObject &src) |
| Copy Constructor.
|
|
virtual | ~EventObject () override |
| Destructor.
|
|
void | connect (EventObject &sender, const CoreString &event_id, EventInfoMethod event_cb, void *data=0) |
| Connects this to an object to listen to a specific event.
|
|
void | connect (EventObject &sender, EventInfoMethod event_cb, void *data=0) |
| Connects this to an object to listen any of its events.
|
|
bool | disconnect (EventObject &sender, const CoreString &event_id, EventInfoMethod event_cb, void *data=0) |
|
bool | disconnect_all (EventObject &sender) |
| Disconnects from all objects sender was listening on.
|
|
void | disconnect_all () |
| Disconnects from all objects we were listening on.
|
|
void | remove_all_connection () |
| Disconnects object from other objects it is listening to, and also disconnects all objects listening to it.
|
|
void | raise_event (const CoreString &event_id) const |
| sends an event
|
|
void | raise_event (const EventInfo &event_info) const |
| sends an event
|
|
bool | is_connected (EventObject &sender, const CoreString &event_id, void *data) |
|
void | set_mute (const bool &mute) |
| Asks for object muting. This will increase or decrease the muting counter. Unmuting may not be immediat since it will happen only when counter reaches 0.
|
|
bool | is_mute () const |
| Returns if object is muted.
|
|
CoreArray< EventObject * > | get_senders () const |
|
unsigned int | get_sender_count () const |
|
unsigned int | get_receiver_count () const |
|
void | connect (EventObject &sender, const CoreString &event_id, EventMethod event_cb, void *data=0) |
| Connects this to an object to listen to a specific event.
|
|
void | connect (EventObject &sender, EventMethod event_cb, void *data=0) |
| Connects this to an object to listen any of its events.
|
|
bool | disconnect (EventObject &sender, const CoreString &event_id, EventMethod event_cb, void *data=0) |
| Disconnects this from an object for a specific event.
|
|
| CoreCustomData (const CoreCustomData &src) |
|
void | add_custom_data (void *key, const bool &data) |
|
void | add_custom_data (void *key, const int &data) |
|
void | add_custom_data (void *key, const unsigned int &data) |
|
void | add_custom_data (void *key, const char *data) |
|
void | add_custom_data (void *key, const CoreString &data) |
|
void | add_custom_data (void *key, const double &data) |
|
void | add_custom_data (void *key, void *data) |
|
void | remove_custom_data (void *key) |
|
void | remove_all_custom_data () |
|
void | set_custom_data (void *key, const bool &data) |
|
void | set_custom_data (void *key, const int &data) |
|
void | set_custom_data (void *key, const unsigned int &data) |
|
void | set_custom_data (void *key, const double &data) |
|
void | set_custom_data (void *key, const char *data) |
|
void | set_custom_data (void *key, const CoreString &data) |
|
void | set_custom_data (void *key, void *data) |
|
void | get_custom_data (void *key, bool &data) const |
|
void | get_custom_data (void *key, int &data) const |
|
void | get_custom_data (void *key, unsigned int &data) const |
|
void | get_custom_data (void *key, double &data) const |
|
void | get_custom_data (void *key, CoreString &data) const |
|
void | get_custom_data (void *key, void *&data) const |
|
bool | is_kindof (const CoreBaseObject &object) const |
|
CoreString | get_class_info_name () const |
|
const unsigned long & | get_class_info_id () const |
|
virtual bool | is_kindof (const CoreClassInfo &cinfo) const |
|
virtual const CoreClassInfo & | get_class_info () const |
|
template<class T > |
T * | cast () |
|
template<class T > |
const T * | cast () const |
|
bool | is_kindof (const CoreClassInfo &cinfo) const |
|
class PbrSasSceneObjectTree Sampling acceleration structure for a scene object tree - e.g. combiners and scatterer