VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkExtractTemporalFieldData Class Reference

Extract temporal arrays from input field data. More...

#include <vtkExtractTemporalFieldData.h>

Inherits vtkTableAlgorithm.

Public Types

typedef vtkTableAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkExtractTemporalFieldDataNewInstance () const
 
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 (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 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
 

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 44 of file vtkExtractTemporalFieldData.h.

Member Typedef Documentation

typedef vtkTableAlgorithm vtkExtractTemporalFieldData::Superclass

Definition at line 48 of file vtkExtractTemporalFieldData.h.

Constructor & Destructor Documentation

vtkExtractTemporalFieldData::vtkExtractTemporalFieldData ( )
protected
vtkExtractTemporalFieldData::~vtkExtractTemporalFieldData ( )
protected

Member Function Documentation

static vtkExtractTemporalFieldData* vtkExtractTemporalFieldData::New ( )
static
static int vtkExtractTemporalFieldData::IsTypeOf ( const char *  type)
static
virtual int vtkExtractTemporalFieldData::IsA ( const char *  type)
virtual
static vtkExtractTemporalFieldData* vtkExtractTemporalFieldData::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExtractTemporalFieldData::NewInstanceInternal ( ) const
protectedvirtual
vtkExtractTemporalFieldData* vtkExtractTemporalFieldData::NewInstance ( ) const
void vtkExtractTemporalFieldData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual int vtkExtractTemporalFieldData::GetNumberOfTimeSteps ( )
virtual

Get the number of time steps

virtual int vtkExtractTemporalFieldData::ProcessRequest ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkExtractTemporalFieldData::RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
virtual int vtkExtractTemporalFieldData::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
virtual int vtkExtractTemporalFieldData::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
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

int vtkExtractTemporalFieldData::NumberOfTimeSteps
protected

Definition at line 81 of file vtkExtractTemporalFieldData.h.


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