VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:
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 
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:44
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:53
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPoints * PointsList
Definition: vtkOBBDicer.h:64
void PrintSelf(ostream &os, vtkIndent indent)
static vtkDataSetAlgorithm * New()