Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 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
 

Detailed Description

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

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

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

◆ 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 20 of file scene/pointcloud.cpp.

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

◆ bounds_grow() [3/3]

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

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

References Geometry::bounds, float4_to_float3(), BoundBox::grow(), and point.

◆ motion_key()

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.

◆ point_for_step()

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().

Member Data Documentation

◆ index

int PointCloud::Point::index

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

Referenced by bounds_grow().


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