|
Blender
V2.93
|
#include <BKE_geometry_set.hh>
Inherits GeometryComponent.
Static Public Attributes | |
| static constexpr GeometryComponentType | static_type = GEO_COMPONENT_TYPE_VOLUME |
Additional Inherited Members | |
Static Public Member Functions inherited from GeometryComponent | |
| static GeometryComponent * | create (GeometryComponentType component_type) |
A geometry component that stores volume grids.
Definition at line 468 of file BKE_geometry_set.hh.
| VolumeComponent::VolumeComponent | ( | ) |
Definition at line 27 of file geometry_component_volume.cc.
Referenced by copy().
| VolumeComponent::~VolumeComponent | ( | ) |
Definition at line 31 of file geometry_component_volume.cc.
References clear().
| void VolumeComponent::clear | ( | ) |
Definition at line 46 of file geometry_component_volume.cc.
References BKE_id_free(), BLI_assert, GeometryComponent::is_mutable(), and Owned.
Referenced by replace(), and ~VolumeComponent().
|
overridevirtual |
Implements GeometryComponent.
Definition at line 36 of file geometry_component_volume.cc.
References BKE_volume_copy_for_eval(), Owned, and VolumeComponent().
|
overridevirtual |
Implements GeometryComponent.
Definition at line 105 of file geometry_component_volume.cc.
References BKE_volume_copy_for_eval(), BLI_assert, GeometryComponent::is_mutable(), and Owned.
| const Volume * VolumeComponent::get_for_read | ( | ) | const |
Definition at line 83 of file geometry_component_volume.cc.
Referenced by blender::nodes::compute_min_max_from_volume_and_transforms().
| Volume * VolumeComponent::get_for_write | ( | ) |
Definition at line 90 of file geometry_component_volume.cc.
References BKE_volume_copy_for_eval(), BLI_assert, GeometryComponent::is_mutable(), Owned, and ReadOnly.
| bool VolumeComponent::has_volume | ( | ) | const |
Definition at line 57 of file geometry_component_volume.cc.
|
overridevirtual |
Implements GeometryComponent.
Definition at line 100 of file geometry_component_volume.cc.
References Owned.
| Volume * VolumeComponent::release | ( | ) |
Definition at line 73 of file geometry_component_volume.cc.
References BLI_assert, and GeometryComponent::is_mutable().
| void VolumeComponent::replace | ( | Volume * | volume, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned |
||
| ) |
Definition at line 63 of file geometry_component_volume.cc.
References BLI_assert, clear(), and GeometryComponent::is_mutable().
|
inlinestaticconstexpr |
Definition at line 489 of file BKE_geometry_set.hh.