VTK  9.1.0
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=========================================================================*/
39#ifndef vtkFacetReader_h
40#define vtkFacetReader_h
41
42#include "vtkFiltersHybridModule.h" // For export macro
44
45class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
59
60 static int CanReadFile(VTK_FILEPATH const char* filename);
61
62protected:
64 ~vtkFacetReader() override;
65
67
68 char* FileName;
69
70private:
71 vtkFacetReader(const vtkFacetReader&) = delete;
72 void operator=(const vtkFacetReader&) = delete;
73};
74
75#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
#define VTK_FILEPATH