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 =========================================================================*/
34 #ifndef vtkOBBDicer_h
35 #define vtkOBBDicer_h
36 
37 #include "vtkFiltersGeneralModule.h" // For export macro
38 #include "vtkDicer.h"
39 
40 class vtkOBBNode;
41 class vtkShortArray;
42 class vtkIdList;
43 class vtkPoints;
44 
45 class VTKFILTERSGENERAL_EXPORT vtkOBBDicer : public vtkDicer
46 {
47 public:
48  vtkTypeMacro(vtkOBBDicer,vtkDicer);
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
54  static vtkOBBDicer *New();
55 
56 protected:
58  ~vtkOBBDicer() override {}
59 
60  // Usual data generation method
62 
63  //implementation ivars and methods
64  void BuildTree(vtkIdList *ptIds, vtkOBBNode *OBBptr, vtkDataSet *input);
65  void MarkPoints(vtkOBBNode *OBBptr, vtkShortArray *groupIds);
66  void DeleteTree(vtkOBBNode *OBBptr);
68 
69 private:
70  vtkOBBDicer(const vtkOBBDicer&) = delete;
71  void operator=(const vtkOBBDicer&) = delete;
72 };
73 
74 #endif
75 
76 
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:45
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:42
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
~vtkOBBDicer() override
Definition: vtkOBBDicer.h:58
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:54
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:36
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkPoints * PointsList
Definition: vtkOBBDicer.h:67
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataSetAlgorithm * New()
represent and manipulate 3D points
Definition: vtkPoints.h:39