VTK
vtkPTSReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPTSReader.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=========================================================================*/
27#ifndef vtkPTSReader_h
28#define vtkPTSReader_h
29
30#include "vtkIOGeometryModule.h" // For export macro
32#include "vtkBoundingBox.h" // For Bounding Box Data Member
33
34
35class VTKIOGEOMETRY_EXPORT vtkPTSReader : public vtkPolyDataAlgorithm
36{
37public:
38 static vtkPTSReader *New();
40 void PrintSelf(ostream& os, vtkIndent indent);
41
43
46 void SetFileName(const char *filename);
49
51
55 vtkBooleanMacro(LimitReadToBounds, bool);
56 vtkSetMacro(LimitReadToBounds, bool);
57 vtkGetMacro(LimitReadToBounds, bool);
59
61
64 vtkSetVector6Macro(ReadBounds, double);
65 vtkGetVector6Macro(ReadBounds, double);
67
69
72 vtkBooleanMacro(OutputDataTypeIsDouble, bool);
73 vtkSetMacro(OutputDataTypeIsDouble, bool);
74 vtkGetMacro(OutputDataTypeIsDouble, bool);
76
78
82 vtkBooleanMacro(LimitToMaxNumberOfPoints, bool);
83 vtkSetMacro(LimitToMaxNumberOfPoints, bool);
84 vtkGetMacro(LimitToMaxNumberOfPoints, bool);
86
88
92 vtkSetClampMacro(MaxNumberOfPoints,vtkIdType,1,VTK_INT_MAX);
93 vtkGetMacro(MaxNumberOfPoints,vtkIdType);
95
97
102 vtkBooleanMacro(CreateCells, bool);
103 vtkSetMacro(CreateCells, bool);
104 vtkGetMacro(CreateCells, bool);
106
108
113 vtkBooleanMacro(IncludeColorAndLuminance, bool);
114 vtkSetMacro(IncludeColorAndLuminance, bool);
115 vtkGetMacro(IncludeColorAndLuminance, bool);
117
118protected:
121
124
125 char *FileName;
127
129 double ReadBounds[6];
135
136private:
137 vtkPTSReader(const vtkPTSReader&) VTK_DELETE_FUNCTION;
138 void operator=(const vtkPTSReader&) VTK_DELETE_FUNCTION;
139};
140
141#endif
Fast Simple Class for dealing with 3D bounds.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Read ASCII PTS Files.
Definition: vtkPTSReader.h:36
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkBoundingBox ReadBBox
Definition: vtkPTSReader.h:130
bool OutputDataTypeIsDouble
Definition: vtkPTSReader.h:126
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
bool LimitReadToBounds
Definition: vtkPTSReader.h:128
void SetFileName(const char *filename)
Specify file name.
char * FileName
Definition: vtkPTSReader.h:125
bool IncludeColorAndLuminance
Definition: vtkPTSReader.h:134
vtkIdType MaxNumberOfPoints
Definition: vtkPTSReader.h:132
static vtkPTSReader * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool LimitToMaxNumberOfPoints
Definition: vtkPTSReader.h:131
Superclass for algorithms that produce only polydata as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int vtkIdType
Definition: vtkType.h:287
#define VTK_INT_MAX
Definition: vtkType.h:153