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