Blender V4.3
sculpt_dyntopo.hh File Reference
#include "BLI_utildefines.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::undo
 
namespace  blender::ed::sculpt_paint::dyntopo
 
namespace  blender::ed::sculpt_paint::dyntopo::detail_size
 

Enumerations

enum  blender::ed::sculpt_paint::dyntopo::WarnFlag { blender::ed::sculpt_paint::dyntopo::VDATA = (1 << 0) , blender::ed::sculpt_paint::dyntopo::EDATA = (1 << 1) , blender::ed::sculpt_paint::dyntopo::LDATA = (1 << 2) , blender::ed::sculpt_paint::dyntopo::MODIFIER = (1 << 3) }
 

Functions

 blender::ed::sculpt_paint::dyntopo::ENUM_OPERATORS (WarnFlag, MODIFIER)
 
void blender::ed::sculpt_paint::dyntopo::enable_ex (Main &bmain, Depsgraph &depsgraph, Object &ob)
 
void blender::ed::sculpt_paint::dyntopo::disable (bContext *C, undo::StepData *undo_step)
 
void blender::ed::sculpt_paint::dyntopo::disable_with_undo (Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob)
 
bool blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo (const Object &object, const Brush &brush)
 
void blender::ed::sculpt_paint::dyntopo::triangulate (BMesh *bm)
 
WarnFlag blender::ed::sculpt_paint::dyntopo::check_attribute_warning (Scene &scene, Object &ob)
 
float blender::ed::sculpt_paint::dyntopo::detail_size::constant_to_detail_size (const float constant_detail, const Object &ob)
 
float blender::ed::sculpt_paint::dyntopo::detail_size::brush_to_detail_size (const float brush_percent, const float brush_radius)
 
float blender::ed::sculpt_paint::dyntopo::detail_size::relative_to_detail_size (const float relative_detail, const float brush_radius, const float pixel_radius, const float pixel_size)
 
float blender::ed::sculpt_paint::dyntopo::detail_size::constant_to_brush_detail (const float constant_detail, const float brush_radius, const Object &ob)
 
float blender::ed::sculpt_paint::dyntopo::detail_size::constant_to_relative_detail (const float constant_detail, const float brush_radius, const float pixel_radius, const float pixel_size, const Object &ob)
 

Variables

constexpr float blender::ed::sculpt_paint::dyntopo::detail_size::RELATIVE_SCALE_FACTOR = 0.4f
 
constexpr float blender::ed::sculpt_paint::dyntopo::detail_size::EDGE_LENGTH_MIN_FACTOR = 0.4f