VTK
vtkUGFacetReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkUGFacetReader.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=========================================================================*/
24#ifndef vtkUGFacetReader_h
25#define vtkUGFacetReader_h
26
27#include "vtkIOGeometryModule.h" // For export macro
29
31class vtkShortArray;
32
33class VTKIOGEOMETRY_EXPORT vtkUGFacetReader : public vtkPolyDataAlgorithm
34{
35public:
37 void PrintSelf(ostream& os, vtkIndent indent);
38
44
50
52
55 vtkSetStringMacro(FileName);
58
63
67 short GetPartColorIndex(int partId);
68
70
76 vtkSetMacro(PartNumber,int);
77 vtkGetMacro(PartNumber,int);
79
81
84 vtkSetMacro(Merging,int);
85 vtkGetMacro(Merging,int);
86 vtkBooleanMacro(Merging,int);
88
90
95 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
97
102
103protected:
106
108
109 char *FileName;
114private:
115 vtkUGFacetReader(const vtkUGFacetReader&) VTK_DELETE_FUNCTION;
116 void operator=(const vtkUGFacetReader&) VTK_DELETE_FUNCTION;
117};
118
119#endif
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:43
read EDS Unigraphics facet files
void CreateDefaultLocator()
Create default locator.
vtkIncrementalPointLocator * Locator
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime()
Overload standard modified time function.
short GetPartColorIndex(int partId)
Retrieve color index for the parts in the file.
vtkShortArray * PartColors
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GetNumberOfParts()
Special methods for interrogating the data file.
static vtkUGFacetReader * New()
Construct object to extract all parts, and with point merging turned on.
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248