Blender V5.3
PointCloud::Point Struct Reference

#include <pointcloud.h>

Public Member Functions

void bounds_grow (const packed_float3 *points, const float *radius, BoundBox &bounds) const
void bounds_grow (const packed_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 float *radius, const Attribute *attr_P, const Attribute *attr_R, const size_t num_steps, const float time, size_t p) const
float4 point_for_step (const float *radius, const Attribute *attr_P, const Attribute *attr_R, const size_t step, size_t p) const

Public Attributes

int index

Detailed Description

Definition at line 26 of file scene/pointcloud.h.

Member Function Documentation

◆ bounds_grow() [1/3]

void PointCloud::Point::bounds_grow ( const float4 & point,
BoundBox & bounds ) const

Definition at line 32 of file scene/pointcloud.cpp.

References Geometry::bounds, BoundBox::grow(), make_float3(), and float4::w.

◆ bounds_grow() [2/3]

CCL_NAMESPACE_BEGIN void PointCloud::Point::bounds_grow ( const packed_float3 * points,
const float * radius,
BoundBox & bounds ) const

◆ bounds_grow() [3/3]

void PointCloud::Point::bounds_grow ( const packed_float3 * points,
const float * radius,
const Transform & aligned_space,
BoundBox & bounds ) const

Definition at line 23 of file scene/pointcloud.cpp.

References Geometry::bounds, BoundBox::grow(), index, P, and transform_point().

◆ motion_key()

float4 PointCloud::Point::motion_key ( const float * radius,
const Attribute * attr_P,
const Attribute * attr_R,
const size_t num_steps,
const float time,
size_t p ) const

Definition at line 37 of file scene/pointcloud.cpp.

References min, point_for_step(), and step.

Referenced by BVHBuild::add_reference_points().

◆ point_for_step()

float4 PointCloud::Point::point_for_step ( const float * radius,
const Attribute * attr_P,
const Attribute * attr_R,
const size_t step,
size_t p ) const

Member Data Documentation

◆ index

int PointCloud::Point::index

Definition at line 27 of file scene/pointcloud.h.

Referenced by bounds_grow(), bounds_grow(), and BVH2::refit_primitives().


The documentation for this struct was generated from the following files: