Blender V5.0
sculpt_undo.hh File Reference
#include <cstdint>
#include "BLI_index_mask_fwd.hh"
#include "BLI_span.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::pbvh
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::undo
namespace  blender::ed::sculpt_paint::undo::compression

Enumerations

enum class  blender::ed::sculpt_paint::undo::Type : int8_t {
  blender::ed::sculpt_paint::undo::None , blender::ed::sculpt_paint::undo::Position , blender::ed::sculpt_paint::undo::HideVert , blender::ed::sculpt_paint::undo::HideFace ,
  blender::ed::sculpt_paint::undo::Mask , blender::ed::sculpt_paint::undo::DyntopoBegin , blender::ed::sculpt_paint::undo::DyntopoEnd , blender::ed::sculpt_paint::undo::Geometry ,
  blender::ed::sculpt_paint::undo::FaceSet , blender::ed::sculpt_paint::undo::Color
}

Functions

void blender::ed::sculpt_paint::undo::push_node (const Depsgraph &depsgraph, const Object &object, const bke::pbvh::Node *node, const Type type)
void blender::ed::sculpt_paint::undo::push_nodes (const Depsgraph &depsgraph, Object &object, const IndexMask &node_mask, const Type type)
void blender::ed::sculpt_paint::undo::push_begin (const Scene &scene, Object &ob, const wmOperator *op)
void blender::ed::sculpt_paint::undo::push_enter_sculpt_mode (const Scene &, Object &ob, const wmOperator *op)
void blender::ed::sculpt_paint::undo::push_begin_ex (const Scene &, Object &ob, const char *name)
void blender::ed::sculpt_paint::undo::push_end (Object &ob)
void blender::ed::sculpt_paint::undo::push_end_ex (Object &ob, const bool use_nested_undo)
void blender::ed::sculpt_paint::undo::restore_from_bmesh_enter_geometry (const StepData &step_data, Mesh &mesh)
bool blender::ed::sculpt_paint::undo::has_bmesh_log_entry ()
void blender::ed::sculpt_paint::undo::restore_position_from_undo_step (const Depsgraph &depsgraph, Object &object)
template<typename T>
void blender::ed::sculpt_paint::undo::compression::filter_compress (const Span< T > src, Vector< std::byte > &filter_buffer, Vector< std::byte > &compress_buffer)
template<typename T>
void blender::ed::sculpt_paint::undo::compression::filter_decompress (const Span< std::byte > src, Vector< std::byte > &buffer, Vector< T > &dst)