Blender
V3.3
|
#include <pointcloud.h>
Public Member Functions | |
void | bounds_grow (const float3 *points, const float *radius, BoundBox &bounds) const |
void | bounds_grow (const float3 *points, const float *radius, const Transform &aligned_space, BoundBox &bounds) const |
void | bounds_grow (const float4 &point, BoundBox &bounds) const |
float4 | motion_key (const float3 *points, const float *radius, const float3 *point_steps, size_t num_points, size_t num_steps, float time, size_t p) const |
float4 | point_for_step (const float3 *points, const float *radius, const float3 *point_steps, size_t num_points, size_t num_steps, size_t step, size_t p) const |
Public Attributes | |
int | index |
Definition at line 18 of file scene/pointcloud.h.
CCL_NAMESPACE_BEGIN void PointCloud::Point::bounds_grow | ( | const float3 * | points, |
const float * | radius, | ||
BoundBox & | bounds | ||
) | const |
Definition at line 13 of file scene/pointcloud.cpp.
References Geometry::bounds, BoundBox::grow(), and index.
void PointCloud::Point::bounds_grow | ( | const float3 * | points, |
const float * | radius, | ||
const Transform & | aligned_space, | ||
BoundBox & | bounds | ||
) | const |
Definition at line 20 of file scene/pointcloud.cpp.
References Geometry::bounds, BoundBox::grow(), index, P(), and transform_point().
Definition at line 29 of file scene/pointcloud.cpp.
References Geometry::bounds, float4_to_float3(), BoundBox::grow(), and point.
float4 PointCloud::Point::motion_key | ( | const float3 * | points, |
const float * | radius, | ||
const float3 * | point_steps, | ||
size_t | num_points, | ||
size_t | num_steps, | ||
float | time, | ||
size_t | p | ||
) | const |
Definition at line 34 of file scene/pointcloud.cpp.
References min, PointCloud::num_points(), point_for_step(), t, and time.
float4 PointCloud::Point::point_for_step | ( | const float3 * | points, |
const float * | radius, | ||
const float3 * | point_steps, | ||
size_t | num_points, | ||
size_t | num_steps, | ||
size_t | step, | ||
size_t | p | ||
) | const |
Definition at line 56 of file scene/pointcloud.cpp.
References make_float4, PointCloud::num_points(), offset, x, y, and z.
Referenced by motion_key().
int PointCloud::Point::index |
Definition at line 19 of file scene/pointcloud.h.
Referenced by bounds_grow().