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 
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkOBBDicer::~vtkOBBDicer
~vtkOBBDicer() override
Definition: vtkOBBDicer.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDicer.h
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:180
vtkOBBNode
Definition: vtkOBBTree.h:68
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
vtkDicer::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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:67
vtkOBBDicer
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:45
vtkShortArray
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:42
vtkOBBDicer::vtkOBBDicer
vtkOBBDicer()
Definition: vtkOBBDicer.h:57