#include <vtkAMRCutPlane.h>
Inherits vtkMultiBlockDataSetAlgorithm.
|
virtual int | IsA (const char *type) |
|
vtkAMRCutPlane * | NewInstance () const |
|
void | PrintSelf (ostream &oss, vtkIndent indent) |
|
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
|
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
|
|
virtual void | SetCenter (double, double, double) |
|
virtual void | SetCenter (double[3]) |
|
|
virtual void | SetNormal (double, double, double) |
|
virtual void | SetNormal (double[3]) |
|
|
virtual void | SetLevelOfResolution (int) |
|
virtual int | GetLevelOfResolution () |
|
|
*virtual void | SetUseNativeCutter (bool) |
|
virtual bool | GetUseNativeCutter () |
|
virtual void | UseNativeCutterOn () |
|
virtual void | UseNativeCutterOff () |
|
|
virtual void | SetController (vtkMultiProcessController *) |
|
virtual vtkMultiProcessController * | GetController () |
|
|
virtual int | RequestInformation (vtkInformation *rqst, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
|
|
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkAMRCutPlane () |
|
virtual | ~vtkAMRCutPlane () |
|
vtkPlane * | GetCutPlane (vtkOverlappingAMR *metadata) |
|
void | ComputeAMRBlocksToLoad (vtkPlane *p, vtkOverlappingAMR *m) |
|
void | InitializeCenter (double min[3], double max[3]) |
|
bool | PlaneIntersectsCell (vtkPlane *pl, vtkCell *cell) |
|
bool | IsAMRData2D (vtkOverlappingAMR *input) |
|
|
void | ExtractCellFromGrid (vtkUniformGrid *grid, vtkCell *cell, std::map< vtkIdType, vtkIdType > &gridPntMapping, vtkPoints *nodes, vtkCellArray *cells) |
|
|
void | ExtractPointDataFromGrid (vtkUniformGrid *grid, std::map< vtkIdType, vtkIdType > &gridPntMapping, vtkIdType NumNodes, vtkPointData *PD) |
|
|
void | ExtractCellDataFromGrid (vtkUniformGrid *grid, std::vector< vtkIdType > &cellIdxList, vtkCellData *CD) |
|
|
bool | PlaneIntersectsAMRBox (vtkPlane *pl, double bounds[6]) |
|
bool | PlaneIntersectsAMRBox (double plane[4], double bounds[6]) |
|
|
void | CutAMRBlock (vtkPlane *cutPlane, unsigned int blockIdx, vtkUniformGrid *grid, vtkMultiBlockDataSet *dataSet) |
|
A concrete instance of vtkMultiBlockDataSet that provides functionality for cutting an AMR dataset (an instance of vtkOverlappingAMR) with user supplied implicit plane function defined by a normal and center.
Definition at line 46 of file vtkAMRCutPlane.h.
vtkAMRCutPlane::vtkAMRCutPlane |
( |
| ) |
|
|
protected |
virtual vtkAMRCutPlane::~vtkAMRCutPlane |
( |
| ) |
|
|
protectedvirtual |
static int vtkAMRCutPlane::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkAMRCutPlane::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkAMRCutPlane* vtkAMRCutPlane::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkAMRCutPlane::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkAMRCutPlane::PrintSelf |
( |
ostream & |
oss, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkAMRCutPlane::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
virtual void vtkAMRCutPlane::SetCenter |
( |
double |
[3] | ) |
|
|
virtual |
virtual void vtkAMRCutPlane::SetNormal |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
virtual void vtkAMRCutPlane::SetNormal |
( |
double |
[3] | ) |
|
|
virtual |
virtual void vtkAMRCutPlane::SetLevelOfResolution |
( |
int |
| ) |
|
|
virtual |
Sets the level of resolution
virtual int vtkAMRCutPlane::GetLevelOfResolution |
( |
| ) |
|
|
virtual |
Sets the level of resolution
* virtual void vtkAMRCutPlane::SetUseNativeCutter |
( |
bool |
| ) |
|
|
virtual |
virtual bool vtkAMRCutPlane::GetUseNativeCutter |
( |
| ) |
|
|
virtual |
virtual void vtkAMRCutPlane::UseNativeCutterOn |
( |
| ) |
|
|
virtual |
virtual void vtkAMRCutPlane::UseNativeCutterOff |
( |
| ) |
|
|
virtual |
virtual void vtkAMRCutPlane::SetController |
( |
vtkMultiProcessController * |
| ) |
|
|
virtual |
Set/Get a multiprocess controller for parallel processing. By default this parameter is set to NULL by the constructor.
virtual vtkMultiProcessController* vtkAMRCutPlane::GetController |
( |
| ) |
|
|
virtual |
Set/Get a multiprocess controller for parallel processing. By default this parameter is set to NULL by the constructor.
virtual int vtkAMRCutPlane::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
virtual int vtkAMRCutPlane::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
virtual |
virtual int vtkAMRCutPlane::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
virtual |
virtual int vtkAMRCutPlane::RequestInformation |
( |
vtkInformation * |
rqst, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
virtual |
Gets the metadata from upstream module and determines which blocks should be loaded by this instance.
virtual int vtkAMRCutPlane::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
Performs upstream requests to the reader
vtkPlane* vtkAMRCutPlane::GetCutPlane |
( |
vtkOverlappingAMR * |
metadata | ) |
|
|
protected |
Returns the cut-plane defined by a vtkCutPlane instance based on the user-supplied center and normal.
void vtkAMRCutPlane::ExtractCellFromGrid |
( |
vtkUniformGrid * |
grid, |
|
|
vtkCell * |
cell, |
|
|
std::map< vtkIdType, vtkIdType > & |
gridPntMapping, |
|
|
vtkPoints * |
nodes, |
|
|
vtkCellArray * |
cells |
|
) |
| |
|
protected |
void vtkAMRCutPlane::ExtractPointDataFromGrid |
( |
vtkUniformGrid * |
grid, |
|
|
std::map< vtkIdType, vtkIdType > & |
gridPntMapping, |
|
|
vtkIdType |
NumNodes, |
|
|
vtkPointData * |
PD |
|
) |
| |
|
protected |
Given the grid and a subset ID pair, grid IDs mapping to the extracted grid IDs, extract the point data.
void vtkAMRCutPlane::ExtractCellDataFromGrid |
( |
vtkUniformGrid * |
grid, |
|
|
std::vector< vtkIdType > & |
cellIdxList, |
|
|
vtkCellData * |
CD |
|
) |
| |
|
protected |
Given the grid and the list of cells that are extracted, extract the corresponding cell data.
void vtkAMRCutPlane::ComputeAMRBlocksToLoad |
( |
vtkPlane * |
p, |
|
|
vtkOverlappingAMR * |
m |
|
) |
| |
|
protected |
Given a cut-plane, p, and the metadata, m, this method computes which blocks need to be loaded. The corresponding block IDs are stored in the internal STL vector, blocksToLoad, which is then propagated upstream in the RequestUpdateExtent.
void vtkAMRCutPlane::InitializeCenter |
( |
double |
min[3], |
|
|
double |
max[3] |
|
) |
| |
|
protected |
bool vtkAMRCutPlane::PlaneIntersectsAMRBox |
( |
vtkPlane * |
pl, |
|
|
double |
bounds[6] |
|
) |
| |
|
protected |
Determines if a plane intersects with an AMR box
bool vtkAMRCutPlane::PlaneIntersectsAMRBox |
( |
double |
plane[4], |
|
|
double |
bounds[6] |
|
) |
| |
|
protected |
Determines if a plane intersects with an AMR box
bool vtkAMRCutPlane::PlaneIntersectsCell |
( |
vtkPlane * |
pl, |
|
|
vtkCell * |
cell |
|
) |
| |
|
protected |
Determines if a plane intersects with a grid cell
bool vtkAMRCutPlane::IsAMRData2D |
( |
vtkOverlappingAMR * |
input | ) |
|
|
protected |
A utility function that checks if the input AMR data is 2-D.
void vtkAMRCutPlane::CutAMRBlock |
( |
vtkPlane * |
cutPlane, |
|
|
unsigned int |
blockIdx, |
|
|
vtkUniformGrid * |
grid, |
|
|
vtkMultiBlockDataSet * |
dataSet |
|
) |
| |
|
protected |
Applies cutting to an AMR block
int vtkAMRCutPlane::LevelOfResolution |
|
protected |
double vtkAMRCutPlane::Center[3] |
|
protected |
double vtkAMRCutPlane::Normal[3] |
|
protected |
bool vtkAMRCutPlane::initialRequest |
|
protected |
bool vtkAMRCutPlane::UseNativeCutter |
|
protected |
vtkMultiProcessController* vtkAMRCutPlane::Controller |
|
protected |
std::vector<int> vtkAMRCutPlane::BlocksToLoad |
|
protected |
The documentation for this class was generated from the following file: