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 "vtkIOGeometryModule.h" // For export macro
27 #include "vtkPolyDataAlgorithm.h"
28 
30 class vtkShortArray;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
40  static vtkUGFacetReader *New();
41 
44  unsigned long GetMTime();
45 
47 
48  vtkSetStringMacro(FileName);
49  vtkGetStringMacro(FileName);
51 
54 
56  short GetPartColorIndex(int partId);
57 
59 
63  vtkSetMacro(PartNumber,int);
64  vtkGetMacro(PartNumber,int);
66 
68 
69  vtkSetMacro(Merging,int);
70  vtkGetMacro(Merging,int);
71  vtkBooleanMacro(Merging,int);
73 
75 
80 
83 
84 protected:
87 
89 
90  char *FileName;
93  int Merging;
95 private:
96  vtkUGFacetReader(const vtkUGFacetReader&); // Not implemented.
97  void operator=(const vtkUGFacetReader&); // Not implemented.
98 };
99 
100 #endif
vtkIOGeometryModule.h
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkUGFacetReader::New
static vtkUGFacetReader * New()
vtkUGFacetReader::GetMTime
unsigned long GetMTime()
vtkUGFacetReader::PartNumber
int PartNumber
Definition: vtkUGFacetReader.h:92
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkUGFacetReader::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkUGFacetReader.h:94
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkUGFacetReader::CreateDefaultLocator
void CreateDefaultLocator()
VTKIOGEOMETRY_EXPORT
#define VTKIOGEOMETRY_EXPORT
Definition: vtkIOGeometryModule.h:15
vtkPolyDataAlgorithm.h
vtkUGFacetReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkUGFacetReader::SetLocator
void SetLocator(vtkIncrementalPointLocator *locator)
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:54
vtkUGFacetReader::FileName
char * FileName
Definition: vtkUGFacetReader.h:90
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkUGFacetReader::Merging
int Merging
Definition: vtkUGFacetReader.h:93
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkUGFacetReader::~vtkUGFacetReader
~vtkUGFacetReader()
vtkUGFacetReader::PartColors
vtkShortArray * PartColors
Definition: vtkUGFacetReader.h:91
vtkShortArray
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:50
vtkUGFacetReader::vtkUGFacetReader
vtkUGFacetReader()
vtkUGFacetReader::GetPartColorIndex
short GetPartColorIndex(int partId)
vtkUGFacetReader
read EDS Unigraphics facet files
Definition: vtkUGFacetReader.h:33
vtkUGFacetReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkUGFacetReader::GetNumberOfParts
int GetNumberOfParts()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44