35 #ifndef vtkAMRResampleFilter_h
36 #define vtkAMRResampleFilter_h
148 int NumberOfSamples[3];
149 int GridNumberOfSamples[3];
160 double BiasVector[3];
180 bool IsRegionMine(
const int regionIdx );
184 int GetRegionProcessId(
const int regionIdx );
189 void ComputeCellCentroid(
215 bool SearchForDonorGridAtLevel(
217 unsigned int level,
unsigned int& gridId,
226 int ProbeGridPointInAMR(
227 double q[3],
unsigned int &donorLevel,
unsigned int& donorGridId,
237 int ProbeGridPointInAMRGraph(
double q[3],
238 unsigned int &donorLevel,
unsigned int &donorGridId,
245 void TransferToCellCenters(
252 void TransferToGridNodes(
258 void TransferSolution(
271 bool IsBlockWithinBounds(
double *grd );
280 void ComputeRegionParameters(
282 int N[3],
double min[3],
double max[3],
double h[3] );
287 void GetDomainParameters(
289 double domainMin[3],
double domainMax[3],
double h[3],
290 int dims[3],
double &rf );
295 bool RegionIntersectsWithAMR(
296 double domainMin[3],
double domainMax[3],
297 double regionMin[3],
double regionMax[3] );
303 void AdjustNumberOfSamplesInRegion(
const double Rh[3],
304 const bool outside[6],
int N[3] );
311 void ComputeLevelOfResolution(
312 const int N[3],
const double h0[3],
const double L[3],
const double rf);
322 const double h0[3],
const double domainMin[3],
const double domainMax[3],
323 const int dims[3],
bool outside[6] );
331 void ComputeAndAdjustRegionParameters(
336 void GetRegion(
double h[3] );
339 bool GridsIntersect(
double *g1,
double *g2 );
353 void SearchGridDecendants(
double q[3],
355 unsigned int maxLevel,
357 unsigned int &gridId,
364 bool SearchGridAncestors(
double q[3],
367 unsigned int &gridId,
vtkMultiProcessController * Controller
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
represent and manipulate point attribute data
vtkOverlappingAMR * AMRMetaData
vtkMultiBlockDataSet * ROI
Encloses a rectangular region of voxel like cells.
int NumberOfBlocksTestedForLevel
#define vtkGetMacro(name, type)
std::vector< int > BlocksToLoad
represent and manipulate cell attribute data
#define VTKFILTERSAMR_EXPORT
int NumberOfTimesLevelDown
int NumberOfBlocksVisSkipped
int NumberOfTimesFoundOnDonorLevel
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define vtkTypeMacro(thisClass, superclass)
static vtkMultiBlockDataSetAlgorithm * New()
virtual int FillOutputPortInformation(int port, vtkInformation *info)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
#define vtkGetVector3Macro(name, type)
Composite dataset that organizes datasets into blocks.
virtual int FillInputPortInformation(int port, vtkInformation *info)
hierarchical dataset of vtkUniformGrids
void PrintSelf(ostream &os, vtkIndent indent)
VTKWRAPPINGJAVA_EXPORT jlong q(JNIEnv *env, jobject obj)
#define vtkSetVector3Macro(name, type)
GLfloat GLfloat GLfloat GLfloat h
represent and manipulate fields of data
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define vtkSetMacro(name, type)
Multiprocessing communication superclass.