#include <vtkExtractCTHPart.h>
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.
Definition at line 54 of file vtkExtractCTHPart.h.
vtkExtractCTHPart::vtkExtractCTHPart | ( | ) | [protected] |
vtkExtractCTHPart::~vtkExtractCTHPart | ( | ) | [protected] |
virtual const char* vtkExtractCTHPart::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
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 vtkPolyDataAlgorithm.
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 vtkPolyDataAlgorithm.
static vtkExtractCTHPart* vtkExtractCTHPart::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
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 vtkPolyDataAlgorithm.
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 vtkPolyDataAlgorithm.
void vtkExtractCTHPart::RemoveAllVolumeArrayNames | ( | ) |
Names of cell volume fraction arrays to extract.
void vtkExtractCTHPart::AddVolumeArrayName | ( | char * | arrayName | ) |
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::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] |
void vtkExtractCTHPart::SetOutputData | ( | int | idx, | |
vtkPolyData * | d | |||
) | [protected] |
int vtkExtractCTHPart::RequestInformation | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
int vtkExtractCTHPart::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
void vtkExtractCTHPart::ComputeBounds | ( | vtkHierarchicalDataSet * | 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.
int vtkExtractCTHPart::GetParentProcessor | ( | int | proc | ) | [protected] |
The processors are views as a heap tree. The root is the processor of id 0.
int vtkExtractCTHPart::GetLeftChildProcessor | ( | int | proc | ) | [protected] |
The processors are views as a heap tree. The root is the processor of id 0.
void vtkExtractCTHPart::ExecutePart | ( | const char * | arrayName, | |
vtkHierarchicalDataSet * | input, | |||
vtkAppendPolyData * | appendSurface, | |||
vtkAppendPolyData * | append | |||
) | [protected] |
void vtkExtractCTHPart::ExecutePartOnUniformGrid | ( | const char * | arrayName, | |
vtkUniformGrid * | input, | |||
vtkAppendPolyData * | appendSurface, | |||
vtkAppendPolyData * | append | |||
) | [protected] |
void vtkExtractCTHPart::ExecutePartOnRectilinearGrid | ( | const char * | arrayName, | |
vtkRectilinearGrid * | input, | |||
vtkAppendPolyData * | appendSurface, | |||
vtkAppendPolyData * | append | |||
) | [protected] |
void vtkExtractCTHPart::ExecuteCellDataToPointData | ( | vtkDataArray * | cellVolumeFraction, | |
vtkDoubleArray * | pointVolumeFraction, | |||
int * | dims | |||
) | [protected] |
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 vtkPolyDataAlgorithm.
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?
vtkPlane* vtkExtractCTHPart::ClipPlane [protected] |
Definition at line 191 of file vtkExtractCTHPart.h.
vtkExtractCTHPartInternal* vtkExtractCTHPart::Internals [protected] |
Definition at line 192 of file vtkExtractCTHPart.h.
vtkDoubleArray* vtkExtractCTHPart::PointVolumeFraction [protected] |
Definition at line 195 of file vtkExtractCTHPart.h.
vtkUniformGrid* vtkExtractCTHPart::Data [protected] |
Definition at line 200 of file vtkExtractCTHPart.h.
vtkContourFilter* vtkExtractCTHPart::Contour [protected] |
Definition at line 203 of file vtkExtractCTHPart.h.
vtkAppendPolyData* vtkExtractCTHPart::Append2 [protected] |
Definition at line 204 of file vtkExtractCTHPart.h.
vtkClipPolyData* vtkExtractCTHPart::Clip1 [protected] |
Definition at line 205 of file vtkExtractCTHPart.h.
vtkCutter* vtkExtractCTHPart::Cut [protected] |
Definition at line 206 of file vtkExtractCTHPart.h.
vtkClipPolyData* vtkExtractCTHPart::Clip2 [protected] |
Definition at line 207 of file vtkExtractCTHPart.h.
vtkPolyData* vtkExtractCTHPart::PolyData [protected] |
Definition at line 209 of file vtkExtractCTHPart.h.
vtkPolyData* vtkExtractCTHPart::RPolyData [protected] |
Definition at line 210 of file vtkExtractCTHPart.h.
vtkPolyData* vtkExtractCTHPart::SurfacePolyData [protected] |
Definition at line 211 of file vtkExtractCTHPart.h.
vtkRectilinearGrid* vtkExtractCTHPart::RData [protected] |
Definition at line 213 of file vtkExtractCTHPart.h.
vtkContourFilter* vtkExtractCTHPart::RContour [protected] |
Definition at line 214 of file vtkExtractCTHPart.h.
vtkAppendPolyData* vtkExtractCTHPart::RAppend2 [protected] |
Definition at line 215 of file vtkExtractCTHPart.h.
vtkClipPolyData* vtkExtractCTHPart::RClip1 [protected] |
Definition at line 216 of file vtkExtractCTHPart.h.
vtkCutter* vtkExtractCTHPart::RCut [protected] |
Definition at line 217 of file vtkExtractCTHPart.h.
vtkClipPolyData* vtkExtractCTHPart::RClip2 [protected] |
Definition at line 218 of file vtkExtractCTHPart.h.
double vtkExtractCTHPart::Bounds[6] [protected] |
Definition at line 220 of file vtkExtractCTHPart.h.
vtkMultiProcessController* vtkExtractCTHPart::Controller [protected] |
Definition at line 222 of file vtkExtractCTHPart.h.