| 47 | |
| 48 | template<class Type> |
| 49 | class vtkSetWriter |
| 50 | : |
| 51 | public writer<Type> |
| 52 | { |
| 53 | |
| 54 | public: |
| 55 | |
| 56 | //- Runtime type information |
| 57 | TypeName("vtk"); |
| 58 | |
| 59 | |
| 60 | // Constructors |
| 61 | |
| 62 | //- Construct null |
| 63 | vtkSetWriter(); |
| 64 | |
| 65 | |
| 66 | //- Destructor |
| 67 | virtual ~vtkSetWriter(); |
| 68 | |
| 69 | |
| 70 | // Member Functions |
| 71 | |
| 72 | virtual fileName getFileName |
| 73 | ( |
| 74 | const coordSet&, |
| 75 | const wordList& |
| 76 | ) const; |
| 77 | |
| 78 | virtual void write |
| 79 | ( |
| 80 | const coordSet&, |
| 81 | const wordList&, |
| 82 | const List<const Field<Type>*>&, |
| 83 | Ostream& |
| 84 | ) const; |
| 85 | |
| 86 | virtual void write |
| 87 | ( |
| 88 | const bool writeTracks, |
| 89 | const PtrList<coordSet>&, |
| 90 | const wordList& valueSetNames, |
| 91 | const List<List<Field<Type>>>&, |
| 92 | Ostream& |
| 93 | ) const; |
| 94 | }; |
| 95 | |
| 96 | |
| 97 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |