1 #ifndef VTKVIEWER_APPENDFILTER_H
2 #define VTKVIEWER_APPENDFILTER_H
6 #include <vtkAppendFilter.h>
7 #include <vtkSmartPointer.h>
14 /*! \brief This class used same as vtkAppendFilter. See documentation on VTK for more information.
16 class VTKVIEWER_EXPORT VTKViewer_AppendFilter : public vtkAppendFilter
19 /*! \fn static VTKViewer_AppendFilter *New()
21 static VTKViewer_AppendFilter *New();
23 /*! \fn vtkTypeRevisionMacro(VTKViewer_AppendFilter, vtkAppendFilter)
24 * \brief VTK type revision macros.
26 vtkTypeRevisionMacro(VTKViewer_AppendFilter, vtkAppendFilter);
28 void SetDoMappingFlag(const bool theFlag);
30 bool DoMappingFlag() const;
33 SetPoints(vtkPoints* thePoints);
39 GetPointOutputID(vtkIdType theInputID,
40 vtkIdType theInputDataSetID);
43 GetCellOutputID(vtkIdType theInputID,
44 vtkIdType theInputDataSetID);
47 GetPointInputID(vtkIdType theOutputID,
48 vtkIdType& theInputID,
49 vtkIdType& theStartID,
50 vtkIdType& theInputDataSetID);
53 GetCellInputID(vtkIdType theOutputID,
54 vtkIdType& theInputID,
55 vtkIdType& theStartID,
56 vtkIdType& theInputDataSetID);
58 typedef std::vector<vtkIdType> TVectorIds;
61 /*! \fn VTKViewer_AppendFilter();
64 VTKViewer_AppendFilter();
65 /*! \fn ~VTKViewer_AppendFilter();
68 ~VTKViewer_AppendFilter();
69 /*! \fn void Execute();
70 * \brief Filter culculation method.
72 virtual void Execute();
81 TVectorIds myNodeRanges;
82 TVectorIds myCellRanges;
83 vtkSmartPointer<vtkPoints> myPoints;