Go to the documentation of this file.
35 #ifndef vtkAMRResampleFilter_h
36 #define vtkAMRResampleFilter_h
148 int NumberOfSamples[3];
149 int GridNumberOfSamples[3];
160 double BiasVector[3];
217 unsigned int level,
unsigned int& gridId,
227 double q[3],
unsigned int &donorLevel,
unsigned int& donorGridId,
238 unsigned int &donorLevel,
unsigned int &donorGridId,
282 int N[3],
double min[3],
double max[3],
double h[3] );
289 double domainMin[3],
double domainMax[3],
double h[3],
290 int dims[3],
double &rf );
296 double domainMin[3],
double domainMax[3],
297 double regionMin[3],
double regionMax[3] );
304 const bool outside[6],
int N[3] );
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] );
355 unsigned int maxLevel,
357 unsigned int &gridId,
367 unsigned int &gridId,
Encloses a rectangular region of voxel like cells.
bool GridsIntersect(double *g1, double *g2)
vtkOverlappingAMR * AMRMetaData
void GetDomainParameters(vtkOverlappingAMR *amr, double domainMin[3], double domainMax[3], double h[3], int dims[3], double &rf)
virtual ~vtkAMRResampleFilter()
void TransferToGridNodes(vtkUniformGrid *g, vtkOverlappingAMR *amrds)
vtkMultiBlockDataSet * ROI
GLfloat GLfloat GLfloat GLfloat h
void TransferSolution(vtkUniformGrid *g, vtkOverlappingAMR *amrds)
represent and manipulate point attribute data
#define vtkSetVector3Macro(name, type)
bool IsRegionMine(const int regionIdx)
int NumberOfTimesFoundOnDonorLevel
void AdjustNumberOfSamplesInRegion(const double Rh[3], const bool outside[6], int N[3])
#define vtkTypeMacro(thisClass, superclass)
virtual int FillInputPortInformation(int port, vtkInformation *info)
int GetRegionProcessId(const int regionIdx)
Composite dataset that organizes datasets into blocks.
represent and manipulate fields of data
void InitializeFields(vtkFieldData *f, vtkIdType size, vtkCellData *src)
void ComputeAMRBlocksToLoad(vtkOverlappingAMR *metadata)
int NumberOfBlocksVisSkipped
void ComputeCellCentroid(vtkUniformGrid *g, const vtkIdType cellIdx, double c[3])
void ComputeAndAdjustRegionParameters(vtkOverlappingAMR *amrds, double h[3])
#define vtkGetVector3Macro(name, type)
bool SearchGridAncestors(double q[3], vtkOverlappingAMR *amrds, unsigned int &level, unsigned int &gridId, int &id)
bool RegionIntersectsWithAMR(double domainMin[3], double domainMax[3], double regionMin[3], double regionMax[3])
vtkUniformGrid * GetReferenceGrid(vtkOverlappingAMR *amrds)
void ExtractRegion(vtkOverlappingAMR *amrds, vtkMultiBlockDataSet *mbds, vtkOverlappingAMR *metadata)
Multiprocessing communication superclass.
void SearchGridDecendants(double q[3], vtkOverlappingAMR *amrds, unsigned int maxLevel, unsigned int &level, unsigned int &gridId, int &id)
void ComputeRegionParameters(vtkOverlappingAMR *amrds, int N[3], double min[3], double max[3], double h[3])
represent and manipulate cell attribute data
a simple class to control print indentation
bool IsBlockWithinBounds(double *grd)
void SnapBounds(const double h0[3], const double domainMin[3], const double domainMax[3], const int dims[3], bool outside[6])
void CopyData(vtkFieldData *target, vtkIdType targetIdx, vtkCellData *src, vtkIdType srcIdx)
bool SearchForDonorGridAtLevel(double q[3], vtkOverlappingAMR *amrds, unsigned int level, unsigned int &gridId, int &donorCellIdx)
void PrintSelf(ostream &oss, vtkIndent indent)
#define vtkGetMacro(name, type)
virtual int RequestInformation(vtkInformation *rqst, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
std::vector< int > BlocksToLoad
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
hierarchical dataset of vtkUniformGrids
int NumberOfBlocksTestedForLevel
void GetRegion(double h[3])
vtkSetMacro(IgnoreDriverBugs, bool)
#define VTKFILTERSAMR_EXPORT
vtkMultiProcessController * Controller
virtual int FillOutputPortInformation(int port, vtkInformation *info)
void TransferToCellCenters(vtkUniformGrid *g, vtkOverlappingAMR *amrds)
void ComputeLevelOfResolution(const int N[3], const double h0[3], const double L[3], const double rf)
bool FoundDonor(double q[3], vtkUniformGrid *&donorGrid, int &cellIdx)
int ProbeGridPointInAMR(double q[3], unsigned int &donorLevel, unsigned int &donorGridId, vtkOverlappingAMR *amrds, unsigned int maxLevel, bool useCached)
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
VTKWRAPPINGJAVA_EXPORT jlong q(JNIEnv *env, jobject obj)
int NumberOfTimesLevelDown
int ProbeGridPointInAMRGraph(double q[3], unsigned int &donorLevel, unsigned int &donorGridId, vtkOverlappingAMR *amrds, unsigned int maxLevel, bool useCached)
static vtkAMRResampleFilter * New()
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.