Blender V4.3
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, 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 float4 *point_steps, size_t num_points, size_t num_steps, size_t step, size_t p) const
 

Public Attributes

int index
 

Detailed Description

Definition at line 19 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

◆ bounds_grow() [3/3]

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

◆ motion_key()

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

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

References min, motion_key(), PointCloud::num_points(), and point_for_step().

Referenced by motion_key().

◆ point_for_step()

float4 PointCloud::Point::point_for_step ( const float3 * points,
const float * radius,
const float4 * point_steps,
size_t num_points,
size_t num_steps,
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 z().

Referenced by motion_key(), and point_for_step().

Member Data Documentation

◆ index

int PointCloud::Point::index

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


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