Blender V5.0
PointCloud::Point Struct Reference

#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 float4 *point_steps, const size_t num_points, const size_t num_steps, const float time, size_t p) const
float4 point_for_step (const float3 *points, const float *radius, const float4 *point_steps, const size_t num_points, const size_t num_steps, const size_t step, size_t p) const

Public Attributes

int index

Detailed Description

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

Member Function Documentation

◆ bounds_grow() [1/3]

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

◆ bounds_grow() [2/3]

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

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

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

◆ bounds_grow() [3/3]

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

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

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

◆ motion_key()

float4 PointCloud::Point::motion_key ( const float3 * points,
const float * radius,
const float4 * point_steps,
const size_t num_points,
const size_t num_steps,
const float time,
size_t p ) const

◆ point_for_step()

float4 PointCloud::Point::point_for_step ( const float3 * points,
const float * radius,
const float4 * point_steps,
const size_t num_points,
const size_t num_steps,
const size_t step,
size_t p ) const

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

References make_float4, PointCloud::num_points(), point_for_step(), and step.

Referenced by motion_key(), and point_for_step().

Member Data Documentation

◆ index

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

Referenced by bounds_grow(), and bounds_grow().


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