Generates surface of an CTH volume fraction.
More...
#include <vtkExtractCTHPart.h>
Inherits vtkMultiBlockDataSetAlgorithm.
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| 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) |
|
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 56 of file vtkExtractCTHPart.h.
vtkExtractCTHPart::vtkExtractCTHPart |
( |
| ) |
|
|
protected |
vtkExtractCTHPart::~vtkExtractCTHPart |
( |
| ) |
|
|
protected |
static int vtkExtractCTHPart::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExtractCTHPart::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExtractCTHPart::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExtractCTHPart::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct object with initial range (0,1) and single contour value of 0.0.
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 |
( |
| ) |
|
Look at clip plane to compute MTime.
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 * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
virtual int vtkExtractCTHPart::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
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 |
|
) |
| |
|
protectedvirtual |
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 |
vtkPlane* vtkExtractCTHPart::ClipPlane |
|
protected |
vtkExtractCTHPartInternal* vtkExtractCTHPart::Internals |
|
protected |
vtkDoubleArray* vtkExtractCTHPart::PointVolumeFraction |
|
protected |
vtkUniformGrid* vtkExtractCTHPart::Data |
|
protected |
vtkPolyData* vtkExtractCTHPart::PolyData |
|
protected |
vtkAlgorithm* vtkExtractCTHPart::PolyDataProducer |
|
protected |
vtkPolyData* vtkExtractCTHPart::RPolyData |
|
protected |
vtkAlgorithm* vtkExtractCTHPart::RPolyDataProducer |
|
protected |
vtkPolyData* vtkExtractCTHPart::SurfacePolyData |
|
protected |
vtkRectilinearGrid* vtkExtractCTHPart::RData |
|
protected |
int vtkExtractCTHPart::VolumeFractionType |
|
protected |
double vtkExtractCTHPart::VolumeFractionSurfaceValue |
|
protected |
double vtkExtractCTHPart::VolumeFractionSurfaceValueInternal |
|
protected |
int vtkExtractCTHPart::OverwriteVolumeFractionSurfaceValue |
|
protected |
vtkBoundingBox* vtkExtractCTHPart::Bounds |
|
protected |
vtkMultiProcessController* vtkExtractCTHPart::Controller |
|
protected |
The documentation for this class was generated from the following file: