VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
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 "vtkFiltersGeneralModule.h"
// For export macro
37
#include "
vtkDicer.h
"
38
39
class
vtkOBBNode
;
40
class
vtkShortArray
;
41
class
vtkIdList
;
42
class
vtkPoints
;
43
44
class
VTKFILTERSGENERAL_EXPORT
vtkOBBDicer
:
public
vtkDicer
45
{
46
public
:
47
vtkTypeMacro(
vtkOBBDicer
,
vtkDicer
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
static
vtkOBBDicer
*
New
();
52
53
protected
:
54
vtkOBBDicer
() {};
55
~vtkOBBDicer
() {};
56
57
// Usual data generation method
58
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
59
60
//implementation ivars and methods
61
void
BuildTree(
vtkIdList
*ptIds,
vtkOBBNode
*OBBptr,
vtkDataSet
*input);
62
void
MarkPoints(
vtkOBBNode
*OBBptr,
vtkShortArray
*groupIds);
63
void
DeleteTree(
vtkOBBNode
*OBBptr);
64
vtkPoints
*
PointsList
;
65
66
private
:
67
vtkOBBDicer
(
const
vtkOBBDicer
&);
// Not implemented.
68
void
operator=(
const
vtkOBBDicer
&);
// Not implemented.
69
};
70
71
#endif
72
73
Generated on Thu May 24 2012 22:22:15 for VTK by
1.8.1