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
=========================================================================*/
39
#ifndef vtkFacetReader_h
40
#define vtkFacetReader_h
41
42
#include "vtkFiltersHybridModule.h"
// For export macro
43
#include "
vtkPolyDataAlgorithm.h
"
44
45
class
VTKFILTERSHYBRID_EXPORT
vtkFacetReader
:
public
vtkPolyDataAlgorithm
46
{
47
public
:
48
static
vtkFacetReader
*
New
();
49
vtkTypeMacro(
vtkFacetReader
,
vtkPolyDataAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
51
53
56
vtkSetStringMacro(FileName);
57
vtkGetStringMacro(FileName);
59
60
static
int
CanReadFile(
const
char
*filename);
61
62
protected
:
63
vtkFacetReader
();
64
~
vtkFacetReader
()
override
;
65
66
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
67
68
char
*
FileName
;
69
70
private
:
71
vtkFacetReader
(
const
vtkFacetReader
&) =
delete
;
72
void
operator=(
const
vtkFacetReader
&) =
delete
;
73
};
74
75
#endif
76
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkFacetReader
reads a dataset in Facet format
Definition:
vtkFacetReader.h:45
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:68
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:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:41
Generated by
1.8.16