11 #ifndef _VTK_ONE_SKELETON_H
12 #define _VTK_ONE_SKELETON_H
22 #include <vtkCellArray.h>
23 #include <vtkDataSet.h>
24 #include <vtkGenericCell.h>
25 #include <vtkIdList.h>
26 #include <vtkPolyData.h>
27 #include <vtkSmartPointer.h>
28 #include <vtkUnstructuredGrid.h>
48 vector<pair<int, int> > &edgeList,
49 const bool &isTriangulation =
false)
const;
58 vector<vector<pair<int, int> > > &edgeLists)
const{
93 vector<vector<int> > &starList,
94 vector<pair<int, int> > *edgeList = NULL,
95 vector<vector<int> > *vertexStars = NULL,
96 const bool &isTriangulation =
false)
const;
106 vector<pair<int, int> > &edgeList)
const{
111 input->GetNumberOfCells(), input->GetPolys()->GetPointer(),
125 vector<pair<int, int> > &edgeList)
const{
130 input->GetNumberOfCells(), input->GetCells()->GetPointer(),
162 vector<vector<int> > &starList,
163 vector<pair<int, int> > *edgeList = NULL,
164 vector<vector<int> > *vertexStars = NULL)
const{
169 input->GetNumberOfCells(), input->GetPolys()->GetPointer(),
170 starList, edgeList, vertexStars);
199 vector<vector<int> > &starList,
200 vector<pair<int, int> > *edgeList = NULL,
201 vector<vector<int> > *vertexStars = NULL)
const{
206 input->GetNumberOfCells(), input->GetCells()->GetPointer(),
207 starList, edgeList, vertexStars);
217 bool needsToAbort(){
return false;};
219 int updateProgress(
const float &progress) {
return 0;};
222 #endif // _VTK_ONE_SKELETON_H
OneSkeleton processing package.
Definition: OneSkeleton.h:25
int buildTriangulationEdgeStars(vtkPolyData *input, vector< vector< int > > &starList, vector< pair< int, int > > *edgeList=NULL, vector< vector< int > > *vertexStars=NULL) const
Definition: vtkOneSkeleton.h:161
vtkOneSkeleton()
Definition: vtkOneSkeleton.cpp:3
VTK helper that processes the 1-skeleton (edges) of a data-set.
Definition: vtkOneSkeleton.h:33
int buildTriangulationEdgeList(vtkUnstructuredGrid *input, vector< pair< int, int > > &edgeList) const
Definition: vtkOneSkeleton.h:124
Wrapper class to wrap wtfit code.
Definition: Wrapper.h:15
int setWrapper(const Wrapper *wrapper)
Definition: Debug.cpp:76
int buildEdgeList(const int &vertexNumber, const int &cellNumber, const long long int *cellArray, vector< pair< int, int > > &edgeList) const
Definition: OneSkeleton.cpp:13
int buildTriangulationEdgeList(vtkPolyData *input, vector< pair< int, int > > &edgeList) const
Definition: vtkOneSkeleton.h:105
int buildEdgeStars(vtkDataSet *input, vector< vector< int > > &starList, vector< pair< int, int > > *edgeList=NULL, vector< vector< int > > *vertexStars=NULL, const bool &isTriangulation=false) const
Definition: vtkOneSkeleton.cpp:183
int buildEdgeStars(const int &vertexNumber, const int &cellNumber, const long long int *cellArray, vector< vector< int > > &starList, vector< pair< int, int > > *edgeList=NULL, vector< vector< int > > *vertexStars=NULL) const
Definition: OneSkeleton.cpp:203
int buildEdgeLists(const vector< vector< long long int > > &cellArrays, vector< vector< pair< int, int > > > &edgeLists) const
Definition: OneSkeleton.cpp:159
int buildTriangulationEdgeStars(vtkUnstructuredGrid *input, vector< vector< int > > &starList, vector< pair< int, int > > *edgeList=NULL, vector< vector< int > > *vertexStars=NULL) const
Definition: vtkOneSkeleton.h:198
int buildEdgeLists(const vector< vector< long long int > > &cellArays, vector< vector< pair< int, int > > > &edgeLists) const
Definition: vtkOneSkeleton.h:57
int buildEdgeList(vtkDataSet *input, vector< pair< int, int > > &edgeList, const bool &isTriangulation=false) const
Definition: vtkOneSkeleton.cpp:8