|
typedef void(* | LoadData )(const unsigned int &sample_index, LoadDataInfo *) |
| Callback that is given to the method set_deferred_loading in order to enable deferred loading of the property data.
|
|
typedef unsigned int(* | EvaluateNaturalCallback )(const GeometryProperty &, const CtxEval &, const GeometryFragment &, const unsigned int &, long long *, long long *, long long *, long long *, const unsigned int &) |
| Callback that must be implemented to define how the property must be evaluated for natural numbers.
|
|
typedef unsigned int(* | EvaluateRealCallback )(const GeometryProperty &, const CtxEval &, const GeometryFragment &, const unsigned int &, double *, double *, double *, double *, const unsigned int &) |
| Callback that must be implemented to define how the property must be evaluated for real numbers.
|
|
|
| GeometryProperty (const CoreString &name, const GMathTimeSampling &time_sampling=GMathTimeSampling(0.0), const ResourceProperty::Type &value_type=ResourceProperty::TYPE_COUNT, const unsigned int &value_count=0, const unsigned int &value_extent=0, const unsigned int &index_count=0) |
| Constructor.
|
|
void | set_deferred_loading (LoadData load_data_cb, LoadDataInfo *load_data_cb_info) |
| Enabled deferred loading of the property data by specifying a loading callback and its arguments.
|
|
const CoreString & | get_name () const |
| Get the name of the property.
|
|
const GMathTimeSampling & | get_time_sampling () const |
| Get the time sampling of the property.
|
|
virtual const
ResourceProperty::Type & | get_value_type () const |
|
virtual const unsigned int & | get_value_count () const |
|
virtual const unsigned int & | get_value_extent () const |
|
virtual const unsigned int & | get_index_count () const |
|
bool | is_sampled () const |
| Tell whether the property is sampled over the time or not.
|
|
CORE_FORCE_INLINE void | load_data (const unsigned int &sample_index) const |
| Forces the property to load its data if deferred data loading is enabled.
|
|
CORE_FORCE_INLINE unsigned int | evaluate (const CtxEval &eval_ctx, const GeometryFragment &fragment, const unsigned int &sample_index, long long *values, long long *values_du, long long *values_dv, long long *values_dw, const unsigned int &value_count) const |
| Evaluate the property and its derivatives as a natural number.
|
|
CORE_FORCE_INLINE unsigned int | evaluate (const CtxEval &eval_ctx, const GeometryFragment &fragment, const unsigned int &sample_index, double *values, double *values_du, double *values_dv, double *values_dw, const unsigned int &value_count) const |
| Evaluate the property and its derivatives as a real number.
|
|
bool | is_kindof (const CoreBaseObject &object) const |
|
virtual size_t | get_memory_size () const |
|
CoreString | get_class_info_name () const |
|
CoreString | get_class_interface () const |
|
const unsigned long & | get_class_info_id () const |
|
bool | is_kindof (const CoreClassInfo &cinfo) const |
|
virtual const CoreClassInfo & | get_class_info () const |
|
bool | operator== (const CoreBaseObject &obj) const |
|
template<class T > |
T * | cast () |
|
template<class T > |
const T * | cast () const |
|
bool | is_kindof (const CoreClassInfo &cinfo) const |
|
Base class for evaluating a property.