VTK
vtkPolyDataReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataReader.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 =========================================================================*/
36 #ifndef vtkPolyDataReader_h
37 #define vtkPolyDataReader_h
38 
39 #include "vtkIOLegacyModule.h" // For export macro
40 #include "vtkDataReader.h"
41 
42 class vtkPolyData;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55  void SetOutput(vtkPolyData *output);
57 
58 protected:
61 
64 
65  // Update extent of PolyData is specified in pieces.
66  // Since all DataObjects should be able to set UpdateExent as pieces,
67  // just copy output->UpdateExtent all Inputs.
70 
72 
73 private:
74  vtkPolyDataReader(const vtkPolyDataReader&); // Not implemented.
75  void operator=(const vtkPolyDataReader&); // Not implemented.
76 };
77 
78 #endif
vtkPolyDataReader::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataReader::GetOutput
vtkPolyData * GetOutput()
vtkDataReader
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:49
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
VTKIOLEGACY_EXPORT
#define VTKIOLEGACY_EXPORT
Definition: vtkIOLegacyModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPolyDataReader::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *)
vtkPolyDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIOLegacyModule.h
vtkPolyDataReader
read vtk polygonal data file
Definition: vtkPolyDataReader.h:45
vtkPolyDataReader::vtkPolyDataReader
vtkPolyDataReader()
vtkPolyDataReader::New
static vtkPolyDataReader * New()
vtkDataReader.h
vtkPolyDataReader::SetOutput
void SetOutput(vtkPolyData *output)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkPolyDataReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkPolyDataReader::GetOutput
vtkPolyData * GetOutput(int idx)
vtkPolyDataReader::~vtkPolyDataReader
~vtkPolyDataReader()