Blender V4.3
BKE_pointcloud.hh File Reference

General operations for point clouds. More...

#include <mutex>
#include "BLI_bounds_types.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_shared_cache.hh"
#include "DNA_pointcloud_types.h"

Go to the source code of this file.

Classes

struct  blender::bke::PointCloudRuntime
 

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::bake
 

Enumerations

enum  { BKE_POINTCLOUD_BATCH_DIRTY_ALL = 0 }
 

Functions

PointCloudblender::bke::pointcloud_new_no_attributes (int totpoint)
 
void * BKE_pointcloud_add (Main *bmain, const char *name)
 
void * BKE_pointcloud_add_default (Main *bmain, const char *name)
 
PointCloudBKE_pointcloud_new_nomain (int totpoint)
 
void BKE_pointcloud_nomain_to_pointcloud (PointCloud *pointcloud_src, PointCloud *pointcloud_dst)
 
bool BKE_pointcloud_attribute_required (const PointCloud *pointcloud, const char *name)
 
PointCloudBKE_pointcloud_copy_for_eval (const PointCloud *pointcloud_src)
 
void BKE_pointcloud_data_update (Depsgraph *depsgraph, Scene *scene, Object *object)
 
void BKE_pointcloud_batch_cache_dirty_tag (PointCloud *pointcloud, int mode)
 
void BKE_pointcloud_batch_cache_free (PointCloud *pointcloud)
 

Variables

const char * POINTCLOUD_ATTR_POSITION
 
const char * POINTCLOUD_ATTR_RADIUS
 
void(* BKE_pointcloud_batch_cache_dirty_tag_cb )(PointCloud *pointcloud, int mode)
 
void(* BKE_pointcloud_batch_cache_free_cb )(PointCloud *pointcloud)
 

Detailed Description

General operations for point clouds.

Definition in file BKE_pointcloud.hh.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BKE_POINTCLOUD_BATCH_DIRTY_ALL 

Definition at line 68 of file BKE_pointcloud.hh.

Function Documentation

◆ BKE_pointcloud_add()

void * BKE_pointcloud_add ( Main * bmain,
const char * name )

◆ BKE_pointcloud_add_default()

void * BKE_pointcloud_add_default ( Main * bmain,
const char * name )

◆ BKE_pointcloud_attribute_required()

bool BKE_pointcloud_attribute_required ( const PointCloud * pointcloud,
const char * name )

Definition at line 287 of file pointcloud.cc.

References POINTCLOUD_ATTR_POSITION, and STREQ.

Referenced by BKE_attribute_required().

◆ BKE_pointcloud_batch_cache_dirty_tag()

void BKE_pointcloud_batch_cache_dirty_tag ( PointCloud * pointcloud,
int mode )

◆ BKE_pointcloud_batch_cache_free()

void BKE_pointcloud_batch_cache_free ( PointCloud * pointcloud)

Definition at line 400 of file pointcloud.cc.

References PointCloud::batch_cache, and BKE_pointcloud_batch_cache_free_cb.

Referenced by pointcloud_free_data().

◆ BKE_pointcloud_copy_for_eval()

◆ BKE_pointcloud_data_update()

◆ BKE_pointcloud_new_nomain()

◆ BKE_pointcloud_nomain_to_pointcloud()

Variable Documentation

◆ BKE_pointcloud_batch_cache_dirty_tag_cb

void(* BKE_pointcloud_batch_cache_dirty_tag_cb) (PointCloud *pointcloud, int mode) ( PointCloud * pointcloud,
int mode )
extern

Definition at line 390 of file pointcloud.cc.

Referenced by BKE_pointcloud_batch_cache_dirty_tag(), and DRW_engines_register().

◆ BKE_pointcloud_batch_cache_free_cb

void(* BKE_pointcloud_batch_cache_free_cb) (PointCloud *pointcloud) ( PointCloud * pointcloud)
extern

Definition at line 391 of file pointcloud.cc.

Referenced by BKE_pointcloud_batch_cache_free(), and DRW_engines_register().

◆ POINTCLOUD_ATTR_POSITION

const char* POINTCLOUD_ATTR_POSITION
extern

Definition at line 55 of file pointcloud.cc.

Referenced by BKE_pointcloud_attribute_required().

◆ POINTCLOUD_ATTR_RADIUS

const char* POINTCLOUD_ATTR_RADIUS
extern

Definition at line 56 of file pointcloud.cc.

Referenced by pointcloud_random().