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:
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
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 
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:44
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:46
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:53
a simple class to control print indentation
Definition: vtkIndent.h:38
list of point or cell ids
Definition: vtkIdList.h:35
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSGENERAL_EXPORT
vtkPoints * PointsList
Definition: vtkOBBDicer.h:64
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkDataSetAlgorithm * New()
represent and manipulate 3D points
Definition: vtkPoints.h:38