GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
vtkPolylineDecimation Class Reference

Decimate a polyline. More...

#include <Code/ExternalCode/MegaVTK/vtkRenderingAddOn/vtkPolylineDecimation.h>

Inheritance diagram for vtkPolylineDecimation:
Inheritance graph
[legend]
Collaboration diagram for vtkPolylineDecimation:
Collaboration graph
[legend]

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
 
 vtkGetMacro (TargetReduction, double)
 Get the target reduction. More...
 
 vtkSetClampMacro (TargetReduction, double, 0.0, 1.0)
 Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size) More...
 
 vtkTypeRevisionMacro (vtkPolylineDecimation, vtkPolyDataAlgorithm)
 

Static Public Member Functions

static vtkPolylineDecimationNew ()
 Instantiate this object with a target reduction of 0.90. More...
 

Protected Member Functions

double ComputeError (vtkPolyData *input, int prev, int id, int next)
 
int GetNext (const int &iId)
 
int GetPrev (const int &iId)
 
int RequestData (vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void UpdateError (vtkPolyData *input, const int &iId)
 
 vtkPolylineDecimation ()
 
 ~vtkPolylineDecimation ()
 

Protected Attributes

bool Closed
 
vtkPriorityQueue * PriorityQueue
 
double TargetReduction
 
std::map< int, double > VertexErrorMap
 

Private Member Functions

void operator= (const vtkPolylineDecimation &)
 
 vtkPolylineDecimation (const vtkPolylineDecimation &)
 

Detailed Description

Decimate a polyline.

Note
With the git version of VTK, this class does not make any sense (the code has been contributed back to VTK)

Definition at line 52 of file vtkPolylineDecimation.h.

Constructor & Destructor Documentation

vtkPolylineDecimation::vtkPolylineDecimation ( )
protected

Definition at line 58 of file vtkPolylineDecimation.cxx.

vtkPolylineDecimation::~vtkPolylineDecimation ( )
protected

Definition at line 66 of file vtkPolylineDecimation.cxx.

vtkPolylineDecimation::vtkPolylineDecimation ( const vtkPolylineDecimation )
private

Member Function Documentation

double vtkPolylineDecimation::ComputeError ( vtkPolyData *  input,
int  prev,
int  id,
int  next 
)
protected

Definition at line 71 of file vtkPolylineDecimation.cxx.

int vtkPolylineDecimation::GetNext ( const int &  iId)
protected

Definition at line 223 of file vtkPolylineDecimation.cxx.

int vtkPolylineDecimation::GetPrev ( const int &  iId)
protected

Definition at line 198 of file vtkPolylineDecimation.cxx.

static vtkPolylineDecimation* vtkPolylineDecimation::New ( )
static

Instantiate this object with a target reduction of 0.90.

void vtkPolylineDecimation::operator= ( const vtkPolylineDecimation )
private
void vtkPolylineDecimation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Definition at line 264 of file vtkPolylineDecimation.cxx.

int vtkPolylineDecimation::RequestData ( vtkInformation *  vtkNotUsedrequest,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protected

Definition at line 95 of file vtkPolylineDecimation.cxx.

void vtkPolylineDecimation::UpdateError ( vtkPolyData *  input,
const int &  iId 
)
protected

Definition at line 244 of file vtkPolylineDecimation.cxx.

vtkPolylineDecimation::vtkGetMacro ( TargetReduction  ,
double   
)

Get the target reduction.

vtkPolylineDecimation::vtkSetClampMacro ( TargetReduction  ,
double  ,
0.  0,
1.  0 
)

Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size)

vtkPolylineDecimation::vtkTypeRevisionMacro ( vtkPolylineDecimation  ,
vtkPolyDataAlgorithm   
)

Member Data Documentation

bool vtkPolylineDecimation::Closed
protected

Definition at line 92 of file vtkPolylineDecimation.h.

vtkPriorityQueue* vtkPolylineDecimation::PriorityQueue
protected

Definition at line 95 of file vtkPolylineDecimation.h.

double vtkPolylineDecimation::TargetReduction
protected

Definition at line 93 of file vtkPolylineDecimation.h.

std::map< int, double > vtkPolylineDecimation::VertexErrorMap
protected

Definition at line 94 of file vtkPolylineDecimation.h.


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