19 MAQUINA_IGNORE_WARNINGS_BEGIN
21 #include <tbb/parallel_for.h> 22 MAQUINA_IGNORE_WARNINGS_END
24 class TransferSculptGeometryUserData;
65 Array get_help(
const char *tool)
final;
66 Array get_status(
const char *tool)
final;
67 bool on_key_press(int32_t key, int32_t modifiers)
final;
68 bool on_key_release(int32_t key, int32_t modifiers)
final;
71 void stroke_begin(
int modifiers);
73 void update_weights(
bool first,
const Imath::M44f&)
final;
74 float weight(
float distance)
final;
78 std::shared_ptr<BrushSculptUserData> user_data(
88 bool preserve_edges() final;
90 Operation operation(
bool* invert=
nullptr) const;
98 bool _attribute_exponential();
106 int _attribute_change_init = 0;
107 float _attribute_init = 0.f;
117 std::vector<uint32_t> _source_tri_to_face;
118 SpanSpan<const uint32_t, const uint32_t> _source_topo_face;
123 friend class ::TransferSculptGeometryUserData;
An animation curve for floating point values. That type of curves contains tangents.
Definition: AnimCurve.h:229
MAQUINA_EXPORT std::vector< uint8_t > inflate(const uint8_t *data, size_t size)
Uncompress a bunch of binary data with zlib.
Definition: ImathFrame.h:43
A mesh value.
Definition: Mesh.h:33
A readonly buffer for basic types like floats, integers, Imath::V3f, Imath::M44f..
Definition: Buffer.h:42
This class provides viewport space conversion services.
Definition: CameraContext.h:23
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
Matrix44< double > M44d
Definition: ImathMatrix.h:812
Operation
Definition: BrushSculpt.h:32
Base class for the sculpt brush plug-ins.
Definition: BrushSculptPlugin.h:32
Definition: BrushPlugin.h:36
MAQUINA_EXPORT Value default_value(const maquina::StringView &type_name)
Return the default value of a type.
none
Definition: BrushID.h:29
An array of values.
Definition: Array.h:26
MAQUINA_EXPORT Node reference(Node &root, const std::wstring &filepath, const std::string &reference_root_name="", const ProgressCallback &progress={})
Reference the content of a file into the project.
#define MAQUINA_EXPORT
Definition: Export.h:31
A node plug.
Definition: Plug.h:59
An immutable scene node value.
Definition: Scene.h:35
Force to match the selection controller's mirrored channels.
A writable SparseBuffer.
Definition: SparseBuffer.h:55
This interface is passed to the events and is implemented by the application. */. ...
Definition: InteractionContext.h:22
A bounding volume hierarchy to quickly intersect 3d triangles.
Definition: BVHTriangle.h:24
Definition: ImathBox.h:67
Definition: BrushSculpt.h:28
SetBrushAttribute
Definition: BrushSculpt.h:48
A view on a "vector of sub-vectors of values" container.
Definition: SpanSpan.h:31
Base class of all Rumba nodes.
Definition: Node.h:37