VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkOBBDicer.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOBBDicer.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
=========================================================================*/
33
#ifndef __vtkOBBDicer_h
34
#define __vtkOBBDicer_h
35
36
#include "
vtkDicer.h
"
37
38
class
vtkOBBNode
;
39
class
vtkShortArray
;
40
class
vtkIdList
;
41
class
vtkPoints
;
42
43
class
VTK_GRAPHICS_EXPORT
vtkOBBDicer
:
public
vtkDicer
44
{
45
public
:
46
vtkTypeMacro(
vtkOBBDicer
,
vtkDicer
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
static
vtkOBBDicer
*
New
();
51
52
protected
:
53
vtkOBBDicer
() {};
54
~vtkOBBDicer
() {};
55
56
// Usual data generation method
57
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
58
59
//implementation ivars and methods
60
void
BuildTree(
vtkIdList
*ptIds,
vtkOBBNode
*OBBptr,
vtkDataSet
*input);
61
void
MarkPoints(
vtkOBBNode
*OBBptr,
vtkShortArray
*groupIds);
62
void
DeleteTree(
vtkOBBNode
*OBBptr);
63
vtkPoints
*
PointsList
;
64
65
private
:
66
vtkOBBDicer
(
const
vtkOBBDicer
&);
// Not implemented.
67
void
operator=(
const
vtkOBBDicer
&);
// Not implemented.
68
};
69
70
#endif
71
72
Generated on Thu Mar 13 2014 08:10:02 for VTK by
1.8.1.2