Simox  2.3.74.0
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

◆ PathProcessor()

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

Constructor Creates a local copy of p.

◆ ~PathProcessor()

Saba::PathProcessor::~PathProcessor ( )
virtualdefault

Destructor Deletes local optimized path.

Member Function Documentation

◆ getOptimizedPath()

CSpacePathPtr Saba::PathProcessor::getOptimizedPath ( )

◆ optimize()

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.

◆ stopExecution()

void Saba::PathProcessor::stopExecution ( )
virtual

Stop the execution from outside.

Field Documentation

◆ dim

unsigned int Saba::PathProcessor::dim
protected

◆ optimizedPath

CSpacePathPtr Saba::PathProcessor::optimizedPath
protected

◆ path

CSpacePathPtr Saba::PathProcessor::path
protected

◆ stopOptimization

bool Saba::PathProcessor::stopOptimization
protected

◆ verbose

bool Saba::PathProcessor::verbose
protected