|
typedef RayGeneratorCamera *(* | CreateRayGeneratorCallback )(OfObject &, const CtxMotionBlur *) |
| This function is called by the ModuleCamera::create_ray_generator function.
|
|
typedef bool(* | ProjectPointCallback )(OfObject &, const CtxEval &, const GMathVec3d &, GMathVec3d &, const double &, const double &) |
| This function is called by the ModuleCamera::project_point function. Input coordinates are given in local space !
|
|
typedef bool(* | UnprojectPointCallback )(OfObject &, const CtxEval &, const GMathVec3d &, GMathVec3d &, const double &, const double &) |
| This function is called by the ModuleCamera::unproject_point function. The callback must return a position in local space.
|
|
typedef bool(* | ProjectSampleCallback )(OfObject &, const CtxEval &, const GMathVec3d &, const GMathVec3d &, const GMathVec3d &, GMathVec3d &, GMathVec3d &, GMathVec3d &, const double &, const double &) |
| This function is called by the ModuleCamera::project_sample function. Input parameters are given in local space !
|
|
typedef bool(* | UnprojectSampleCallback )(OfObject &, const CtxEval &, const GMathVec3d &, const GMathVec3d &, const GMathVec3d &, GMathVec3d &, GMathVec3d &, GMathVec3d &, const double &, const double &) |
| This function is called by the ModuleCamera::unproject_sample function. The callback must return values in local space.
|
|
typedef void(* | GetFovsCallback )(OfObject &, const double &, double &, double &) |
| This function is called by the ModuleCamera::get_fovs function.
|
|
typedef void(* | GetOffsetsCallback )(OfObject &, double &, double &) |
| This function is called by the ModuleCamera::get_offsets function.
|
|
typedef void(* | GetConfigCallback )(OfObject &, CameraConfig &) |
| This function is called by the ModuleCamera::get_config function. Currently used only by Alembic export.
|
|
typedef void(* | GetModelMatrixCallback )(OfObject &object, GMathMatrix4x4d &matrix, const double &time) |
|
typedef void(* | GetTransformAtCallback )(OfObject &object, GMathTransform &transform, const double &time) |
|
typedef bool(* | IsVisibilityDrivenCallback )(OfObject &object) |
|
typedef bool(* | PrePaintGlCallback )(OfObject &, GlUtilsCtx &) |
| The PrePaintGlCallback is called before the actual draw method. Initialization of objects used in the drawing function should be done here, for example creation of display list, calculus of bounding boxes, init of some GL features.
|
|
typedef bool(* | PaintGlCallback )(OfObject &, GlUtilsCtx &) |
| The PaintGlCallback is used to draw overlay information like bounding boxes, axis, etc... in one of Clarisse views.
|
|
typedef bool(* | DestroyGlDataCallback )(OfObject &, GlUtilsGlCtx &) |
| The DestroyGlDataCallback is called when destroying an object. Memory cleaning should be done in this callback.
|
|
typedef GMathBbox3d(* | GetGlBboxCallback )(OfObject &, GlUtilsCtx &) |
| return the gizmo bbox in local space
|
|
typedef void(* | OnDestroyModuleCallback )(OfObject &) |
| Called before the module deletion.
|
|
typedef ResourceData *(* | CreateResourceCallback )(OfObject &, const int &, void *) |
| Called lazily when a resource is not cached and has to be created.
|
|
typedef ResourceData *(* | SetResourceDataCallback )(OfObject &, const int &, void *, const size_t &, const CoreString &) |
| Deserialization callback for project resources.
|
|
typedef void(* | OnResourceUpdateCallback )(OfObject &, const int &, const ResourceData *) |
| Called everytime a resource is updated.
|
|
typedef CoreString(* | MakeResourceKeyCallback )(OfObject &) |
| Allows to generate a custom hash key for an object when a resource depends on it.
|
|
typedef CoreString(* | GetResourceKeyCallback )(OfObject &, ResourceID, GeometryResourceOverride *) |
|
typedef void(* | InitiliazeResourcesCallback )(OfObject &) |
|
typedef CoreString(* | MakeAttributeKeyCallback )(const OfAttr &) |
| Allows to generate a custom hash key for a given attribute. This callback is only called when needed, and on attributes which are listened to by a resource.
|
|
typedef ModuleCma *(* | CreateCmaCallback )(const CtxEval *) |
| Create a Clarisse Module Accessor class for this module, during this evaluation.
|
|
typedef bool(* | OnNewTime )(OfObject &, const double &) |
| Notifies an object every time the main evaluation time changes (using the Timeline widget for instance), to update it and evaluate whether the object state changed or not with the time update.
|
|
typedef bool(* | RequestVariable )(OfObject &, CoreHashTable< unsigned int, OfObjectVariableValue * > &variables) |
| Does nothing.
|
|
typedef void(* | RegisterVariable )(OfObject &, const CoreBasicArray< OfObjectVariableValue * > &variables, CoreVector< unsigned int > &unknown_variable_indices) |
| Called to gather the variables defined in the OfObject and their values, among those requested by the application.
|
|
typedef void(* | UnRegisterVariable )(OfObject &, const CoreBasicArray< OfObjectVariableValue * > &variables) |
| Called to notify when variables are no longer needed by the application.
|
|
typedef void *(* | CreateClassEvalData )(const OfClass &, const CtxEval &) |
| Create a class evaluation data, that will be shared by all objects of this particular class during this evaluation.
|
|
typedef void(* | DestroyClassEvalData )(const OfClass &, const CtxEval &, void *) |
| Delete a class evaluation data, that has been shared by all objects of this particular class during this evaluation.
|
|
typedef void *(* | CreateEvalData )(const OfObject &, const CtxEval &) |
| Create an object evaluation data, that will be used by this particular object during this evaluation.
|
|
typedef void(* | DestroyEvalData )(const OfObject &, const CtxEval &, void *) |
| Delete an object evaluation data, that has been used by this particular object during this evaluation.
|
|
typedef void *(* | CreateThreadData )(const OfObject &, const CtxEval &) |
| Create an object thread data, that will be bound to both the current evaluation thread and the object during this evaluation.
|
|
typedef void(* | DestroyThreadData )(const OfObject &, const CtxEval &, void *) |
| Delete an object thread data, that was bound to both one evaluation thread and the object during this evaluation.
|
|
typedef void(* | PostEvaluate )(const OfObject &, const CtxEval &) |
| Called once at the end of an evaluation, if the object was referenced in the evaluation graph.
|
|
typedef void(* | GetAttrPresetHints )(const OfObject &, const OfAttr &, CoreArray< bool > &) |
| Allows to dynamically enable or disable entries among the list of preset values for an attribute on an object.
|
|
typedef void(* | GetTrackingFilenames )(const OfObject &, const CoreString &, CoreArray< CoreString > &) |
| Allows to customize on the fly the filenames to track for resources dirtiness.
|
|
typedef unsigned int(* | GetObjectVariableLong )(const OfObject &, const CoreString &, long long *, const unsigned int &) |
| Fetch the values of a variable in an object, typed as a long long.
|
|
typedef unsigned int(* | GetObjectVariableDouble )(const OfObject &, const CoreString &, double *, const unsigned int &) |
| Fetch the values of a variable in an object, typed as a double.
|
|
typedef GuiWidget *(* | DeclareCustomUi )(const CoreVector< OfAttrHandle > &, GuiWidget &, void *custom_data) |
| Create a custom user interface for an attribute of type custom_ui.
|
|
typedef GuiSpreadsheetCell *(* | GetCustomTableCellUi )(const OfAttrTable &table, GuiSpreadsheetRow &parent, unsigned int column, unsigned int row, bool enabled) |
| Create a custom spreadsheet cell for a column attribute (e.g. which is part of a table) that has been flagged with custom_cell_ui yes in its definition. When implementing this callback, you only have to create the correct spreadsheet cell type and initialize its content based on the table. Its enabled state will be set automatically.
|
|
typedef CoreString(* | GetCustomAttributeLabel )(const OfAttr &attribute) |
|
typedef OfModule *(* | CreateModuleCallback )(OfObject &, OfObjectFactory &) |
|
typedef bool(* | DestroyModuleCallback )(OfObject &, OfObjectFactory &, OfModule *) |
|
typedef void(* | ModuleConstructorCallback )(OfObject &, OfModule *) |
|
typedef void(* | ModuleDestructorCallback )(OfObject &, OfModule *) |
|
typedef void *(* | CreateModuleDataCallback )(const OfObject &) |
|
typedef bool(* | DestroyModuleDataCallback )(const OfObject &, void *) |
|
typedef void(* | OnAttributeChangeCallback )(OfObject &, const OfAttr &, int &, const int &) |
|
typedef void(* | OnSendEventCallback )(OfObject &, const CoreString &) |
|
typedef void(* | OnSerializeObjectCallback )(OfObject &) |
|
typedef void(* | OnPreDeserializeCallback )(OfObject &, const CoreVersion &, ParserGroup &parser_group) |
|
typedef void(* | OnPreDeserializeObjectCallback )(const CoreVersion &, ParserGroup &parser_group) |
|
typedef void(* | OnDeserializeObjectCallback )(OfObject &, const CoreVersion &, const ParserGroup &parser_group, const OfSerialOptions &serial_options) |
|
typedef void(* | SerializeUserDataCallback )(const OfObject &, ParserGroup &) |
|
typedef void(* | DeserializeUserDataCallback )(const OfObject &, const ParserGroup &) |
|
typedef void(* | PreProcessOverrideCallback )(OfObject &object, OfOverrides &overrides, const CoreString &obj_key) |
|
typedef OfItemHandle(* | GetTraversalItemCallback )(OfObject &object) |
|
typedef ResourceData *(* | CreateResourceCustomCallback )(OfObject &, void *) |
|
typedef void(* | OnResourceUpdateCustomCallback )(OfObject &, const int &, const ResourceData *) |
|
typedef ResourceData *(* | CreateResourceCustomOverrideCallback )(OfObject &, GeometryOverride &, void *) |
|
typedef void(* | SetShadingLayerValuesCallback )(OfObject &object, const CoreBasicArray< OfObject * > &, const CoreBasicArray< OfObject * > &, const CoreBasicArray< OfObject * > &) |
|
Definition of the callbacks that are used by camera objects.