|
Blender V5.3
|
#include <geometry.h>
Inherits Node.
Inherited by Hair, Light, Mesh, and PointCloud.
Public Types | |
| enum | Type { MESH , HAIR , VOLUME , POINTCLOUD , AREA_LIGHT , BACKGROUND_LIGHT , POINT_LIGHT , SPOT_LIGHT , SUN_LIGHT } |
Public Member Functions | |
| const packed_float3 * | get_position () const |
| packed_float3 * | get_position_for_write () |
| void | tag_position_modified () |
| bool | position_is_modified () const |
| const float * | get_radius () const |
| float * | get_radius_for_write () |
| void | tag_radius_modified () |
| bool | radius_is_modified () const |
| Geometry (const NodeType *node_type, const Type type) | |
| ~Geometry () override | |
| virtual void | clear (bool preserve_shaders=false) |
| virtual void | compute_bounds ()=0 |
| virtual void | apply_transform (const Transform &tfm, const bool apply_to_motion)=0 |
| bool | need_attribute (const Scene *scene, AttributeStandard std) |
| bool | need_attribute (Scene *scene, ustring name) |
| AttributeRequestSet | needed_attributes () |
| virtual void | get_uv_tiles (ustring map, unordered_set< int > &tiles)=0 |
| float | motion_time (const int step) const |
| int | motion_step (const float time) const |
| void | compute_bvh (Device *device, DeviceScene *dscene, SceneParams *params, Progress *progress, const size_t n, size_t total) |
| virtual PrimitiveType | primitive_type () const =0 |
| bool | need_build_bvh (BVHLayout layout) const |
| bool | is_instanced () const |
| bool | has_true_displacement () const |
| virtual bool | has_motion_blur () const |
| bool | has_voxel_attributes () const |
| bool | is_mesh () const |
| bool | is_hair () const |
| bool | is_pointcloud () const |
| bool | is_volume () const |
| bool | is_light () const |
| void | tag_update (Scene *scene, bool rebuild) |
| Public Member Functions inherited from Node | |
| Node (const NodeType *type, ustring name=ustring()) | |
| virtual | ~Node ()=0 |
| void | set (const SocketType &input, bool value) |
| void | set (const SocketType &input, const int value) |
| void | set (const SocketType &input, const uint value) |
| void | set (const SocketType &input, const uint64_t value) |
| void | set (const SocketType &input, const float value) |
| void | set (const SocketType &input, const float2 value) |
| void | set (const SocketType &input, const float3 value) |
| void | set (const SocketType &input, const char *value) |
| void | set (const SocketType &input, ustring value) |
| void | set (const SocketType &input, const Transform &value) |
| void | set (const SocketType &input, Node *value) |
| template<class ValueType, std::enable_if_t< std::is_enum_v< ValueType >, bool > = true> | |
| void | set (const SocketType &input, const ValueType &value) |
| void | set (const SocketType &input, array< bool > &value) |
| void | set (const SocketType &input, array< int > &value) |
| void | set (const SocketType &input, array< float > &value) |
| void | set (const SocketType &input, array< float2 > &value) |
| void | set (const SocketType &input, array< packed_float3 > &value) |
| void | set (const SocketType &input, array< ustring > &value) |
| void | set (const SocketType &input, array< Transform > &value) |
| void | set (const SocketType &input, array< Node * > &value) |
| bool | get_bool (const SocketType &input) const |
| int | get_int (const SocketType &input) const |
| uint | get_uint (const SocketType &input) const |
| uint64_t | get_uint64 (const SocketType &input) const |
| float | get_float (const SocketType &input) const |
| float2 | get_float2 (const SocketType &input) const |
| float3 | get_float3 (const SocketType &input) const |
| ustring | get_string (const SocketType &input) const |
| Transform | get_transform (const SocketType &input) const |
| Node * | get_node (const SocketType &input) const |
| const array< bool > & | get_bool_array (const SocketType &input) const |
| const array< int > & | get_int_array (const SocketType &input) const |
| const array< float > & | get_float_array (const SocketType &input) const |
| const array< float2 > & | get_float2_array (const SocketType &input) const |
| const array< packed_float3 > & | get_float3_array (const SocketType &input) const |
| const array< ustring > & | get_string_array (const SocketType &input) const |
| const array< Transform > & | get_transform_array (const SocketType &input) const |
| const array< Node * > & | get_node_array (const SocketType &input) const |
| bool | has_default_value (const SocketType &input) const |
| void | set_default_value (const SocketType &input) |
| bool | equals_value (const Node &other, const SocketType &socket) const |
| void | copy_value (const SocketType &socket, const Node &other, const SocketType &other_socket) |
| void | set_value (const SocketType &socket, const Node &other, const SocketType &other_socket) |
| bool | equals (const Node &other) const |
| void | hash (MD5Hash &md5) |
| size_t | get_total_size_in_bytes () const |
| bool | is_a (const NodeType *type) |
| bool | socket_is_modified (const SocketType &input) const |
| bool | is_modified () const |
| void | tag_modified () |
| void | clear_modified () |
| void | print_modified_sockets () const |
| const NodeOwner * | get_owner () const |
| void | set_owner (const NodeOwner *owner_) |
| int | reference_count () const |
| void | reference () |
| void | dereference () |
| void | clear_reference_count () |
Public Attributes | |
| Type | geometry_type |
| AttributeSet | attributes |
| BoundBox | bounds |
| bool | transform_applied |
| bool | transform_negative_scaled |
| Transform | transform_normal |
| unique_ptr< BVH > | bvh |
| size_t | attr_map_offset |
| size_t | prim_offset |
| bool | has_volume |
| bool | has_surface_bssrdf |
| bool | need_update_rebuild |
| bool | need_update_bvh_for_offset |
| size_t | index |
| Public Attributes inherited from Node | |
| ustring | name |
| const NodeType * | type |
| InternalNode | internal |
| LeafNode | leaf |
Static Public Attributes | |
| static const uint | MAX_MOTION_STEPS = 129 |
Additional Inherited Members | |
| Protected Member Functions inherited from Node | |
| template<typename T> | |
| void | set_if_different (const SocketType &input, T value) |
| void | set_if_different (const SocketType &input, Node *value) |
| template<typename T> | |
| void | set_if_different (const SocketType &input, array< T > &value) |
| void | set_if_different (const SocketType &input, array< Node * > &value) |
| void | dereference_all_used_nodes () |
| Static Protected Member Functions inherited from Node | |
| template<typename T> | |
| static T & | get_socket_value (const Node *node, const SocketType &socket) |
| Protected Attributes inherited from Node | |
| const NodeOwner * | owner |
| int | ref_count {0} |
| SocketModifiedFlags | socket_modified |
Definition at line 77 of file scene/geometry.h.
| enum Geometry::Type |
| Enumerator | |
|---|---|
| MESH | |
| HAIR | |
| VOLUME | |
| POINTCLOUD | |
| AREA_LIGHT | |
| BACKGROUND_LIGHT | |
| POINT_LIGHT | |
| SPOT_LIGHT | |
| SUN_LIGHT | |
Definition at line 81 of file scene/geometry.h.
Definition at line 49 of file scene/geometry.cpp.
References attr_map_offset, ATTR_PRIM_GEOMETRY, attributes, bounds, BoundBox::empty, geometry_type, has_surface_bssrdf, has_volume, need_update_bvh_for_offset, need_update_rebuild, Node::Node(), prim_offset, transform_applied, transform_identity(), transform_negative_scaled, transform_normal, and Node::type.
Referenced by AreaLight::AreaLight(), BackgroundLight::BackgroundLight(), Hair::Hair(), Light::Light(), Mesh::Mesh(), Mesh::Mesh(), PointCloud::PointCloud(), PointLight::PointLight(), SpotLight::SpotLight(), SunLight::SunLight(), and Volume::Volume().
|
override |
Definition at line 67 of file scene/geometry.cpp.
References Node::dereference_all_used_nodes().
|
pure virtual |
Implemented in Hair, Light, Mesh, and PointCloud.
References apply_transform(), Node::name, need_attribute(), and needed_attributes().
Referenced by apply_transform().
|
virtual |
Reimplemented in Hair, Mesh, PointCloud, and Volume.
Definition at line 72 of file scene/geometry.cpp.
References Node::tag_modified(), transform_applied, transform_identity(), transform_negative_scaled, and transform_normal.
Referenced by Hair::clear(), Mesh::clear(), PointCloud::clear(), Mesh::clear_non_sockets(), and PointCloud::clear_non_sockets().
|
pure virtual |
Implemented in Hair, Light, Mesh, and PointCloud.
References compute_bounds().
Referenced by compute_bounds(), and compute_bvh().
| CCL_NAMESPACE_BEGIN void Geometry::compute_bvh | ( | Device * | device, |
| DeviceScene * | dscene, | ||
| SceneParams * | params, | ||
| Progress * | progress, | ||
| const size_t | n, | ||
| size_t | total ) |
Definition at line 26 of file geometry_bvh.cpp.
References BVHParams::best_bvh_layout(), Device::build_bvh(), bvh, BVHParams::bvh_layout, SceneParams::bvh_layout, BVHParams::bvh_type, SceneParams::bvh_type, BVH_TYPE_DYNAMIC, compute_bounds(), BVH::create(), BVHParams::curve_subdivisions, SceneParams::curve_subdivisions(), DeviceScene::data, Device::get_bvh_layout_mask(), Progress::get_cancel(), MEM_GUARDED_CALL, Node::name, need_build_bvh(), need_update_bvh_for_offset, need_update_rebuild, SceneParams::num_bvh_time_steps, BVHParams::num_motion_curve_steps, BVHParams::num_motion_point_steps, BVHParams::num_motion_triangle_steps, PATH_RAY_VISIBILITY_OBJECT_ALL, Progress::set_status(), string_printf(), SceneParams::use_bvh_compact_structure, SceneParams::use_bvh_spatial_split, SceneParams::use_bvh_unaligned_nodes, BVHParams::use_compact_structure, BVHParams::use_spatial_split, and BVHParams::use_unaligned_nodes.
Referenced by get_uv_tiles().
| const packed_float3 * Geometry::get_position | ( | ) | const |
Definition at line 84 of file scene/geometry.cpp.
References ATTR_STD_POSITION, attributes, Attribute::data(), and AttributeSet::find().
Referenced by BVHBuild::add_reference_curves(), BVHBuild::add_reference_points(), BVHBuild::add_reference_triangles(), Mesh::add_undisplaced(), Mesh::add_vertex_normals(), attr_create_motion_from_velocity(), attr_create_motion_from_velocity(), attr_create_motion_from_velocity(), attr_create_pointiness(), BVHUnaligned::compute_aligned_prim_boundbox(), BVHUnaligned::compute_aligned_space(), Hair::compute_bounds(), Mesh::compute_bounds(), PointCloud::compute_bounds(), Hair::copy_center_to_motion_step(), PointCloud::copy_center_to_motion_step(), LightManager::device_update_distribution(), GeometryManager::displace(), export_hair_curves_motion(), export_hair_motion_validate_attribute(), export_pointcloud_motion(), ExportCurveSegmentsMotion(), LightTreeEmitter::LightTreeEmitter(), recompute_displaced_corner_normals(), BVH2::refit_primitives(), save_pre_displacement_normals(), BVHSpatialSplit::split_curve_primitive(), BVHSpatialSplit::split_point_primitive(), BVHSpatialSplit::split_triangle_primitive(), and xml_read_mesh().
| packed_float3 * Geometry::get_position_for_write | ( | ) |
Definition at line 90 of file scene/geometry.cpp.
References AttributeSet::add(), ATTR_STD_POSITION, attributes, Attribute::data_for_write(), Attribute::modified, and Node::tag_modified().
Referenced by Hair::apply_transform(), Mesh::apply_transform(), PointCloud::apply_transform(), GeometryManager::create_volume_mesh(), EdgeDice::EdgeDice(), ExportCurveSegments(), read_shader_output(), and xml_read_mesh().
| const float * Geometry::get_radius | ( | ) | const |
Definition at line 111 of file scene/geometry.cpp.
References ATTR_STD_RADIUS, attributes, Attribute::data(), and AttributeSet::find().
Referenced by BVHBuild::add_reference_curves(), BVHBuild::add_reference_points(), attr_create_motion_from_velocity(), BVHUnaligned::compute_aligned_prim_boundbox(), Hair::compute_bounds(), PointCloud::compute_bounds(), Hair::copy_center_to_motion_step(), PointCloud::copy_center_to_motion_step(), export_hair_curves_motion(), export_hair_motion_validate_attribute(), ExportCurveSegmentsMotion(), BVH2::refit_primitives(), and BVHSpatialSplit::split_point_primitive().
| float * Geometry::get_radius_for_write | ( | ) |
Definition at line 117 of file scene/geometry.cpp.
References AttributeSet::add(), ATTR_STD_RADIUS, attributes, Attribute::data_for_write(), Attribute::modified, and Node::tag_modified().
Referenced by Hair::apply_transform(), PointCloud::apply_transform(), export_hair_curves(), export_pointcloud(), ExportCurveSegments(), and PointCloud::update_gsplat_radii().
|
pure virtual |
Implemented in Hair, Light, Mesh, and PointCloud.
References compute_bvh(), get_uv_tiles(), motion_step(), motion_time(), step, and tiles.
Referenced by ImageTextureNode::cull_tiles(), and get_uv_tiles().
|
virtual |
Reimplemented in Mesh.
Definition at line 196 of file scene/geometry.cpp.
References ATTR_STD_POSITION, attributes, AttributeSet::find(), and Attribute::has_motion().
Referenced by BVHBuild::add_reference_curves(), BVHBuild::add_reference_points(), primitive_type(), Hair::primitive_type(), and PointCloud::primitive_type().
| bool Geometry::has_true_displacement | ( | ) | const |
Definition at line 184 of file scene/geometry.cpp.
References DISPLACE_BUMP, Shader::has_displacement, Node::Node(), and node.
Referenced by ObjectManager::apply_static_transforms(), GeometryManager::device_update(), GeometryManager::displace(), and primitive_type().
| bool Geometry::has_voxel_attributes | ( | ) | const |
Definition at line 81 of file geometry_attributes.cpp.
References ATTR_ELEMENT_VOXEL, AttributeSet::attributes, attributes, and Attribute::element.
Referenced by primitive_type().
|
inline |
Definition at line 198 of file scene/geometry.h.
References geometry_type, and HAIR.
Referenced by AttributeTableBuilder::add(), AttributeTableBuilder::add_position_radius(), BVHBuild::add_reference_geometry(), ObjectManager::apply_static_transforms(), count_primitives(), GeometryManager::device_update(), GeometryManager::device_update_attributes(), GeometryManager::device_update_displacement_images(), ObjectManager::device_update_geom_offsets(), GeometryManager::device_update_mesh(), ObjectManager::device_update_object_transform(), GeometryManager::device_update_preprocess(), Attribute::element_size(), GeometryManager::geom_calc_offset(), object_num_motion_verts(), AttributeTableBuilder::reserve_position_radius(), BVHSpatialSplit::split_object_reference(), standard_type_element(), and Scene::update_kernel_features().
| bool Geometry::is_instanced | ( | ) | const |
Definition at line 174 of file scene/geometry.cpp.
References has_surface_bssrdf, and transform_applied.
Referenced by need_build_bvh(), and primitive_type().
|
inline |
Definition at line 213 of file scene/geometry.h.
References AREA_LIGHT, BACKGROUND_LIGHT, geometry_type, POINT_LIGHT, SPOT_LIGHT, and SUN_LIGHT.
Referenced by Scene::update_kernel_features().
|
inline |
Definition at line 193 of file scene/geometry.h.
References geometry_type, is_mesh(), and MESH.
Referenced by AttributeTableBuilder::add(), BVHBuild::add_reference_geometry(), ObjectManager::apply_static_transforms(), count_primitives(), BakeManager::device_update(), GeometryManager::device_update(), ObjectManager::device_update_geom_offsets(), GeometryManager::device_update_mesh(), ObjectManager::device_update_object_transform(), GeometryManager::device_update_preprocess(), Attribute::element_size(), GeometryManager::geom_calc_offset(), is_mesh(), object_num_motion_verts(), BVHSpatialSplit::split_object_reference(), standard_type_element(), BlenderSync::sync_recalc(), Scene::update_kernel_features(), and Object::usable_as_light().
|
inline |
Definition at line 203 of file scene/geometry.h.
References geometry_type, and POINTCLOUD.
Referenced by AttributeTableBuilder::add(), AttributeTableBuilder::add_position_radius(), BVHBuild::add_reference_geometry(), ObjectManager::apply_static_transforms(), count_primitives(), GeometryManager::device_update(), GeometryManager::device_update_attributes(), ObjectManager::device_update_geom_offsets(), GeometryManager::device_update_mesh(), ObjectManager::device_update_object_transform(), GeometryManager::device_update_preprocess(), Attribute::element_size(), GeometryManager::geom_calc_offset(), object_num_motion_verts(), BVHSpatialSplit::split_object_reference(), standard_type_element(), and Scene::update_kernel_features().
|
inline |
Definition at line 208 of file scene/geometry.h.
References geometry_type, and VOLUME.
Referenced by AttributeTableBuilder::add(), BVHBuild::add_reference_geometry(), count_primitives(), GeometryManager::device_update(), ObjectManager::device_update_geom_offsets(), GeometryManager::device_update_mesh(), ObjectManager::device_update_object_transform(), GeometryManager::device_update_preprocess(), Attribute::element_size(), GeometryManager::geom_calc_offset(), object_num_motion_verts(), object_volume_density(), BVHSpatialSplit::split_object_reference(), standard_type_element(), and Object::usable_as_light().
| int Geometry::motion_step | ( | const float | time | ) | const |
Definition at line 143 of file scene/geometry.cpp.
References motion_time(), and step.
Referenced by Hair::copy_center_to_motion_step(), Mesh::copy_center_to_motion_step(), PointCloud::copy_center_to_motion_step(), get_uv_tiles(), Mesh::ObjectManager, Hair::~Hair(), and PointCloud::~PointCloud().
| float Geometry::motion_time | ( | const int | step | ) | const |
Definition at line 138 of file scene/geometry.cpp.
References step.
Referenced by get_uv_tiles(), and motion_step().
| CCL_NAMESPACE_BEGIN bool Geometry::need_attribute | ( | const Scene * | scene, |
| AttributeStandard | std ) |
Definition at line 27 of file geometry_attributes.cpp.
References ATTR_STD_NONE, Shader::attributes, AttributeRequestSet::find(), Scene::need_global_attribute(), Node::Node(), and node.
Referenced by Mesh::add_undisplaced(), apply_transform(), attr_create_generic(), attr_create_generic(), attr_create_random_per_island(), attr_create_subd_uv_map(), attr_create_uv_map(), create_mesh(), export_hair_curves(), export_pointcloud(), ExportCurveSegments(), sync_smoke_volume(), sync_volume_object(), Mesh::update_generated(), Mesh::update_tangents(), and xml_read_mesh().
| bool Geometry::need_attribute | ( | Scene * | scene, |
| ustring | name ) |
Definition at line 47 of file geometry_attributes.cpp.
References Shader::attributes, AttributeRequestSet::find(), Shader::global_attributes, Node::name, Node::Node(), node, and Scene::shaders.
| bool Geometry::need_build_bvh | ( | BVHLayout | layout | ) | const |
Definition at line 164 of file scene/geometry.cpp.
References BVH_LAYOUT_EMBREEGPU, BVH_LAYOUT_HIPRT, BVH_LAYOUT_METAL, BVH_LAYOUT_MULTI_EMBREEGPU, BVH_LAYOUT_MULTI_EMBREEGPU_EMBREE, BVH_LAYOUT_MULTI_HIPRT, BVH_LAYOUT_MULTI_HIPRT_EMBREE, BVH_LAYOUT_MULTI_METAL, BVH_LAYOUT_MULTI_METAL_EMBREE, BVH_LAYOUT_MULTI_OPTIX, BVH_LAYOUT_MULTI_OPTIX_EMBREE, BVH_LAYOUT_OPTIX, and is_instanced().
Referenced by compute_bvh(), BVH2::pack_instances(), and primitive_type().
| AttributeRequestSet Geometry::needed_attributes | ( | ) |
Definition at line 69 of file geometry_attributes.cpp.
References Shader::attributes, Node::Node(), and node.
Referenced by apply_transform().
| bool Geometry::position_is_modified | ( | ) | const |
Definition at line 105 of file scene/geometry.cpp.
References ATTR_STD_POSITION, attributes, AttributeSet::find(), and Attribute::modified.
Referenced by Mesh::need_tessellation().
|
pure virtual |
Implemented in Hair, Light, Mesh, and PointCloud.
References has_motion_blur(), has_true_displacement(), has_voxel_attributes(), is_instanced(), need_build_bvh(), and primitive_type().
Referenced by ObjectManager::device_update_object_transform(), and primitive_type().
| bool Geometry::radius_is_modified | ( | ) | const |
Definition at line 132 of file scene/geometry.cpp.
References ATTR_STD_RADIUS, attributes, AttributeSet::find(), and Attribute::modified.
| void Geometry::tag_position_modified | ( | ) |
Definition at line 98 of file scene/geometry.cpp.
References AttributeSet::add(), ATTR_STD_POSITION, attributes, Attribute::modified, and Node::tag_modified().
Referenced by Hair::apply_transform(), Mesh::apply_transform(), PointCloud::clear(), create_mesh(), GeometryManager::device_update_preprocess(), export_hair_curves(), export_pointcloud(), ExportCurveSegments(), and PointCloud::resize().
| void Geometry::tag_radius_modified | ( | ) |
Definition at line 125 of file scene/geometry.cpp.
References AttributeSet::add(), ATTR_STD_RADIUS, attributes, Attribute::modified, and Node::tag_modified().
Referenced by Hair::apply_transform(), PointCloud::clear(), export_hair_curves(), export_pointcloud(), ExportCurveSegments(), and PointCloud::resize().
| void Geometry::tag_update | ( | Scene * | scene, |
| bool | rebuild ) |
Definition at line 205 of file scene/geometry.cpp.
References Shader::emission_sampling, EMISSION_SAMPLING_NONE, LightManager::EMISSIVE_MESH_MODIFIED, Scene::geometry_manager, GeometryManager::GEOMETRY_MODIFIED, Scene::light_manager, LightManager::MESH_NEED_REBUILD, need_update_rebuild, Node::Node(), and node.
| size_t Geometry::attr_map_offset |
Definition at line 116 of file scene/geometry.h.
Referenced by ObjectManager::device_update_geom_offsets(), Geometry(), and GeometryManager::update_svm_attributes().
| AttributeSet Geometry::attributes |
Definition at line 96 of file scene/geometry.h.
Referenced by Mesh::add_builtin_attributes(), AttributeTableBuilder::add_position_radius(), BVHBuild::add_reference_curves(), BVHBuild::add_reference_points(), BVHBuild::add_reference_triangles(), Mesh::add_undisplaced(), Mesh::add_vertex_normals(), Hair::apply_transform(), Mesh::apply_transform(), PointCloud::apply_transform(), attr_create_generic(), attr_create_generic(), attr_create_motion_from_velocity(), attr_create_motion_from_velocity(), attr_create_motion_from_velocity(), attr_create_pointiness(), attr_create_random_per_island(), attr_create_uv_map(), Hair::clear(), Mesh::clear(), PointCloud::clear(), Hair::compute_bounds(), Mesh::compute_bounds(), PointCloud::compute_bounds(), Object::compute_volume_step_size(), copy_attributes(), Hair::copy_center_to_motion_step(), Mesh::copy_center_to_motion_step(), PointCloud::copy_center_to_motion_step(), create_mesh(), PointCloud::create_missing_gsplat_attributes(), GeometryManager::create_volume_mesh(), GeometryManager::device_update_attributes(), ObjectManager::device_update_object_transform(), GeometryManager::device_update_preprocess(), GeometryManager::device_update_volume_images(), GeometryManager::displace(), EdgeDice::EdgeDice(), export_hair_curves(), export_hair_curves_motion(), export_hair_motion_validate_attribute(), export_pointcloud(), export_pointcloud_gsplat_attributes(), export_pointcloud_motion(), ExportCurveSegments(), ExportCurveSegmentsMotion(), Geometry(), get_position(), get_position_for_write(), get_radius(), get_radius_for_write(), Hair::get_uv_tiles(), Mesh::get_uv_tiles(), PointCloud::get_uv_tiles(), has_motion_blur(), Mesh::has_motion_blur(), has_voxel_attributes(), mikk_compute_tangents(), Hair::need_update_shadow_transparency(), Hair::num_keys(), PointCloud::num_points(), Mesh::num_verts(), Mesh::pack_shaders(), position_is_modified(), PointCloud::primitive_type(), radius_is_modified(), read_shader_output(), recompute_displaced_corner_normals(), recompute_displaced_vertex_normals(), BVH2::refit_primitives(), PointCloud::resize(), Hair::resize_curves(), Mesh::resize_mesh(), save_pre_displacement_normals(), SubdAttributeInterpolation::setup(), sync_smoke_volume(), sync_volume_object(), tag_position_modified(), tag_radius_modified(), Mesh::update_generated(), PointCloud::update_gsplat_radii(), update_gsplat_std_point_attribute_offset_and_flag(), Hair::update_shadow_transparency(), Mesh::update_tangents(), and xml_read_mesh().
| BoundBox Geometry::bounds |
Definition at line 102 of file scene/geometry.h.
Referenced by Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Mesh::Triangle::bounds_grow(), PointCloud::Point::bounds_grow(), PointCloud::Point::bounds_grow(), PointCloud::Point::bounds_grow(), Hair::compute_bounds(), Mesh::compute_bounds(), PointCloud::compute_bounds(), and Geometry().
| unique_ptr<BVH> Geometry::bvh |
Definition at line 115 of file scene/geometry.h.
Referenced by MultiDevice::build_bvh(), compute_bvh(), and BVH2::pack_instances().
| Type Geometry::geometry_type |
Definition at line 93 of file scene/geometry.h.
Referenced by Geometry(), is_hair(), is_light(), is_mesh(), is_pointcloud(), and is_volume().
| bool Geometry::has_surface_bssrdf |
Definition at line 121 of file scene/geometry.h.
Referenced by ObjectManager::apply_static_transforms(), GeometryManager::device_update_preprocess(), Geometry(), and is_instanced().
| bool Geometry::has_volume |
Definition at line 120 of file scene/geometry.h.
Referenced by Object::compute_volume_step_size(), GeometryManager::device_update_preprocess(), and Geometry().
| size_t Geometry::index |
Definition at line 140 of file scene/geometry.h.
Referenced by GeometryManager::device_update_attributes(), Mesh::get_subd_face(), Mesh::ObjectManager, and Hair::pack_curves().
|
static |
Definition at line 112 of file scene/geometry.h.
| bool Geometry::need_update_bvh_for_offset |
Definition at line 137 of file scene/geometry.h.
Referenced by compute_bvh(), GeometryManager::geom_calc_offset(), and Geometry().
| bool Geometry::need_update_rebuild |
Definition at line 136 of file scene/geometry.h.
Referenced by compute_bvh(), GeometryManager::create_volume_mesh(), GeometryManager::device_update_preprocess(), GeometryManager::geom_calc_offset(), Geometry(), and tag_update().
| size_t Geometry::prim_offset |
Definition at line 117 of file scene/geometry.h.
Referenced by AttributeTableBuilder::add(), AttributeTableBuilder::add_position_radius(), BakeManager::device_update(), LightManager::device_update_distribution(), GeometryManager::device_update_mesh(), fill_shader_input(), fill_shader_input(), GeometryManager::geom_calc_offset(), Geometry(), light_tree_leaf_emitters_copy_and_flatten(), Hair::pack_curves(), BVH2::pack_instances(), and BVH2::refit_primitives().
| bool Geometry::transform_applied |
Definition at line 103 of file scene/geometry.h.
Referenced by ObjectManager::apply_static_transforms(), LightTree::build(), clear(), LightManager::device_update_distribution(), Geometry(), is_instanced(), LightTreeEmitter::LightTreeEmitter(), and AttributeSet::update().
| bool Geometry::transform_negative_scaled |
Definition at line 104 of file scene/geometry.h.
Referenced by Mesh::add_vertex_normals(), clear(), GeometryManager::displace(), Geometry(), and save_pre_displacement_normals().
| Transform Geometry::transform_normal |
Definition at line 105 of file scene/geometry.h.
Referenced by Mesh::apply_transform(), clear(), and Geometry().