VTK
dox
Filters
Hybrid
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
=========================================================================*/
42
#ifndef vtkFacetReader_h
43
#define vtkFacetReader_h
44
45
#include "vtkFiltersHybridModule.h"
// For export macro
46
#include "
vtkPolyDataAlgorithm.h
"
47
48
class
VTKFILTERSHYBRID_EXPORT
vtkFacetReader
:
public
vtkPolyDataAlgorithm
49
{
50
public
:
51
static
vtkFacetReader
*
New
();
52
vtkTypeMacro(
vtkFacetReader
,
vtkPolyDataAlgorithm
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
54
56
59
vtkSetStringMacro(FileName);
60
vtkGetStringMacro(FileName);
62
63
static
int
CanReadFile(
const
char
*filename);
64
65
protected
:
66
vtkFacetReader
();
67
~
vtkFacetReader
()
override
;
68
69
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
70
71
char
*
FileName
;
72
73
private
:
74
vtkFacetReader
(
const
vtkFacetReader
&) =
delete
;
75
void
operator=(
const
vtkFacetReader
&) =
delete
;
76
};
77
78
#endif
79
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkFacetReader
reads a dataset in Facet format
Definition:
vtkFacetReader.h:48
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkFacetReader::FileName
char * FileName
Definition:
vtkFacetReader.h:71
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16