34 #ifndef vtkResampledAMRImageSource_h 35 #define vtkResampledAMRImageSource_h 37 #include "vtkPVVTKExtensionsRenderingModule.h" 38 #include "vtkSmartPointer.h" 39 #include "vtkTrivialProducer.h" 44 class vtkOverlappingAMR;
52 void PrintSelf(ostream& os, vtkIndent indent);
58 vtkSetVector3Macro(MaxDimensions,
int);
59 vtkGetVector3Macro(MaxDimensions,
int);
69 vtkSetVector6Macro(SpatialBounds,
double);
70 vtkGetVector6Macro(SpatialBounds,
double);
83 void UpdateResampledVolume(vtkOverlappingAMR*);
95 bool Initialize(vtkOverlappingAMR* amr);
96 bool UpdateResampledVolume(
97 const unsigned int& level,
const unsigned& index,
const vtkAMRBox& box, vtkImageData* data);
100 double SpatialBounds[6];
111 vtkTimeStamp InitializationTime;
vtkSmartPointer< vtkImageData > ResampledAMR
image data source that resamples an AMR dataset to produce the image data.
vtkSmartPointer< vtkPointData > ResampledAMRPointData
vtkSmartPointer< vtkIntArray > DonorLevel
bool NeedsInitialization() const
Returns true if the resampler will reinitialize the volume in the next call to UpdateResampledVolume(...