Developer Documentation
SmootherObject Class Reference
Inheritance diagram for SmootherObject:
PerObjectData

Public Member Functions

PerObjectDatacopyPerObjectData ()
 Copy Function. More...
 
void component (SmoothingComponent _comp)
 
void continuity (SmoothingContinuity _cont)
 
void distance (float _distance)
 
void features (bool _features)
 
void iterations (uint _iterations)
 
void initialized (bool _initialized)
 
SmoothingComponent component ()
 
SmoothingContinuity continuity ()
 
float distance ()
 
bool features ()
 
uint iterations ()
 
bool initialized ()
 
- Public Member Functions inherited from PerObjectData
 PerObjectData ()
 You have to provide your own constructor for your object. More...
 
virtual PerObjectDatacopyPerObjectData ()
 Copy Function. More...
 

Private Types

typedef OpenMesh::Smoother::SmootherT< TriMesh >::Component SmoothingComponent
 
typedef OpenMesh::Smoother::SmootherT< TriMesh >::Continuity SmoothingContinuity
 

Private Attributes

SmoothingComponent component_
 
SmoothingContinuity continuity_
 
float distance_
 
bool respectFeatures_
 
uint iterations_
 
bool initialized_
 

Detailed Description

Definition at line 51 of file SmootherObject.hh.

Member Typedef Documentation

◆ SmoothingComponent

Definition at line 63 of file SmootherObject.hh.

◆ SmoothingContinuity

typedef OpenMesh::Smoother::SmootherT<TriMesh>::Continuity SmootherObject::SmoothingContinuity
private

Definition at line 64 of file SmootherObject.hh.

Constructor & Destructor Documentation

◆ SmootherObject()

SmootherObject::SmootherObject ( )

Definition at line 47 of file SmootherObject.cc.

◆ ~SmootherObject()

SmootherObject::~SmootherObject ( )

Definition at line 55 of file SmootherObject.cc.

Member Function Documentation

◆ component() [1/2]

SmoothingComponent SmootherObject::component ( )
inline

Definition at line 76 of file SmootherObject.hh.

◆ component() [2/2]

void SmootherObject::component ( SmoothingComponent  _comp)
inline

Definition at line 69 of file SmootherObject.hh.

◆ continuity() [1/2]

SmoothingContinuity SmootherObject::continuity ( )
inline

Definition at line 77 of file SmootherObject.hh.

◆ continuity() [2/2]

void SmootherObject::continuity ( SmoothingContinuity  _cont)
inline

Definition at line 70 of file SmootherObject.hh.

◆ copyPerObjectData()

PerObjectData * SmootherObject::copyPerObjectData ( )
virtual

Copy Function.

You have to reimplement this function to allow the core to create a copies of your Object. By default it will return 0;

The function has to create a deep copy of the object, as it will also be used to create backups. If you use pointer inside your class, remember to not copy the pointer only but also the data!

Reimplemented from PerObjectData.

Definition at line 58 of file SmootherObject.cc.

◆ distance() [1/2]

float SmootherObject::distance ( )
inline

Definition at line 78 of file SmootherObject.hh.

◆ distance() [2/2]

void SmootherObject::distance ( float  _distance)
inline

Definition at line 71 of file SmootherObject.hh.

◆ features() [1/2]

bool SmootherObject::features ( )
inline

Definition at line 79 of file SmootherObject.hh.

◆ features() [2/2]

void SmootherObject::features ( bool  _features)
inline

Definition at line 72 of file SmootherObject.hh.

◆ initialized() [1/2]

bool SmootherObject::initialized ( )
inline

Definition at line 81 of file SmootherObject.hh.

◆ initialized() [2/2]

void SmootherObject::initialized ( bool  _initialized)
inline

Definition at line 74 of file SmootherObject.hh.

◆ iterations() [1/2]

uint SmootherObject::iterations ( )
inline

Definition at line 80 of file SmootherObject.hh.

◆ iterations() [2/2]

void SmootherObject::iterations ( uint  _iterations)
inline

Definition at line 73 of file SmootherObject.hh.

Member Data Documentation

◆ component_

SmoothingComponent SmootherObject::component_
private

Definition at line 86 of file SmootherObject.hh.

◆ continuity_

SmoothingContinuity SmootherObject::continuity_
private

Definition at line 89 of file SmootherObject.hh.

◆ distance_

float SmootherObject::distance_
private

Definition at line 92 of file SmootherObject.hh.

◆ initialized_

bool SmootherObject::initialized_
private

Definition at line 99 of file SmootherObject.hh.

◆ iterations_

uint SmootherObject::iterations_
private

Definition at line 96 of file SmootherObject.hh.

◆ respectFeatures_

bool SmootherObject::respectFeatures_
private

Definition at line 93 of file SmootherObject.hh.


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