VTK
vtkHyperOctreeAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeAlgorithm.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 =========================================================================*/
30 #ifndef vtkHyperOctreeAlgorithm_h
31 #define vtkHyperOctreeAlgorithm_h
32 
33 #include "vtkCommonExecutionModelModule.h" // For export macro
34 #include "vtkAlgorithm.h"
35 #include "vtkHyperOctree.h" // makes things a bit easier
36 
37 class vtkDataSet;
38 class vtkHyperOctree;
39 
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
50  virtual void SetOutput(vtkDataObject* d);
52 
54 
59 
60  // this method is not recommended for use, but lots of old style filters
61  // use it
65 
67 
73 
75 
81 
82 protected:
85 
86  // convenience method
87  virtual int RequestInformation(vtkInformation* request,
88  vtkInformationVector** inputVector,
89  vtkInformationVector* outputVector);
90 
92 
94  virtual int RequestData(vtkInformation* request,
95  vtkInformationVector** inputVector,
96  vtkInformationVector* outputVector);
98 
100 
106 
107  // see algorithm for more info
110 
111 private:
112  vtkHyperOctreeAlgorithm(const vtkHyperOctreeAlgorithm&); // Not implemented.
113  void operator=(const vtkHyperOctreeAlgorithm&); // Not implemented.
114 };
115 
116 #endif
vtkHyperOctreeAlgorithm::SetOutput
virtual void SetOutput(vtkDataObject *d)
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkHyperOctree.h
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperOctreeAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkCommonExecutionModelModule.h
vtkHyperOctreeAlgorithm::GetOutput
vtkHyperOctree * GetOutput(int)
vtkHyperOctreeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkHyperOctreeAlgorithm::GetOutput
vtkHyperOctree * GetOutput()
vtkHyperOctreeAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkHyperOctreeAlgorithm::GetInput
vtkDataObject * GetInput()
vtkAlgorithm.h
vtkHyperOctreeAlgorithm
Superclass for algorithms that produce only octree as output.
Definition: vtkHyperOctreeAlgorithm.h:41
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkHyperOctreeAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkHyperOctreeAlgorithm::~vtkHyperOctreeAlgorithm
~vtkHyperOctreeAlgorithm()
vtkHyperOctreeAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkHyperOctreeAlgorithm::GetHyperOctreeInput
vtkHyperOctree * GetHyperOctreeInput(int port)
vtkHyperOctreeAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkHyperOctreeAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkHyperOctreeAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
vtkHyperOctreeAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkHyperOctreeAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkHyperOctreeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkHyperOctree
A dataset structured as a tree where each node has exactly 2^n children.
Definition: vtkHyperOctree.h:143
vtkHyperOctreeAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkHyperOctreeAlgorithm::vtkHyperOctreeAlgorithm
vtkHyperOctreeAlgorithm()