Graphite
Version 3
An experimental 3D geometry processing program
|
Tools to paint attributes on meshes. More...
Go to the source code of this file.
Classes | |
class | OGF::MeshGrobPaintTool |
class | OGF::MeshGrobPaintRect |
A rect selection tool that paints attribute values in a mesh. More... | |
class | OGF::MeshGrobPaint |
A tool that paints attribute values in a mesh. More... | |
class | OGF::MeshGrobPaintFreeform |
Paint attributes using free-form selection. More... | |
class | OGF::MeshGrobPaintConnected |
Paint attributes in connected components. More... | |
class | OGF::MeshGrobProbe |
A tool that probes attribute values in a mesh. More... | |
class | OGF::MeshGrobRuler |
A tool that measures distances. More... | |
Namespaces | |
OGF | |
Global Graphite namespace. | |
Enumerations | |
enum | OGF::PaintOp { OGF::PAINT_SET , OGF::PAINT_RESET , OGF::PAINT_INC , OGF::PAINT_DEC } |
A painting operation. More... | |
Tools to paint attributes on meshes.
The tools can paint attributes of arbitrary types on mesh vertices, mesh facets or mesh cells. They also work for painting selections, implemented as Attribute<bool>. The tool systematically applies to the visible attribute selected in the current shader. If no visible attribute is selected, then the tool selects the vertices selection and displays it in the shader.
Two picking modes are available:
For attributes attached to the vertices of the mesh, it is possible to indirectly select them by picking a facet or a cell. Then if a facet or a cell is picked, then all the facet or cell vertices are painted. This behavior can be switched of by selecting the 'paint_vertices_only' property.
Some properties are shared by all the painting tools. Changing it in one of the tools automatically changes it in all other tools. This concerns:
Definition in file mesh_grob_paint_tools.h.