VTK  9.2.5
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) override;
54
56
62
63 static int CanReadFile(VTK_FILEPATH const char* filename);
64
65protected:
67 ~vtkFacetReader() override;
68
70
71 char* FileName;
72
73private:
74 vtkFacetReader(const vtkFacetReader&) = delete;
75 void operator=(const vtkFacetReader&) = delete;
76};
77
78#endif
reads a dataset in Facet format
vtkSetFilePathMacro(FileName)
Specify file name of Facet datafile to read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static int CanReadFile(VTK_FILEPATH const char *filename)
static vtkFacetReader * New()
vtkGetFilePathMacro(FileName)
Specify file name of Facet datafile to read.
~vtkFacetReader() override
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.
#define VTK_FILEPATH