VTK
vtkHyperOctreeLimiter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeLimiter.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 =========================================================================*/
27 #ifndef vtkHyperOctreeLimiter_h
28 #define vtkHyperOctreeLimiter_h
29 
30 #include "vtkFiltersHyperTreeModule.h" // For export macro
31 #include "vtkDataSetAlgorithm.h"
32 
33 class vtkHyperOctree;
35 
37 {
38 public:
41 
44 
46  void SetMaximumLevel(int levels);
47 
48 protected:
51 
55 
58 
60 
62  double MeasureCell(int);
63 
65  double TopSize;
66  int Dimension;
69 
70  double *AccumScratch;
71  int AccumSize;
72 
73 private:
74  vtkHyperOctreeLimiter(const vtkHyperOctreeLimiter&); // Not implemented.
75  void operator=(const vtkHyperOctreeLimiter&); // Not implemented.
76 };
77 
78 #endif
vtkHyperOctreeLimiter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkHyperOctreeLimiter::MeasureCell
double MeasureCell(int)
vtkHyperOctreeLimiter::SetMaximumLevel
void SetMaximumLevel(int levels)
vtkHyperOctreeLimiter::AccumSize
int AccumSize
Definition: vtkHyperOctreeLimiter.h:71
vtkHyperOctreeLimiter::BuildNextCell
void BuildNextCell(vtkHyperOctreeCursor *, vtkHyperOctreeCursor *, int)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperOctreeCursor
Objects that can traverse hyperoctree nodes.
Definition: vtkHyperOctreeCursor.h:51
vtkFiltersHyperTreeModule.h
vtkHyperOctreeLimiter::Dimension
int Dimension
Definition: vtkHyperOctreeLimiter.h:66
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:51
vtkX3D::port
@ port
Definition: vtkX3D.h:447
VTKFILTERSHYPERTREE_EXPORT
#define VTKFILTERSHYPERTREE_EXPORT
Definition: vtkFiltersHyperTreeModule.h:15
vtkHyperOctreeLimiter::SizeAtPrunePoint
double SizeAtPrunePoint
Definition: vtkHyperOctreeLimiter.h:68
vtkHyperOctreeLimiter::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkHyperOctreeLimiter::Output
vtkHyperOctree * Output
Definition: vtkHyperOctreeLimiter.h:57
vtkHyperOctreeLimiter::TopSize
double TopSize
Definition: vtkHyperOctreeLimiter.h:65
vtkHyperOctreeLimiter::~vtkHyperOctreeLimiter
~vtkHyperOctreeLimiter()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkDataSetAlgorithm.h
vtkHyperOctreeLimiter::MaximumLevel
int MaximumLevel
Definition: vtkHyperOctreeLimiter.h:64
vtkHyperOctreeLimiter
Limit the tree's depth, averaging data from lower level branches into the new leaves at the cut point...
Definition: vtkHyperOctreeLimiter.h:37
vtkHyperOctree
A dataset structured as a tree where each node has exactly 2^n children.
Definition: vtkHyperOctree.h:143
vtkHyperOctreeLimiter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkHyperOctreeLimiter::Input
vtkHyperOctree * Input
Definition: vtkHyperOctreeLimiter.h:56
vtkHyperOctreeLimiter::GetMaximumLevel
int GetMaximumLevel()
vtkHyperOctreeLimiter::vtkHyperOctreeLimiter
vtkHyperOctreeLimiter()
vtkHyperOctreeLimiter::NumChildren
int NumChildren
Definition: vtkHyperOctreeLimiter.h:67
vtkHyperOctreeLimiter::New
static vtkHyperOctreeLimiter * New()
vtkHyperOctreeLimiter::AccumScratch
double * AccumScratch
Definition: vtkHyperOctreeLimiter.h:70
vtkHyperOctreeLimiter::AddInteriorAttributes
void AddInteriorAttributes(vtkHyperOctreeCursor *, int)