Simox  2.3.50
Saba::PathProcessor Class Referenceabstract

An abstract interface for path processing classes. More...

Inheritance diagram for Saba::PathProcessor:
Saba::ElasticBandProcessor Saba::ShortcutProcessor

Public Member Functions

 PathProcessor (CSpacePathPtr p, bool verbose=false)
 
virtual ~PathProcessor ()
 
virtual CSpacePathPtr optimize (int optimizeSteps)=0
 
virtual void stopExecution ()
 Stop the execution from outside. More...
 
CSpacePathPtr getOptimizedPath ()
 

Protected Attributes

CSpacePathPtr optimizedPath
 
CSpacePathPtr path
 
unsigned int dim
 
bool verbose
 
bool stopOptimization
 

Detailed Description

An abstract interface for path processing classes.

Constructor & Destructor Documentation

Saba::PathProcessor::PathProcessor ( CSpacePathPtr  p,
bool  verbose = false 
)

Constructor Creates a local copy of p.

Saba::PathProcessor::~PathProcessor ( )
virtual

Destructor Deletes local optimized path.

Member Function Documentation

CSpacePathPtr Saba::PathProcessor::getOptimizedPath ( )
virtual CSpacePathPtr Saba::PathProcessor::optimize ( int  optimizeSteps)
pure virtual

Here the path processing is executed, the number of optimizing steps can be specified.

Implemented in Saba::ElasticBandProcessor, and Saba::ShortcutProcessor.

void Saba::PathProcessor::stopExecution ( )
virtual

Stop the execution from outside.

Field Documentation

unsigned int Saba::PathProcessor::dim
protected
CSpacePathPtr Saba::PathProcessor::optimizedPath
protected
CSpacePathPtr Saba::PathProcessor::path
protected
bool Saba::PathProcessor::stopOptimization
protected
bool Saba::PathProcessor::verbose
protected