 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkAMRResampleFilter_h
34 #define vtkAMRResampleFilter_h
36 #include "vtkFiltersAMRModule.h"
64 vtkSetVector3Macro(NumberOfSamples,
int);
65 vtkGetVector3Macro(NumberOfSamples,
int);
72 vtkSetMacro(TransferToNodes,
int);
73 vtkGetMacro(TransferToNodes,
int);
81 vtkSetMacro(DemandDrivenMode,
int);
82 vtkGetMacro(DemandDrivenMode,
int);
89 vtkSetMacro(NumberOfPartitions,
int);
90 vtkGetMacro(NumberOfPartitions,
int);
97 vtkSetVector3Macro(Min,
double);
98 vtkGetVector3Macro(Min,
double);
105 vtkSetVector3Macro(Max,
double);
106 vtkGetVector3Macro(Max,
double);
113 vtkSetMacro(UseBiasVector,
bool);
114 vtkGetMacro(UseBiasVector,
bool);
123 vtkSetVector3Macro(BiasVector,
double);
124 vtkGetVector3Macro(BiasVector,
double);
159 int NumberOfSamples[3];
160 int GridNumberOfSamples[3];
171 double BiasVector[3];
194 bool IsRegionMine(
const int regionIdx);
200 int GetRegionProcessId(
const int regionIdx);
224 bool FoundDonor(
double q[3],
vtkUniformGrid*& donorGrid,
int& cellIdx);
232 unsigned int& gridId,
int& donorCellIdx);
240 int ProbeGridPointInAMR(
double q[3],
unsigned int& donorLevel,
unsigned int& donorGridId,
249 int ProbeGridPointInAMRGraph(
double q[3],
unsigned int& donorLevel,
unsigned int& donorGridId,
279 bool IsBlockWithinBounds(
double* grd);
291 void ComputeRegionParameters(
297 void GetDomainParameters(
vtkOverlappingAMR* amr,
double domainMin[3],
double domainMax[3],
298 double h[3],
int dims[3],
double& rf);
303 bool RegionIntersectsWithAMR(
304 double domainMin[3],
double domainMax[3],
double regionMin[3],
double regionMax[3]);
310 void AdjustNumberOfSamplesInRegion(
const double Rh[3],
const bool outside[6],
int N[3]);
317 void ComputeLevelOfResolution(
318 const int N[3],
const double h0[3],
const double L[3],
const double rf);
326 void SnapBounds(
const double h0[3],
const double domainMin[3],
const double domainMax[3],
327 const int dims[3],
bool outside[6]);
339 void GetRegion(
double h[3]);
344 bool GridsIntersect(
double* g1,
double* g2);
364 void SearchGridDecendants(
double q[3],
vtkOverlappingAMR* amrds,
unsigned int maxLevel,
365 unsigned int&
level,
unsigned int& gridId,
int&
id);
371 bool SearchGridAncestors(
Encloses a rectangular region of voxel like cells.
vtkOverlappingAMR * AMRMetaData
vtkMultiBlockDataSet * ROI
represent and manipulate point attribute data
int NumberOfTimesFoundOnDonorLevel
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkMultiBlockDataSetAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Composite dataset that organizes datasets into blocks.
represent and manipulate fields of data
int NumberOfBlocksVisSkipped
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Multiprocessing communication superclass.
represent and manipulate cell attribute data
a simple class to control print indentation
hierarchical dataset of vtkUniformGrids
int NumberOfBlocksTestedForLevel
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMultiProcessController * Controller
std::vector< int > BlocksToLoad
int NumberOfTimesLevelDown
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.