VTK
vtkFacetReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkFacetReader.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 =========================================================================*/
41 #ifndef vtkFacetReader_h
42 #define vtkFacetReader_h
43 
44 #include "vtkFiltersHybridModule.h" // For export macro
45 #include "vtkPolyDataAlgorithm.h"
46 
48 {
49 public:
50  static vtkFacetReader *New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
56  vtkSetStringMacro(FileName);
57  vtkGetStringMacro(FileName);
59 
60  static int CanReadFile(const char *filename);
61 
62 protected:
65 
67 
68  char *FileName;
69 
70 private:
71  vtkFacetReader(const vtkFacetReader&); // Not implemented.
72  void operator=(const vtkFacetReader&); // Not implemented.
73 };
74 
75 #endif
76 
vtkFacetReader::CanReadFile
static int CanReadFile(const char *filename)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkFacetReader::vtkFacetReader
vtkFacetReader()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkFacetReader
reads a dataset in Facet format
Definition: vtkFacetReader.h:48
vtkPolyDataAlgorithm.h
vtkFacetReader::FileName
char * FileName
Definition: vtkFacetReader.h:68
VTKFILTERSHYBRID_EXPORT
#define VTKFILTERSHYBRID_EXPORT
Definition: vtkFiltersHybridModule.h:15
vtkFacetReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFacetReader::~vtkFacetReader
~vtkFacetReader()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkFiltersHybridModule.h
vtkFacetReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkFacetReader::New
static vtkFacetReader * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44