VTK
vtkFacetReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkFacetReader.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
42#ifndef vtkFacetReader_h
43#define vtkFacetReader_h
44
45#include "vtkFiltersHybridModule.h" // For export macro
47
48class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent);
54
56
59 vtkSetStringMacro(FileName);
62
63 static int CanReadFile(const char *filename);
64
65protected:
68
70
71 char *FileName;
72
73private:
74 vtkFacetReader(const vtkFacetReader&) VTK_DELETE_FUNCTION;
75 void operator=(const vtkFacetReader&) VTK_DELETE_FUNCTION;
76};
77
78#endif
79
reads a dataset in Facet format
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkFacetReader * New()
static int CanReadFile(const char *filename)
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.