VTK
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 
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  static vtkOBBDicer *New();
52 
53 protected:
56 
57  // Usual data generation method
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);
65 
66 private:
67  vtkOBBDicer(const vtkOBBDicer&); // Not implemented.
68  void operator=(const vtkOBBDicer&); // Not implemented.
69 };
70 
71 #endif
72 
73 
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkOBBDicer::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDicer.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkOBBDicer::BuildTree
void BuildTree(vtkIdList *ptIds, vtkOBBNode *OBBptr, vtkDataSet *input)
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkOBBDicer::New
static vtkOBBDicer * New()
vtkFiltersGeneralModule.h
vtkOBBNode
Definition: vtkOBBTree.h:67
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkOBBDicer::DeleteTree
void DeleteTree(vtkOBBNode *OBBptr)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkDicer
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:54
vtkOBBDicer::PointsList
vtkPoints * PointsList
Definition: vtkOBBDicer.h:64
vtkOBBDicer
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:45
vtkShortArray
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:50
vtkOBBDicer::MarkPoints
void MarkPoints(vtkOBBNode *OBBptr, vtkShortArray *groupIds)
vtkOBBDicer::~vtkOBBDicer
~vtkOBBDicer()
Definition: vtkOBBDicer.h:55
vtkOBBDicer::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkOBBDicer::vtkOBBDicer
vtkOBBDicer()
Definition: vtkOBBDicer.h:54