QUAOAR STUDIO // Mobius API
31 #ifndef poly_AdaptiveDistanceField_HeaderFile
32 #define poly_AdaptiveDistanceField_HeaderFile
35 #include <mobius/poly_BaseDistanceField.h>
36 #include <mobius/poly_SVO.h>
39 #include <mobius/core_IProgressNotifier.h>
40 #include <mobius/core_IPlotter.h>
61 const bool bndMode =
false,
74 const double precision,
76 const bool bndMode =
false,
82 mobiusPoly_EXPORT
virtual
103 mobiusPoly_EXPORT
bool
104 Build(
const double minCellSize,
105 const double maxCellSize,
107 const t_ptr<poly_RealFunc>& func)
override;
116 mobiusPoly_EXPORT
virtual double
117 Eval(
const double x,
const double y,
const double z)
const;
149 t_ptr<poly_AdaptiveDistanceField>
Defines an exception class C1 that inherits an exception class C2.
Definition: bspl_Decompose.h:41
bool m_bBndMode
Boundary evaluation mode.
Definition: poly_AdaptiveDistanceField.h:161
double m_fPrecision
Distance field approximation precision.
Definition: poly_AdaptiveDistanceField.h:159
mobiusPoly_EXPORT poly_AdaptiveDistanceField(const double precision, const bool isUniform, const bool bndMode=false, core_ProgressEntry progress=nullptr, core_PlotterEntry plotter=nullptr)
Definition: core_IPlotter.h:252
Definition: poly_AdaptiveDistanceField.h:48
Definition: core_IProgressNotifier.h:193
core_ProgressEntry m_progress
Progress notifier.
Definition: poly_AdaptiveDistanceField.h:162
void SetRoot(poly_SVO *pRoot)
Definition: poly_AdaptiveDistanceField.h:131
poly_SVO * m_pRoot
Root voxel.
Definition: poly_AdaptiveDistanceField.h:158
core_PlotterEntry m_plotter
Imperative plotter.
Definition: poly_AdaptiveDistanceField.h:163
void SetBoundaryEvaluationMode(const bool on)
Definition: poly_AdaptiveDistanceField.h:140
Definition: poly_SVO.h:49
virtual mobiusPoly_EXPORT ~poly_AdaptiveDistanceField()
mobiusPoly_EXPORT bool Build(const double minCellSize, const double maxCellSize, const t_ptr< poly_RealFunc > &func) override
virtual mobiusPoly_EXPORT double Eval(const double x, const double y, const double z) const
t_ptr< poly_AdaptiveDistanceField > ShallowCopy() const
Definition: poly_AdaptiveDistanceField.h:147
Definition: poly_BaseDistanceField.h:47
poly_SVO * GetRoot() override
Definition: poly_AdaptiveDistanceField.h:122
bool m_bUniform
Indicates whether uniform mode is enabled.
Definition: poly_AdaptiveDistanceField.h:160