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
40class vtkOBBNode;
41class vtkShortArray;
42class vtkIdList;
43class vtkPoints;
44
45class VTKFILTERSGENERAL_EXPORT vtkOBBDicer : public vtkDicer
46{
47public:
48 vtkTypeMacro(vtkOBBDicer,vtkDicer);
49 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50
54 static vtkOBBDicer *New();
55
56protected:
58 ~vtkOBBDicer() VTK_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
69private:
70 vtkOBBDicer(const vtkOBBDicer&) VTK_DELETE_FUNCTION;
71 void operator=(const vtkOBBDicer&) VTK_DELETE_FUNCTION;
72};
73
74#endif
75
76
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
abstract superclass to divide dataset into pieces
Definition: vtkDicer.h:55
list of point or cell ids
Definition: vtkIdList.h:37
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
divide dataset into spatially aggregated pieces
Definition: vtkOBBDicer.h:46
void BuildTree(vtkIdList *ptIds, vtkOBBNode *OBBptr, vtkDataSet *input)
vtkPoints * PointsList
Definition: vtkOBBDicer.h:67
static vtkOBBDicer * New()
Instantiate an object.
~vtkOBBDicer() override
Definition: vtkOBBDicer.h:58
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)
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:40
dynamic, self-adjusting array of short
Definition: vtkShortArray.h:43