VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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
28
class
vtkIncrementalPointLocator
;
29
class
vtkShortArray
;
30
31
class
VTK_IO_EXPORT
vtkUGFacetReader
:
public
vtkPolyDataAlgorithm
32
{
33
public
:
34
vtkTypeMacro(
vtkUGFacetReader
,
vtkPolyDataAlgorithm
);
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
:
84
vtkUGFacetReader
();
85
~
vtkUGFacetReader
();
86
87
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
88
89
char
*
FileName
;
90
vtkShortArray
*
PartColors
;
91
int
PartNumber
;
92
int
Merging
;
93
vtkIncrementalPointLocator
*
Locator
;
94
private
:
95
vtkUGFacetReader
(
const
vtkUGFacetReader
&);
// Not implemented.
96
void
operator=(
const
vtkUGFacetReader
&);
// Not implemented.
97
};
98
99
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2