#include <vtkAMRSliceFilter.h>
Inherits vtkOverlappingAMRAlgorithm.
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkAMRSliceFilter () |
|
| ~vtkAMRSliceFilter () |
|
int | GetDonorCellIdx (double x[3], vtkUniformGrid *ug) |
|
vtkUniformGrid * | GetSlice (double origin[3], int *dims, double *gorigin, double *spacing) |
|
void | GetSliceCellData (vtkUniformGrid *slice, vtkUniformGrid *grid3D) |
|
bool | PlaneIntersectsAMRBox (double plane[4], double bounds[6]) |
|
bool | IsAMRData2D (vtkOverlappingAMR *input) |
|
vtkPlane * | GetCutPlane (vtkOverlappingAMR *input) |
|
|
void | ComputeCellCenter (vtkUniformGrid *ug, const int cellIdx, double centroid[3]) |
|
|
void | ComputeAMRBlocksToLoad (vtkPlane *p, vtkOverlappingAMR *metadata) |
|
|
void | GetAMRSliceInPlane (vtkPlane *p, vtkOverlappingAMR *inp, vtkOverlappingAMR *out) |
|
|
void | InitializeOffSet (vtkOverlappingAMR *inp, double *min, double *max) |
|
A concrete instance of vtkOverlappingAMRAlgorithm which implements functionality for extracting slices from AMR data. Unlike the conventional slice filter, the output of this filter is a 2-D AMR dataset itself.
- Tests:
- vtkAMRSliceFilter (Tests)
Definition at line 42 of file vtkAMRSliceFilter.h.
vtkAMRSliceFilter::vtkAMRSliceFilter |
( |
| ) |
|
|
protected |
vtkAMRSliceFilter::~vtkAMRSliceFilter |
( |
| ) |
|
|
protected |
static int vtkAMRSliceFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkAMRSliceFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkAMRSliceFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkAMRSliceFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkAMRSliceFilter::SetOffSetFromOrigin |
( |
double |
| ) |
|
|
virtual |
virtual double vtkAMRSliceFilter::GetOffSetFromOrigin |
( |
| ) |
|
|
virtual |
virtual void vtkAMRSliceFilter::SetForwardUpstream |
( |
int |
| ) |
|
|
virtual |
Set/Get ForwardUpstream property
virtual int vtkAMRSliceFilter::GetForwardUpstream |
( |
| ) |
|
|
virtual |
Set/Get ForwardUpstream property
virtual void vtkAMRSliceFilter::ForwardUpstreamOn |
( |
| ) |
|
|
virtual |
Set/Get ForwardUpstream property
virtual void vtkAMRSliceFilter::ForwardUpstreamOff |
( |
| ) |
|
|
virtual |
Set/Get ForwardUpstream property
virtual void vtkAMRSliceFilter::SetEnablePrefetching |
( |
int |
| ) |
|
|
virtual |
Set/Get EnablePrefetching property
virtual int vtkAMRSliceFilter::GetEnablePrefetching |
( |
| ) |
|
|
virtual |
Set/Get EnablePrefetching property
virtual void vtkAMRSliceFilter::EnablePrefetchingOn |
( |
| ) |
|
|
virtual |
Set/Get EnablePrefetching property
virtual void vtkAMRSliceFilter::EnablePrefetchingOff |
( |
| ) |
|
|
virtual |
Set/Get EnablePrefetching property
virtual void vtkAMRSliceFilter::SetMaxResolution |
( |
int |
| ) |
|
|
virtual |
Set/Get the maximum resolution used in this instance.
virtual int vtkAMRSliceFilter::GetMaxResolution |
( |
| ) |
|
|
virtual |
Set/Get the maximum resolution used in this instance.
virtual void vtkAMRSliceFilter::SetNormal |
( |
int |
| ) |
|
|
virtual |
Set/Get the Axis normal. There are only 3 acceptable values 1-(X-Normal); 2-(Y-Normal); 3-(Z-Normal)
virtual int vtkAMRSliceFilter::GetNormal |
( |
| ) |
|
|
virtual |
Set/Get the Axis normal. There are only 3 acceptable values 1-(X-Normal); 2-(Y-Normal); 3-(Z-Normal)
virtual void vtkAMRSliceFilter::SetController |
( |
vtkMultiProcessController * |
| ) |
|
|
virtual |
Set/Get a multiprocess controller for paralle processing. By default this parameter is set to NULL by the constructor.
virtual vtkMultiProcessController* vtkAMRSliceFilter::GetController |
( |
| ) |
|
|
virtual |
Set/Get a multiprocess controller for paralle processing. By default this parameter is set to NULL by the constructor.
virtual int vtkAMRSliceFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
virtual int vtkAMRSliceFilter::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
virtual |
virtual int vtkAMRSliceFilter::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
virtual |
virtual int vtkAMRSliceFilter::RequestInformation |
( |
vtkInformation * |
rqst, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
virtual |
Makes upstream request to a source, typically, a concrete instance of vtkAMRBaseReader, for which blocks to load.
virtual int vtkAMRSliceFilter::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
Performs upstream requests to the reader
int vtkAMRSliceFilter::GetDonorCellIdx |
( |
double |
x[3], |
|
|
vtkUniformGrid * |
ug |
|
) |
| |
|
protected |
Returns the cell index w.r.t. the given input grid which contains the query point x. A -1 is returned if the point is not found.
void vtkAMRSliceFilter::ComputeCellCenter |
( |
vtkUniformGrid * |
ug, |
|
|
const int |
cellIdx, |
|
|
double |
centroid[3] |
|
) |
| |
|
protected |
Computes the cell center of the cell corresponding to the supplied cell index w.r.t. the input uniform grid.
vtkUniformGrid* vtkAMRSliceFilter::GetSlice |
( |
double |
origin[3], |
|
|
int * |
dims, |
|
|
double * |
gorigin, |
|
|
double * |
spacing |
|
) |
| |
|
protected |
Gets the slice from the given grid given the plane origin & the user-supplied normal associated with this class instance.
void vtkAMRSliceFilter::GetSliceCellData |
( |
vtkUniformGrid * |
slice, |
|
|
vtkUniformGrid * |
grid3D |
|
) |
| |
|
protected |
Copies the cell data for the cells in the slice from the 3-D grid.
bool vtkAMRSliceFilter::PlaneIntersectsAMRBox |
( |
double |
plane[4], |
|
|
double |
bounds[6] |
|
) |
| |
|
protected |
Determines if a plane intersects with an AMR box
void vtkAMRSliceFilter::ComputeAMRBlocksToLoad |
( |
vtkPlane * |
p, |
|
|
vtkOverlappingAMR * |
metadata |
|
) |
| |
|
protected |
Given the cut-plane and the metadata provided by a module upstream, this method generates the list of linear AMR block indices that need to be loaded.
void vtkAMRSliceFilter::GetAMRSliceInPlane |
( |
vtkPlane * |
p, |
|
|
vtkOverlappingAMR * |
inp, |
|
|
vtkOverlappingAMR * |
out |
|
) |
| |
|
protected |
Extracts a 2-D AMR slice from the dataset.
bool vtkAMRSliceFilter::IsAMRData2D |
( |
vtkOverlappingAMR * |
input | ) |
|
|
protected |
A utility function that checks if the input AMR data is 2-D.
vtkPlane* vtkAMRSliceFilter::GetCutPlane |
( |
vtkOverlappingAMR * |
input | ) |
|
|
protected |
Returns the axis-aligned cut plane.
void vtkAMRSliceFilter::InitializeOffSet |
( |
vtkOverlappingAMR * |
inp, |
|
|
double * |
min, |
|
|
double * |
max |
|
) |
| |
|
protected |
Initializes the off-set to be at the center of the input data-set.
double vtkAMRSliceFilter::OffSetFromOrigin |
|
protected |
int vtkAMRSliceFilter::Normal |
|
protected |
bool vtkAMRSliceFilter::initialRequest |
|
protected |
int vtkAMRSliceFilter::MaxResolution |
|
protected |
vtkMultiProcessController* vtkAMRSliceFilter::Controller |
|
protected |
int vtkAMRSliceFilter::ForwardUpstream |
|
protected |
int vtkAMRSliceFilter::EnablePrefetching |
|
protected |
std::vector< int > vtkAMRSliceFilter::BlocksToLoad |
|
protected |
The documentation for this class was generated from the following file: