VTK  9.3.1
vtkOBBDicer.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkOBBDicer_h
23 #define vtkOBBDicer_h
24 
25 #include "vtkDicer.h"
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkOBBNode;
30 class vtkShortArray;
31 class vtkIdList;
32 class vtkPoints;
33 
34 class VTKFILTERSGENERAL_EXPORT vtkOBBDicer : public vtkDicer
35 {
36 public:
37  vtkTypeMacro(vtkOBBDicer, vtkDicer);
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  static vtkOBBDicer* New();
44 
45 protected:
46  vtkOBBDicer() = default;
47  ~vtkOBBDicer() override = default;
48 
49  // Usual data generation method
51 
52  // implementation ivars and methods
53  void BuildTree(vtkIdList* ptIds, vtkOBBNode* OBBptr, vtkDataSet* input);
54  void MarkPoints(vtkOBBNode* OBBptr, vtkShortArray* groupIds);
55  void DeleteTree(vtkOBBNode* OBBptr);
57 
58 private:
59  vtkOBBDicer(const vtkOBBDicer&) = delete;
60  void operator=(const vtkOBBDicer&) = delete;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:34
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:31
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:43
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:22
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:56
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:28