ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAMRDualClip Class Reference

Clip (with scalars) an AMR volume to unstructured grid. More...

#include <vtkAMRDualClip.h>

Inheritance diagram for vtkAMRDualClip:
Inheritance graph
[legend]
Collaboration diagram for vtkAMRDualClip:
Collaboration graph
[legend]

Public Types

typedef vtkMultiBlockDataSetAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetIsoValue (double)
 
virtual double GetIsoValue ()
 
virtual vtkMultiProcessController * GetController ()
 
virtual void SetController (vtkMultiProcessController *)
 
virtual void SetEnableInternalDecimation (int)
 These are to evaluate performances. More...
 
virtual int GetEnableInternalDecimation ()
 These are to evaluate performances. More...
 
virtual void SetEnableDegenerateCells (int)
 These are to evaluate performances. More...
 
virtual int GetEnableDegenerateCells ()
 These are to evaluate performances. More...
 
virtual void EnableDegenerateCellsOn ()
 These are to evaluate performances. More...
 
virtual void EnableDegenerateCellsOff ()
 These are to evaluate performances. More...
 
virtual void SetEnableMultiProcessCommunication (int)
 These are to evaluate performances. More...
 
virtual int GetEnableMultiProcessCommunication ()
 These are to evaluate performances. More...
 
virtual void EnableMultiProcessCommunicationOn ()
 These are to evaluate performances. More...
 
virtual void EnableMultiProcessCommunicationOff ()
 These are to evaluate performances. More...
 
virtual void SetEnableMergePoints (int)
 This flag causes blocks to share locators so there are no boundary edges between blocks. More...
 
virtual int GetEnableMergePoints ()
 This flag causes blocks to share locators so there are no boundary edges between blocks. More...
 
virtual void EnableMergePointsOn ()
 This flag causes blocks to share locators so there are no boundary edges between blocks. More...
 
virtual void EnableMergePointsOff ()
 This flag causes blocks to share locators so there are no boundary edges between blocks. More...
 

Static Public Member Functions

static vtkAMRDualClipNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAMRDualClipSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkAMRDualClip ()
 
 ~vtkAMRDualClip ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void InitializeCopyAttributes (vtkNonOverlappingAMR *hbdsInput, vtkDataSet *mesh)
 
vtkMultiBlockDataSet * DoRequestData (vtkNonOverlappingAMR *input, const char *arrayNameToProcess)
 Not a pipeline function. More...
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
void ShareBlockLocatorWithNeighbors (vtkAMRDualGridHelperBlock *block)
 
void ProcessBlock (vtkAMRDualGridHelperBlock *block, int blockId, const char *arrayName)
 
void ProcessDualCell (vtkAMRDualGridHelperBlock *block, int blockId, int x, int y, int z, vtkIdType cornerOffsets[8], vtkDataArray *volumeFractionArray)
 
void InitializeLevelMask (vtkAMRDualGridHelperBlock *block)
 
void ShareLevelMask (vtkAMRDualGridHelperBlock *block)
 
void DistributeLevelMasks ()
 

Protected Attributes

double IsoValue
 
int EnableInternalDecimation
 
int EnableDegenerateCells
 
int EnableMultiProcessCommunication
 
int EnableMergePoints
 
vtkUnstructuredGrid * Mesh
 
vtkIntArray * BlockIdCellArray
 
vtkUnsignedCharArray * LevelMaskPointArray
 
vtkAMRDualGridHelperHelper
 
vtkPoints * Points
 
vtkCellArray * Cells
 
vtkMultiProcessController * Controller
 
int * MessageBuffer
 
int * MessageBufferLength
 
vtkAMRDualClipLocator * BlockLocator
 

Detailed Description

Clip (with scalars) an AMR volume to unstructured grid.

This filter clips an AMR volume but does not copy attributes yet. This filter has two important features. First is that the level transitions are handled correctly, and second is that interal cells are decimated. I use a variation of degenerate points/cells used for level transitions.

Definition at line 51 of file vtkAMRDualClip.h.

Member Typedef Documentation

§ Superclass

typedef vtkMultiBlockDataSetAlgorithm vtkAMRDualClip::Superclass

Definition at line 55 of file vtkAMRDualClip.h.

Constructor & Destructor Documentation

§ vtkAMRDualClip()

vtkAMRDualClip::vtkAMRDualClip ( )
protected

§ ~vtkAMRDualClip()

vtkAMRDualClip::~vtkAMRDualClip ( )
protected

Member Function Documentation

§ New()

static vtkAMRDualClip* vtkAMRDualClip::New ( )
static

§ GetClassName()

virtual const char* vtkAMRDualClip::GetClassName ( )
virtual

Reimplemented in vtkPVAMRDualClip.

§ IsTypeOf()

static int vtkAMRDualClip::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkAMRDualClip::IsA ( const char *  type)
virtual

Reimplemented in vtkPVAMRDualClip.

§ SafeDownCast()

static vtkAMRDualClip* vtkAMRDualClip::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkAMRDualClip::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ SetIsoValue()

virtual void vtkAMRDualClip::SetIsoValue ( double  )
virtual

§ GetIsoValue()

virtual double vtkAMRDualClip::GetIsoValue ( )
virtual

§ SetEnableInternalDecimation()

virtual void vtkAMRDualClip::SetEnableInternalDecimation ( int  )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ GetEnableInternalDecimation()

virtual int vtkAMRDualClip::GetEnableInternalDecimation ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ SetEnableDegenerateCells()

virtual void vtkAMRDualClip::SetEnableDegenerateCells ( int  )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ GetEnableDegenerateCells()

virtual int vtkAMRDualClip::GetEnableDegenerateCells ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ EnableDegenerateCellsOn()

virtual void vtkAMRDualClip::EnableDegenerateCellsOn ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ EnableDegenerateCellsOff()

virtual void vtkAMRDualClip::EnableDegenerateCellsOff ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ SetEnableMultiProcessCommunication()

virtual void vtkAMRDualClip::SetEnableMultiProcessCommunication ( int  )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ GetEnableMultiProcessCommunication()

virtual int vtkAMRDualClip::GetEnableMultiProcessCommunication ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ EnableMultiProcessCommunicationOn()

virtual void vtkAMRDualClip::EnableMultiProcessCommunicationOn ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ EnableMultiProcessCommunicationOff()

virtual void vtkAMRDualClip::EnableMultiProcessCommunicationOff ( )
virtual

These are to evaluate performances.

You can turn off degenerate cells and multiprocess comunication to see how they affect speed of execution. Degenerate cells is the meshing between levels in the grid.

§ SetEnableMergePoints()

virtual void vtkAMRDualClip::SetEnableMergePoints ( int  )
virtual

This flag causes blocks to share locators so there are no boundary edges between blocks.

It does not eliminate boundary edges between processes.

§ GetEnableMergePoints()

virtual int vtkAMRDualClip::GetEnableMergePoints ( )
virtual

This flag causes blocks to share locators so there are no boundary edges between blocks.

It does not eliminate boundary edges between processes.

§ EnableMergePointsOn()

virtual void vtkAMRDualClip::EnableMergePointsOn ( )
virtual

This flag causes blocks to share locators so there are no boundary edges between blocks.

It does not eliminate boundary edges between processes.

§ EnableMergePointsOff()

virtual void vtkAMRDualClip::EnableMergePointsOff ( )
virtual

This flag causes blocks to share locators so there are no boundary edges between blocks.

It does not eliminate boundary edges between processes.

§ GetController()

virtual vtkMultiProcessController* vtkAMRDualClip::GetController ( )
virtual

§ SetController()

virtual void vtkAMRDualClip::SetController ( vtkMultiProcessController *  )
virtual

§ RequestData()

virtual int vtkAMRDualClip::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented in vtkPVAMRDualClip.

§ InitializeCopyAttributes()

void vtkAMRDualClip::InitializeCopyAttributes ( vtkNonOverlappingAMR *  hbdsInput,
vtkDataSet *  mesh 
)
protected

§ DoRequestData()

vtkMultiBlockDataSet* vtkAMRDualClip::DoRequestData ( vtkNonOverlappingAMR *  input,
const char *  arrayNameToProcess 
)
protected

Not a pipeline function.

This is a helper function that allows creating a new data set given a input and a cell array name.

§ FillInputPortInformation()

virtual int vtkAMRDualClip::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

§ FillOutputPortInformation()

virtual int vtkAMRDualClip::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

§ ShareBlockLocatorWithNeighbors()

void vtkAMRDualClip::ShareBlockLocatorWithNeighbors ( vtkAMRDualGridHelperBlock block)
protected

§ ProcessBlock()

void vtkAMRDualClip::ProcessBlock ( vtkAMRDualGridHelperBlock block,
int  blockId,
const char *  arrayName 
)
protected

§ ProcessDualCell()

void vtkAMRDualClip::ProcessDualCell ( vtkAMRDualGridHelperBlock block,
int  blockId,
int  x,
int  y,
int  z,
vtkIdType  cornerOffsets[8],
vtkDataArray *  volumeFractionArray 
)
protected

§ InitializeLevelMask()

void vtkAMRDualClip::InitializeLevelMask ( vtkAMRDualGridHelperBlock block)
protected

§ ShareLevelMask()

void vtkAMRDualClip::ShareLevelMask ( vtkAMRDualGridHelperBlock block)
protected

§ DistributeLevelMasks()

void vtkAMRDualClip::DistributeLevelMasks ( )
protected

Member Data Documentation

§ IsoValue

double vtkAMRDualClip::IsoValue
protected

Definition at line 95 of file vtkAMRDualClip.h.

§ EnableInternalDecimation

int vtkAMRDualClip::EnableInternalDecimation
protected

Definition at line 98 of file vtkAMRDualClip.h.

§ EnableDegenerateCells

int vtkAMRDualClip::EnableDegenerateCells
protected

Definition at line 99 of file vtkAMRDualClip.h.

§ EnableMultiProcessCommunication

int vtkAMRDualClip::EnableMultiProcessCommunication
protected

Definition at line 100 of file vtkAMRDualClip.h.

§ EnableMergePoints

int vtkAMRDualClip::EnableMergePoints
protected

Definition at line 101 of file vtkAMRDualClip.h.

§ Mesh

vtkUnstructuredGrid* vtkAMRDualClip::Mesh
protected

Definition at line 104 of file vtkAMRDualClip.h.

§ BlockIdCellArray

vtkIntArray* vtkAMRDualClip::BlockIdCellArray
protected

Definition at line 136 of file vtkAMRDualClip.h.

§ LevelMaskPointArray

vtkUnsignedCharArray* vtkAMRDualClip::LevelMaskPointArray
protected

Definition at line 137 of file vtkAMRDualClip.h.

§ Helper

vtkAMRDualGridHelper* vtkAMRDualClip::Helper
protected

Definition at line 140 of file vtkAMRDualClip.h.

§ Points

vtkPoints* vtkAMRDualClip::Points
protected

Definition at line 141 of file vtkAMRDualClip.h.

§ Cells

vtkCellArray* vtkAMRDualClip::Cells
protected

Definition at line 142 of file vtkAMRDualClip.h.

§ Controller

vtkMultiProcessController* vtkAMRDualClip::Controller
protected

Definition at line 144 of file vtkAMRDualClip.h.

§ MessageBuffer

int* vtkAMRDualClip::MessageBuffer
protected

Definition at line 148 of file vtkAMRDualClip.h.

§ MessageBufferLength

int* vtkAMRDualClip::MessageBufferLength
protected

Definition at line 149 of file vtkAMRDualClip.h.

§ BlockLocator

vtkAMRDualClipLocator* vtkAMRDualClip::BlockLocator
protected

Definition at line 151 of file vtkAMRDualClip.h.


The documentation for this class was generated from the following file: