Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Types | |
enum | SamplingMode { SAMPLING_MODE_UNIFORM = 0, SAMPLING_MODE_STRATIFIED_JITTER = 1, SAMPLING_MODE_RANDOM = 2, SAMPLING_MODE_BLUE_NOISE = 3, SAMPLING_MODE_COUNT } |
Public Member Functions | |
void | create (const CtxEval &eval_ctx, const GeometryObject &geometry, const double &density, const unsigned int &sg_index, const SamplingMode &mode=SAMPLING_MODE_UNIFORM) |
void | create (const CtxEval &eval_ctx, const GeometryObject &geometry, const double &density, const SamplingMode &mode=SAMPLING_MODE_UNIFORM) |
void | create (const GeometryObject &geometry, const CoreArray< GeometryPrimitiveSampleDescriptor > &samples, const CoreArray< GMathVec3d > &local_positions, const CoreArray< GMathVec3d > &geom_normals, const CoreArray< GMathVec3d > &smooth_normals, const double &radius) |
const CoreArray < GeometryPrimitiveSampleDescriptor > & | get_samples () const |
const CoreArray< GMathVec3d > & | get_local_positions () const |
const double & | get_sample_radius () const |
const GeometryObject * | get_geometry () const |
void | clear () |
bool | is_empty () const |
void | get_overlaps (const GMathVec3d &local_position, const double &local_radius, CoreArray< unsigned int > &candidate_indices, unsigned int &candidate_count) const |
void | get_color (const GMathVec3d &local_position, const double &local_radius, const CoreArray< GMathVec4f > &colors, double &weight, GMathVec4f &result) const |
Static Public Member Functions | |
static const char * | get_sampling_mode_name (const SamplingMode &mode) |