|
Rumba C++ SDK
|
#include <BrushPlugin.h>
Classes | |
| struct | Vertex |
Public Member Functions | |
| GeometryData (const std::string &path, const Mesh &displayed_mesh, const Imath::M44d &displayed_matrix, const Mesh &input_mesh, const Imath::M44d &input_matrix, bool side) | |
Public Attributes | |
| bool | dirty |
| Set this flag to update its geometry. More... | |
| const std::string | path |
| The mesh's path in the edited scene. More... | |
| Mesh | displayed_mesh |
| The displayed mesh in the viewport, may not be the same than the output mesh of the deformer node if other deformers are following ! More... | |
| const Imath::M44d | displayed_matrix |
| The displayed mesh precomputed matrices. More... | |
| const Imath::M44d | displayed_inversed_matrix |
| The world to local mesh matrix. More... | |
| const Imath::M44d | displayed_inversed_transposed_matrix |
| The mesh matrix to transform the normals from local to world. More... | |
| BufferV3f | displayed_normals |
| The displayed mesh normals. More... | |
| const Mesh | input_mesh |
| The input mesh of the deformer node. More... | |
| const Imath::M44d | input_matrix |
| The input mesh precomputed matrices. More... | |
| const Imath::M44d | input_inversed_matrix |
| The world to local mesh matrix. More... | |
| const Imath::M44d | input_inversed_transposed_matrix |
| The mesh matrix to transform the normals from local to world. More... | |
| std::vector< Vertex > | weights |
| The vertex weights computed since the last stroke update. More... | |
| std::vector< float > | accum_weights |
| The accumulated weights since the beginning of the stroke. More... | |
| std::shared_ptr< BrushUserData > | user_data |
| Optional user provided data. The data set in that field will be passed at the next stroke_update call. More... | |
| bool | side |
| Where the brush is at the start of the stroke: true for left, false for right. More... | |
| maquina::BrushPlugin::GeometryData::GeometryData | ( | const std::string & | path, |
| const Mesh & | displayed_mesh, | ||
| const Imath::M44d & | displayed_matrix, | ||
| const Mesh & | input_mesh, | ||
| const Imath::M44d & | input_matrix, | ||
| bool | side | ||
| ) |
| std::vector<float> maquina::BrushPlugin::GeometryData::accum_weights |
The accumulated weights since the beginning of the stroke.
| bool maquina::BrushPlugin::GeometryData::dirty |
Set this flag to update its geometry.
| const Imath::M44d maquina::BrushPlugin::GeometryData::displayed_inversed_matrix |
The world to local mesh matrix.
| const Imath::M44d maquina::BrushPlugin::GeometryData::displayed_inversed_transposed_matrix |
The mesh matrix to transform the normals from local to world.
| const Imath::M44d maquina::BrushPlugin::GeometryData::displayed_matrix |
The displayed mesh precomputed matrices.
The local to world mesh matrix
| Mesh maquina::BrushPlugin::GeometryData::displayed_mesh |
The displayed mesh in the viewport, may not be the same than the output mesh of the deformer node if other deformers are following !
| BufferV3f maquina::BrushPlugin::GeometryData::displayed_normals |
The displayed mesh normals.
Computed smooth mesh normals
| const Imath::M44d maquina::BrushPlugin::GeometryData::input_inversed_matrix |
The world to local mesh matrix.
| const Imath::M44d maquina::BrushPlugin::GeometryData::input_inversed_transposed_matrix |
The mesh matrix to transform the normals from local to world.
| const Imath::M44d maquina::BrushPlugin::GeometryData::input_matrix |
The input mesh precomputed matrices.
The local to world mesh matrix
| const Mesh maquina::BrushPlugin::GeometryData::input_mesh |
The input mesh of the deformer node.
| const std::string maquina::BrushPlugin::GeometryData::path |
The mesh's path in the edited scene.
| bool maquina::BrushPlugin::GeometryData::side |
Where the brush is at the start of the stroke: true for left, false for right.
| std::shared_ptr<BrushUserData> maquina::BrushPlugin::GeometryData::user_data |
Optional user provided data. The data set in that field will be passed at the next stroke_update call.
| std::vector<Vertex> maquina::BrushPlugin::GeometryData::weights |
The vertex weights computed since the last stroke update.
If empty, this geometry has not been touched since the last stroke update