Blender
V3.3
|
Classes | |
struct | UniformScaleFields |
struct | UniformScaleParams |
struct | AxisScaleFields |
struct | AxisScaleParams |
struct | ElementIsland |
Typedefs | |
using | GetVertexIndicesFn = FunctionRef< void(const Mesh &mesh, int element_index, VectorSet< int > &r_vertex_indices)> |
using blender::nodes::node_geo_scale_elements_cc::GetVertexIndicesFn = typedef FunctionRef<void(const Mesh &mesh, int element_index, VectorSet<int> &r_vertex_indices)> |
Definition at line 150 of file node_geo_scale_elements.cc.
|
static |
Definition at line 110 of file node_geo_scale_elements.cc.
References add_v3_v3(), center, copy_v3_v3(), blender::math::cross(), blender::float4x4::identity(), blender::math::is_zero(), blender::math::normalize(), sub_v3_v3(), transform(), blender::float4x4::transposed(), and blender::float4x4::values.
|
static |
Definition at line 278 of file node_geo_scale_elements.cc.
References blender::fn::FieldEvaluator::add(), blender::nodes::node_geo_scale_elements_cc::AxisScaleFields::axis, blender::nodes::node_geo_scale_elements_cc::AxisScaleFields::center, blender::fn::FieldEvaluator::evaluate(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), usdtokens::out(), blender::nodes::node_geo_scale_elements_cc::AxisScaleFields::scale, blender::nodes::node_geo_scale_elements_cc::AxisScaleFields::selection, and blender::fn::FieldEvaluator::set_selection().
Referenced by scale_edges_on_axis(), and scale_faces_on_axis().
|
static |
Definition at line 305 of file node_geo_scale_elements.cc.
References blender::fn::FieldEvaluator::add(), blender::nodes::node_geo_scale_elements_cc::UniformScaleFields::center, blender::fn::FieldEvaluator::evaluate(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), usdtokens::out(), blender::nodes::node_geo_scale_elements_cc::UniformScaleFields::scale, blender::nodes::node_geo_scale_elements_cc::UniformScaleFields::selection, and blender::fn::FieldEvaluator::set_selection().
Referenced by scale_edges_uniformly(), and scale_faces_uniformly().
|
static |
Definition at line 360 of file node_geo_scale_elements.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Mesh::medge, and mesh.
Referenced by scale_edges_on_axis(), and scale_edges_uniformly().
|
static |
Definition at line 269 of file node_geo_scale_elements.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), MPoly::loopstart, mesh, Mesh::mloop, Mesh::mpoly, and MPoly::totloop.
Referenced by scale_faces_on_axis(), and scale_faces_uniformly().
|
static |
Definition at line 21 of file node_geo_scale_elements.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), GEO_COMPONENT_TYPE_MESH, GEO_NODE_SCALE_ELEMENTS_SINGLE_AXIS, N_, node, and PROP_TRANSLATION.
Referenced by register_node_type_geo_scale_elements().
|
static |
Definition at line 395 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_EDGE, ATTR_DOMAIN_FACE, BLI_assert_unreachable, GEO_NODE_SCALE_ELEMENTS_SINGLE_AXIS, GEO_NODE_SCALE_ELEMENTS_UNIFORM, GeometrySet::get_component_for_write(), GeometrySet::has_mesh(), GeometrySet::modify_geometry_sets(), node, params, scale_edges_on_axis(), scale_edges_uniformly(), scale_faces_on_axis(), and scale_faces_uniformly().
Referenced by register_node_type_geo_scale_elements().
|
static |
Definition at line 45 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_FACE, GEO_NODE_SCALE_ELEMENTS_UNIFORM, and node.
|
static |
Definition at line 39 of file node_geo_scale_elements.cc.
References ptr, and uiItemR().
Referenced by register_node_type_geo_scale_elements().
|
static |
Definition at line 51 of file node_geo_scale_elements.cc.
References GEO_NODE_SCALE_ELEMENTS_SINGLE_AXIS, bNodeSocket::next, node, nodeSetSocketAvailability(), and ntree.
Referenced by register_node_type_geo_scale_elements().
|
static |
Definition at line 331 of file node_geo_scale_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_as(), blender::nodes::node_geo_scale_elements_cc::ElementIsland::element_indices, blender::DisjointSet::find_root(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_or_add(), blender::DisjointSet::join(), Mesh::medge, mesh, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), blender::IndexMask::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Mesh::totvert.
Referenced by scale_edges_on_axis(), and scale_edges_uniformly().
|
static |
Definition at line 233 of file node_geo_scale_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_as(), blender::nodes::node_geo_scale_elements_cc::ElementIsland::element_indices, blender::DisjointSet::find_root(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_or_add(), blender::DisjointSet::join(), MPoly::loopstart, mesh, Mesh::mloop, Mesh::mpoly, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), blender::IndexMask::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), MPoly::totloop, Mesh::totvert, v, v1, and v2.
Referenced by scale_faces_on_axis(), and scale_faces_uniformly().
|
static |
Definition at line 381 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_EDGE, CD_MVERT, CustomData_duplicate_referenced_layer(), evaluate_axis_scale_fields(), get_edge_vertices(), MeshComponent::get_for_write(), mesh, Mesh::mvert, params, prepare_edge_islands(), scale_vertex_islands_on_axis(), Mesh::totedge, Mesh::totvert, and Mesh::vdata.
Referenced by node_geo_exec().
|
static |
Definition at line 367 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_EDGE, CD_MVERT, CustomData_duplicate_referenced_layer(), evaluate_uniform_scale_fields(), get_edge_vertices(), MeshComponent::get_for_write(), mesh, Mesh::mvert, params, prepare_edge_islands(), scale_vertex_islands_uniformly(), Mesh::totedge, Mesh::totvert, and Mesh::vdata.
Referenced by node_geo_exec().
|
static |
Definition at line 291 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_FACE, CD_MVERT, CustomData_duplicate_referenced_layer(), evaluate_axis_scale_fields(), get_face_vertices(), MeshComponent::get_for_write(), mesh, Mesh::mvert, params, prepare_face_islands(), scale_vertex_islands_on_axis(), Mesh::totpoly, Mesh::totvert, and Mesh::vdata.
Referenced by node_geo_exec().
|
static |
Definition at line 317 of file node_geo_scale_elements.cc.
References ATTR_DOMAIN_FACE, CD_MVERT, CustomData_duplicate_referenced_layer(), evaluate_uniform_scale_fields(), get_face_vertices(), MeshComponent::get_for_write(), mesh, Mesh::mvert, params, prepare_face_islands(), scale_vertex_islands_uniformly(), Mesh::totpoly, Mesh::totvert, and Mesh::vdata.
Referenced by node_geo_exec().
|
static |
Definition at line 189 of file node_geo_scale_elements.cc.
References blender::Span< T >::index_range(), and blender::threading::parallel_for().
Referenced by scale_edges_on_axis(), and scale_faces_on_axis().
|
static |
Definition at line 153 of file node_geo_scale_elements.cc.
References blender::Span< T >::index_range(), and blender::threading::parallel_for().
Referenced by scale_edges_uniformly(), and scale_faces_uniformly().
|
static |
Definition at line 100 of file node_geo_scale_elements.cc.
References center, and KDL::diff().