vtkExtractTemporalFieldData Class Reference

#include <vtkExtractTemporalFieldData.h>

Inheritance diagram for vtkExtractTemporalFieldData:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractTemporalFieldData:

Collaboration graph
[legend]

List of all members.


Detailed Description

Extract temporal arrays from input field data.

vtkExtractTemporalFieldData extracts arrays from the input vtkFieldData. These arrays are assumed to contain temporal data, where the nth tuple contains the value for the nth timestep. The output is a 1D rectilinear grid where the XCoordinates correspond to time (the same array is also copied to a point array named Time or TimeData (if Time exists in the input). This algorithm does not produce a TIME_STEPS or TIME_RANGE information because it works across time.

Caveat:
vtkExtractTemporalFieldData puts a vtkOnePieceExtentTranslator in the output during RequestInformation(). As a result, the same whole extented is produced independent of the piece request. This algorithm works only with source that produce TIME_STEPS(). Continuous time range is not yet supported.

Definition at line 43 of file vtkExtractTemporalFieldData.h.


Public Types

typedef vtkTableAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetNumberOfTimeSteps ()

Static Public Member Functions

static
vtkExtractTemporalFieldData
New ()
static int IsTypeOf (const char *type)
static
vtkExtractTemporalFieldData
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkExtractTemporalFieldData ()
 ~vtkExtractTemporalFieldData ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void CopyDataToOutput (vtkInformation *inInfo, vtkDataSet *input, vtkTable *output)

Protected Attributes

int NumberOfTimeSteps

Member Typedef Documentation

Reimplemented from vtkTableAlgorithm.

Definition at line 47 of file vtkExtractTemporalFieldData.h.


Constructor & Destructor Documentation

vtkExtractTemporalFieldData::vtkExtractTemporalFieldData (  )  [protected]

vtkExtractTemporalFieldData::~vtkExtractTemporalFieldData (  )  [protected]


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkTableAlgorithm.

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

Reimplemented from vtkTableAlgorithm.

static int vtkExtractTemporalFieldData::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkTableAlgorithm.

virtual int vtkExtractTemporalFieldData::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkTableAlgorithm.

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

Reimplemented from vtkTableAlgorithm.

void vtkExtractTemporalFieldData::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 vtkTableAlgorithm.

virtual int vtkExtractTemporalFieldData::GetNumberOfTimeSteps (  )  [virtual]

Get the number of time steps

virtual int vtkExtractTemporalFieldData::ProcessRequest ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

see vtkAlgorithm for details

Reimplemented from vtkTableAlgorithm.

virtual int vtkExtractTemporalFieldData::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkTableAlgorithm.

virtual int vtkExtractTemporalFieldData::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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

Reimplemented from vtkTableAlgorithm.

virtual int vtkExtractTemporalFieldData::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 vtkTableAlgorithm.

void vtkExtractTemporalFieldData::CopyDataToOutput ( vtkInformation inInfo,
vtkDataSet input,
vtkTable output 
) [protected]

This looks at the arrays in the vtkFieldData of input and copies them to the output point data.


Member Data Documentation

Definition at line 80 of file vtkExtractTemporalFieldData.h.


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

Generated on Mon Sep 27 18:23:53 2010 for VTK by  doxygen 1.5.6