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 "vtkDicer.h"
37 
38 class vtkOBBNode;
39 class vtkShortArray;
40 class vtkIdList;
41 class vtkPoints;
42 
44 {
45 public:
46  vtkTypeMacro(vtkOBBDicer,vtkDicer);
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50  static vtkOBBDicer *New();
51 
52 protected:
55 
56  // Usual data generation method
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);
64 
65 private:
66  vtkOBBDicer(const vtkOBBDicer&); // Not implemented.
67  void operator=(const vtkOBBDicer&); // Not implemented.
68 };
69 
70 #endif
71 
72 
#define VTK_GRAPHICS_EXPORT
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:43
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:39
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:52
a simple class to control print indentation
Definition: vtkIndent.h:37
list of point or cell ids
Definition: vtkIdList.h:34
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPoints * PointsList
Definition: vtkOBBDicer.h:63
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkDataSetAlgorithm * New()
represent and manipulate 3D points
Definition: vtkPoints.h:38