vtkExtractCTHPart Class Reference

#include <vtkExtractCTHPart.h>

Inheritance diagram for vtkExtractCTHPart:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractCTHPart:

Collaboration graph
[legend]

List of all members.


Detailed Description

Generates surface of an CTH volume fraction.

vtkExtractCTHPart is a filter that is specialized for creating visualization of a CTH simulation. First it converts the cell data to point data. It contours the selected volume fraction at a value of 0.5. The user has the option of clipping the part with a plane. Clipped surfaces of the part are generated.

Tests:
vtkExtractCTHPart (Tests)

Definition at line 55 of file vtkExtractCTHPart.h.


Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
void SetController (vtkMultiProcessController *controller)
void RemoveDoubleVolumeArrayNames ()
void RemoveFloatVolumeArrayNames ()
void RemoveUnsignedCharVolumeArrayNames ()
int GetNumberOfVolumeArrayNames ()
const char * GetVolumeArrayName (int idx)
void RemoveAllVolumeArrayNames ()
void AddDoubleVolumeArrayName (char *arrayName)
void AddFloatVolumeArrayName (char *arrayName)
void AddUnsignedCharVolumeArrayName (char *arrayName)
void AddVolumeArrayName (char *arrayName)
void SetClipPlane (vtkPlane *clipPlane)
virtual vtkPlaneGetClipPlane ()
virtual vtkMultiProcessControllerGetController ()
virtual void SetVolumeFractionSurfaceValue (double)
virtual double GetVolumeFractionSurfaceValue ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkExtractCTHPartSafeDownCast (vtkObject *o)
static
vtkInformationDoubleVectorKey
BOUNDS ()
static vtkExtractCTHPartNew ()

Protected Member Functions

 vtkExtractCTHPart ()
 ~vtkExtractCTHPart ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ExecutePart (const char *arrayName, vtkCompositeDataSet *input, vtkAppendPolyData *appendSurface, vtkAppendPolyData *append, float minProgress, float maxProgress)
void ExecutePartOnUniformGrid (const char *arrayName, vtkUniformGrid *input, vtkAppendPolyData *appendSurface, vtkAppendPolyData *append, float minProgress, float maxProgress)
void ExecutePartOnRectilinearGrid (const char *arrayName, vtkRectilinearGrid *input, vtkAppendPolyData *appendSurface, vtkAppendPolyData *append, float minProgress, float maxProgress)
void ExecuteCellDataToPointData (vtkDataArray *cellVolumeFraction, vtkDoubleArray *pointVolumeFraction, int *dims, float minProgress, float maxProgress, int reportProgress)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void CreateInternalPipeline ()
void DeleteInternalPipeline ()
void ExecuteFaceQuads (vtkDataSet *input, vtkPolyData *output, int maxFlag, int originExtents[3], int ext[6], int aAxis, int bAxis, int cAxis)
void EvaluateVolumeFractionType (vtkRectilinearGrid *rg, vtkCompositeDataSet *input)
void ComputeBounds (vtkCompositeDataSet *input, int processNumber, int numProcessors)
int ExtractUniformGridSurface (vtkUniformGrid *input, vtkPolyData *output)
int ExtractRectilinearGridSurface (vtkRectilinearGrid *input, vtkPolyData *output)
int IsGhostFace (int axis0, int maxFlag, int dims[3], vtkUnsignedCharArray *ghostArray)

Protected Attributes

vtkPlaneClipPlane
vtkExtractCTHPartInternal * Internals
vtkDoubleArrayPointVolumeFraction
vtkUniformGridData
vtkContourFilterContour
vtkAppendPolyDataAppend2
vtkClipPolyDataClip1
vtkCutterCut
vtkClipPolyDataClip2
vtkPolyDataPolyData
vtkPolyDataRPolyData
vtkPolyDataSurfacePolyData
vtkRectilinearGridRData
vtkContourFilterRContour
vtkAppendPolyDataRAppend2
vtkClipPolyDataRClip1
vtkCutterRCut
vtkClipPolyDataRClip2
int VolumeFractionType
double VolumeFractionSurfaceValue
double VolumeFractionSurfaceValueInternal
int OverwriteVolumeFractionSurfaceValue
vtkBoundingBoxBounds
vtkMultiProcessControllerController

Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Definition at line 58 of file vtkExtractCTHPart.h.


Constructor & Destructor Documentation

vtkExtractCTHPart::vtkExtractCTHPart (  )  [protected]

vtkExtractCTHPart::~vtkExtractCTHPart (  )  [protected]


Member Function Documentation

virtual const char* vtkExtractCTHPart::GetClassName (  )  [virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static int vtkExtractCTHPart::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkExtractCTHPart::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static vtkExtractCTHPart* vtkExtractCTHPart::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkExtractCTHPart::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static vtkInformationDoubleVectorKey* vtkExtractCTHPart::BOUNDS (  )  [static]

key to record the bounds of the hierarchical dataset.

static vtkExtractCTHPart* vtkExtractCTHPart::New (  )  [static]

Construct object with initial range (0,1) and single contour value of 0.0.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkExtractCTHPart::RemoveDoubleVolumeArrayNames (  ) 

Names of cell volume fraction arrays to extract.

void vtkExtractCTHPart::RemoveFloatVolumeArrayNames (  ) 

Names of cell volume fraction arrays to extract.

void vtkExtractCTHPart::RemoveUnsignedCharVolumeArrayNames (  ) 

Names of cell volume fraction arrays to extract.

int vtkExtractCTHPart::GetNumberOfVolumeArrayNames (  ) 

Names of cell volume fraction arrays to extract.

const char* vtkExtractCTHPart::GetVolumeArrayName ( int  idx  ) 

Names of cell volume fraction arrays to extract.

void vtkExtractCTHPart::RemoveAllVolumeArrayNames (  ) 

Names of cell volume fraction arrays to extract.

void vtkExtractCTHPart::AddDoubleVolumeArrayName ( char *  arrayName  ) 

Names of cell volume fraction arrays to extract. Each of the volume fraction arrays must be of the same type. These three methods enforce that on input, removing any prior arrays of the wrong type whenever a new array is added.

void vtkExtractCTHPart::AddFloatVolumeArrayName ( char *  arrayName  ) 

Names of cell volume fraction arrays to extract. Each of the volume fraction arrays must be of the same type. These three methods enforce that on input, removing any prior arrays of the wrong type whenever a new array is added.

void vtkExtractCTHPart::AddUnsignedCharVolumeArrayName ( char *  arrayName  ) 

Names of cell volume fraction arrays to extract. Each of the volume fraction arrays must be of the same type. These three methods enforce that on input, removing any prior arrays of the wrong type whenever a new array is added.

void vtkExtractCTHPart::AddVolumeArrayName ( char *  arrayName  ) 

Names of cell volume fraction arrays to extract. Each of the volume fraction arrays must be of the same type. These three methods enforce that on input, removing any prior arrays of the wrong type whenever a new array is added.

void vtkExtractCTHPart::SetClipPlane ( vtkPlane clipPlane  ) 

Set, get or maninpulate the implicit clipping plane.

virtual vtkPlane* vtkExtractCTHPart::GetClipPlane (  )  [virtual]

Set, get or maninpulate the implicit clipping plane.

unsigned long vtkExtractCTHPart::GetMTime (  )  [virtual]

Look at clip plane to compute MTime.

Reimplemented from vtkObject.

void vtkExtractCTHPart::SetController ( vtkMultiProcessController controller  ) 

Set the controller used to coordinate parallel processing.

virtual vtkMultiProcessController* vtkExtractCTHPart::GetController (  )  [virtual]

Return the controller used to coordinate parallel processing. By default, it is the global controller.

virtual void vtkExtractCTHPart::SetVolumeFractionSurfaceValue ( double   )  [virtual]

Set and get the volume fraction surface value. This value should be between 0 and 1

virtual double vtkExtractCTHPart::GetVolumeFractionSurfaceValue (  )  [virtual]

Set and get the volume fraction surface value. This value should be between 0 and 1

virtual int vtkExtractCTHPart::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkExtractCTHPart::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkExtractCTHPart::ComputeBounds ( vtkCompositeDataSet input,
int  processNumber,
int  numProcessors 
) [protected]

the input is a hierarchy of vtkUniformGrid or one level of vtkRectilinearGrid. The output is a hierarchy of vtkPolyData.

Compute the bounds over the composite dataset, some sub-dataset can be on other processors.

void vtkExtractCTHPart::ExecutePart ( const char *  arrayName,
vtkCompositeDataSet input,
vtkAppendPolyData appendSurface,
vtkAppendPolyData append,
float  minProgress,
float  maxProgress 
) [protected]

void vtkExtractCTHPart::ExecutePartOnUniformGrid ( const char *  arrayName,
vtkUniformGrid input,
vtkAppendPolyData appendSurface,
vtkAppendPolyData append,
float  minProgress,
float  maxProgress 
) [protected]

void vtkExtractCTHPart::ExecutePartOnRectilinearGrid ( const char *  arrayName,
vtkRectilinearGrid input,
vtkAppendPolyData appendSurface,
vtkAppendPolyData append,
float  minProgress,
float  maxProgress 
) [protected]

void vtkExtractCTHPart::ExecuteCellDataToPointData ( vtkDataArray cellVolumeFraction,
vtkDoubleArray pointVolumeFraction,
int *  dims,
float  minProgress,
float  maxProgress,
int  reportProgress 
) [protected]

virtual int vtkExtractCTHPart::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkExtractCTHPart::CreateInternalPipeline (  )  [protected]

void vtkExtractCTHPart::DeleteInternalPipeline (  )  [protected]

int vtkExtractCTHPart::ExtractUniformGridSurface ( vtkUniformGrid input,
vtkPolyData output 
) [protected]

Append quads for faces of the block that actually on the bounds of the hierarchical dataset. Deals with ghost cells. Return true if the output is not empty.

int vtkExtractCTHPart::ExtractRectilinearGridSurface ( vtkRectilinearGrid input,
vtkPolyData output 
) [protected]

Append quads for faces of the block that actually on the bounds of the hierarchical dataset. Deals with ghost cells. Return true if the output is not empty.

void vtkExtractCTHPart::ExecuteFaceQuads ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
int  originExtents[3],
int  ext[6],
int  aAxis,
int  bAxis,
int  cAxis 
) [protected]

int vtkExtractCTHPart::IsGhostFace ( int  axis0,
int  maxFlag,
int  dims[3],
vtkUnsignedCharArray ghostArray 
) [protected]

Is block face on axis0 (either min or max depending on the maxFlag) composed of only ghost cells?

Precondition:
valid_axis0: axis0>=0 && axis0<=2

void vtkExtractCTHPart::EvaluateVolumeFractionType ( vtkRectilinearGrid rg,
vtkCompositeDataSet input 
) [protected]


Member Data Documentation

Definition at line 216 of file vtkExtractCTHPart.h.

vtkExtractCTHPartInternal* vtkExtractCTHPart::Internals [protected]

Definition at line 217 of file vtkExtractCTHPart.h.

Definition at line 220 of file vtkExtractCTHPart.h.

Definition at line 225 of file vtkExtractCTHPart.h.

Definition at line 228 of file vtkExtractCTHPart.h.

Definition at line 229 of file vtkExtractCTHPart.h.

Definition at line 230 of file vtkExtractCTHPart.h.

Definition at line 231 of file vtkExtractCTHPart.h.

Definition at line 232 of file vtkExtractCTHPart.h.

Definition at line 234 of file vtkExtractCTHPart.h.

Definition at line 235 of file vtkExtractCTHPart.h.

Definition at line 236 of file vtkExtractCTHPart.h.

Definition at line 238 of file vtkExtractCTHPart.h.

Definition at line 239 of file vtkExtractCTHPart.h.

Definition at line 240 of file vtkExtractCTHPart.h.

Definition at line 241 of file vtkExtractCTHPart.h.

Definition at line 242 of file vtkExtractCTHPart.h.

Definition at line 243 of file vtkExtractCTHPart.h.

Definition at line 247 of file vtkExtractCTHPart.h.

Definition at line 248 of file vtkExtractCTHPart.h.

Definition at line 249 of file vtkExtractCTHPart.h.

Definition at line 250 of file vtkExtractCTHPart.h.

Definition at line 252 of file vtkExtractCTHPart.h.

Definition at line 254 of file vtkExtractCTHPart.h.


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

Generated on Sat Dec 27 13:24:36 2008 for VTK by  doxygen 1.5.6