QUAOAR STUDIO // Mobius API
mobius::poly_Tessellator Class Referenceabstract

#include <poly_Tessellator.h>

Inheritance diagram for mobius::poly_Tessellator:
Collaboration diagram for mobius::poly_Tessellator:

Classes

struct  t_vertexComparator
 Compare functor for coordinate tuples. More...
 

Public Member Functions

mobiusPoly_EXPORT poly_Tessellator (core_ProgressEntry progress=nullptr, core_PlotterEntry plotter=nullptr)
 
virtual mobiusPoly_EXPORT ~poly_Tessellator ()
 Dtor.
 
mobiusPoly_EXPORT bool Perform (const double isoValue)
 
const t_ptr< t_mesh > & GetResult () const
 
- Public Member Functions inherited from mobius::core_IAlgorithm
core_ProgressEntryGetProgress () const
 
core_PlotterEntryGetPlotter () const
 
void SetStatusCode (const int status)
 
int GetStatusCode () const
 
void AddStatusCode (const int statBit)
 
bool HasStatusCode (const int statBit) const
 
- Public Member Functions inherited from mobius::core_OBJECT
mobiusCore_EXPORT void IncRef ()
 
mobiusCore_EXPORT void DecRef ()
 
mobiusCore_EXPORT int NbRefs () const
 
virtual mobiusCore_EXPORT void Dump (std::ostream *out) const
 
const mobiusCore_EXPORT std::string & GetName () const
 
mobiusCore_EXPORT void SetName (const std::string &name)
 
mobiusCore_EXPORT bool HasName () const
 

Protected Types

typedef std::map< t_xyz, int, t_vertexComparatort_vertexMap
 Map to store the set of indices for 3D mesh point.
 

Protected Attributes

t_ptr< t_meshm_result
 Reconstructed mesh.
 
- Protected Attributes inherited from mobius::core_IAlgorithm
core_ProgressEntry m_progress
 Progress Notifier.
 
core_PlotterEntry m_plotter
 Imperative Plotter.
 
int m_iStatusCode
 

Additional Inherited Members

- Protected Member Functions inherited from mobius::core_OPERATOR
mobiusCore_EXPORT core_OPERATOR (core_ProgressEntry progress, core_PlotterEntry plotter)
 
- Protected Member Functions inherited from mobius::core_IAlgorithm
mobiusCore_EXPORT core_IAlgorithm (core_ProgressEntry progress, core_PlotterEntry plotter)
 

Detailed Description

Base class for all DDF tessellators.

Constructor & Destructor Documentation

◆ poly_Tessellator()

mobiusPoly_EXPORT mobius::poly_Tessellator::poly_Tessellator ( core_ProgressEntry  progress = nullptr,
core_PlotterEntry  plotter = nullptr 
)

Ctor with initialization.

Parameters
[in]progressprogress notifier.
[in]plotterimperative plotter.

Member Function Documentation

◆ GetResult()

const t_ptr<t_mesh>& mobius::poly_Tessellator::GetResult ( ) const
inline
Returns
constructed mesh.

◆ Perform()

mobiusPoly_EXPORT bool mobius::poly_Tessellator::Perform ( const double  isoValue)

Performs polygonal approximation.

Parameters
[in]isoValueisolevel of the implicit function to reconstruct.
Returns
true in case of success, false – otherwise.

The documentation for this class was generated from the following file: