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 =========================================================================*/
23 #ifndef __vtkUGFacetReader_h
24 #define __vtkUGFacetReader_h
25 
26 #include "vtkPolyDataAlgorithm.h"
27 
29 class vtkShortArray;
30 
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
39  static vtkUGFacetReader *New();
40 
43  unsigned long GetMTime();
44 
46 
47  vtkSetStringMacro(FileName);
48  vtkGetStringMacro(FileName);
50 
52  int GetNumberOfParts();
53 
55  short GetPartColorIndex(int partId);
56 
58 
62  vtkSetMacro(PartNumber,int);
63  vtkGetMacro(PartNumber,int);
65 
67 
68  vtkSetMacro(Merging,int);
69  vtkGetMacro(Merging,int);
70  vtkBooleanMacro(Merging,int);
72 
74 
76  void SetLocator(vtkIncrementalPointLocator *locator);
77  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
79 
81  void CreateDefaultLocator();
82 
83 protected:
86 
88 
89  char *FileName;
92  int Merging;
94 private:
95  vtkUGFacetReader(const vtkUGFacetReader&); // Not implemented.
96  void operator=(const vtkUGFacetReader&); // Not implemented.
97 };
98 
99 #endif
read EDS Unigraphics facet files
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:39
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Abstract class in support of both point location and point insertion.
vtkShortArray * PartColors
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkIncrementalPointLocator * Locator
Store zero or more vtkInformation instances.
#define VTK_IO_EXPORT