VTK
vtkHoudiniPolyDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHoudiniPolyDataWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkHoudiniPolyDataWriter_h
26 #define vtkHoudiniPolyDataWriter_h
27 
28 #include "vtkIOGeometryModule.h" // For export macro
29 #include "vtkWriter.h"
30 
31 class vtkPolyData;
32 
33 class VTKIOGEOMETRY_EXPORT vtkHoudiniPolyDataWriter : public vtkWriter
34 {
35 public:
36  static vtkHoudiniPolyDataWriter* New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
41 
44  vtkGetStringMacro(FileName);
45  vtkSetStringMacro(FileName);
47 
48 protected:
50  ~vtkHoudiniPolyDataWriter() VTK_OVERRIDE;
51 
52  void WriteData() VTK_OVERRIDE;
53 
54  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
55 
56  char* FileName;
57 
58 private:
59  vtkHoudiniPolyDataWriter(const vtkHoudiniPolyDataWriter&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkHoudiniPolyDataWriter&) VTK_DELETE_FUNCTION;
61 
62 };
63 
64 #endif
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
abstract class to write data to file(s)
Definition: vtkWriter.h:42
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
write vtk polygonal data to Houdini file.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
static vtkAlgorithm * New()