#include "VTKViewer.h"
#include <list>
#include <map>
#include <vector>
#include <vtkType.h>
#include <vtkSmartPointer.h>
Go to the source code of this file.
|
vtkIdType | MergevtkPoints (const std::vector< vtkSmartPointer< vtkPoints > > &theCollection, const std::vector< std::vector< double > > &theScalarCollection, vtkPoints *thePoints, std::map< int, double > &thePntId2ScalarValue, vtkIdType *&theIds) |
|
vtkIdType | Build1DArc (vtkIdType cellId, vtkUnstructuredGrid *input, vtkPolyData *output, vtkIdType *pts, double myMaxArcAngle) |
|
Pnt | CreatePnt (vtkCell *cell, vtkDataArray *scalars, vtkIdType index) |
|
vtkIdType Build1DArc |
( |
vtkIdType |
cellId, |
|
|
vtkUnstructuredGrid * |
input, |
|
|
vtkPolyData * |
output, |
|
|
vtkIdType * |
pts, |
|
|
double |
myMaxArcAngle |
|
) |
| |
Pnt CreatePnt |
( |
vtkCell * |
cell, |
|
|
vtkDataArray * |
scalars, |
|
|
vtkIdType |
index |
|
) |
| |
vtkIdType MergevtkPoints |
( |
const std::vector< vtkSmartPointer< vtkPoints > > & |
theCollection, |
|
|
const std::vector< std::vector< double > > & |
theScalarCollection, |
|
|
vtkPoints * |
thePoints, |
|
|
std::map< int, double > & |
thePntId2ScalarValue, |
|
|
vtkIdType *& |
theIds |
|
) |
| |
Add all points from the input vector theCollection into thePoints. Array theIds - it is array with ids of added points.