26 #ifndef VTKAMRSLICEFILTER_H_
27 #define VTKAMRSLICEFILTER_H_
29 #include "vtkFiltersAMRModule.h"
35 class vtkInformationVector;
37 class vtkMultiProcessController;
48 void PrintSelf(ostream &os, vtkIndent indent );
51 vtkSetMacro(OffSetFromOrigin,
double);
52 vtkGetMacro(OffSetFromOrigin,
double);
56 vtkSetMacro( ForwardUpstream,
int );
57 vtkGetMacro( ForwardUpstream,
int );
58 vtkBooleanMacro( ForwardUpstream,
int );
63 vtkSetMacro( EnablePrefetching,
int );
64 vtkGetMacro( EnablePrefetching,
int );
65 vtkBooleanMacro( EnablePrefetching,
int );
70 vtkSetMacro(MaxResolution,
int);
71 vtkGetMacro(MaxResolution,
int);
77 vtkSetMacro(Normal,
int);
78 vtkGetMacro(Normal,
int);
84 vtkSetMacro( Controller, vtkMultiProcessController* );
85 vtkGetMacro( Controller, vtkMultiProcessController* );
90 vtkInformation*,vtkInformationVector**,vtkInformationVector*);
99 vtkInformationVector **inputVector,
100 vtkInformationVector *outputVector );
106 vtkInformation*, vtkInformationVector**,vtkInformationVector* );
120 void ComputeCellCenter(
126 vtkUniformGrid* GetSlice(
double origin[3],
int* dims,
double* gorigin,
double* spacing );
132 bool PlaneIntersectsAMRBox(
double plane[4],
double bounds[6] );
138 void ComputeAMRBlocksToLoad(
144 void GetAMRSliceInPlane(
157 void InitializeOffSet(
void PrintSelf(ostream &os, vtkIndent indent)
Encloses a rectangular region of voxel like cells.
virtual int FillInputPortInformation(int port, vtkInformation *info)
std::vector< int > BlocksToLoad
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkMultiProcessController * Controller
hierarchical dataset of vtkUniformGrids
static vtkOverlappingAMRAlgorithm * New()