vtkExtractArraysOverTime Class Reference

#include <vtkExtractArraysOverTime.h>

Inheritance diagram for vtkExtractArraysOverTime:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractArraysOverTime:

Collaboration graph
[legend]

List of all members.


Detailed Description

extracts a selection over time.

vtkExtractArraysOverTime extracts a selection over time. The output is a multiblock dataset. If selection content type is vtkSelection::Locations, then each output block corresponds to each probed location. Otherwise, each output block corresponds to an extracted cell/point depending on whether the selection field type is CELL or POINT. Each block is a vtkTable with a column named Time (or TimeData if Time exists in the input). When extracting point data, the input point coordinates are copied to a column named Point Coordinates or Points (if Point Coordinates exists in the input). This algorithm does not produce a TIME_STEPS or TIME_RANGE information because it works across time.

Caveat:
This algorithm works only with source that produce TIME_STEPS(). Continuous time range is not yet supported.

Definition at line 46 of file vtkExtractArraysOverTime.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)
virtual int GetNumberOfTimeSteps ()
void SetSelectionConnection (vtkAlgorithmOutput *algOutput)

Static Public Member Functions

static vtkExtractArraysOverTimeNew ()
static int IsTypeOf (const char *type)
static vtkExtractArraysOverTimeSafeDownCast (vtkObject *o)

Protected Types

enum  Errors { NoError, MoreThan1Indices }

Protected Member Functions

 vtkExtractArraysOverTime ()
 ~vtkExtractArraysOverTime ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void PostExecute (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int DetermineSelectionType (vtkSelection *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void CopyFastPathDataToOutput (vtkDataSet *input, vtkTable *output)
void ExecuteAtTimeStep (vtkInformationVector **inputV, vtkInformation *outInfo)
bool UpdateFastPathIDs (vtkInformationVector **inputV, vtkInformation *outInfo)

Protected Attributes

int CurrentTimeIndex
int NumberOfTimeSteps
int FieldType
int ContentType
bool WaitingForFastPathData
bool IsExecuting
bool UseFastPath
int Error

Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

Definition at line 50 of file vtkExtractArraysOverTime.h.


Member Enumeration Documentation

Enumerator:
NoError 
MoreThan1Indices 

Definition at line 122 of file vtkExtractArraysOverTime.h.


Constructor & Destructor Documentation

vtkExtractArraysOverTime::vtkExtractArraysOverTime (  )  [protected]

vtkExtractArraysOverTime::~vtkExtractArraysOverTime (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

static int vtkExtractArraysOverTime::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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

virtual int vtkExtractArraysOverTime::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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

void vtkExtractArraysOverTime::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.

Reimplemented in vtkPExtractArraysOverTime.

virtual int vtkExtractArraysOverTime::GetNumberOfTimeSteps (  )  [virtual]

Get the number of time steps

void vtkExtractArraysOverTime::SetSelectionConnection ( vtkAlgorithmOutput algOutput  )  [inline]

Convenience method to specify the selection connection (2nd input port)

Definition at line 61 of file vtkExtractArraysOverTime.h.

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

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkExtractArraysOverTime::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual void vtkExtractArraysOverTime::PostExecute ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented in vtkPExtractArraysOverTime.

int vtkExtractArraysOverTime::DetermineSelectionType ( vtkSelection  )  [protected]

Determines the FieldType and ContentType for the selection. If the selection is a vtkSelection::SELECTIONS selection, then this method ensures that all child nodes have the same field type and content type otherwise, it returns 0.

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

bool vtkExtractArraysOverTime::UpdateFastPathIDs ( vtkInformationVector **  inputV,
vtkInformation outInfo 
) [protected]

This method doesn't care about the content type of the selection, just grabs the value.

void vtkExtractArraysOverTime::CopyFastPathDataToOutput ( vtkDataSet input,
vtkTable output 
) [protected]

This looks at the arrays in the vtkFieldData of input and copies those whose names are in the form "XXXOverTime" to the output point data.

void vtkExtractArraysOverTime::ExecuteAtTimeStep ( vtkInformationVector **  inputV,
vtkInformation outInfo 
) [protected]


Member Data Documentation

Definition at line 110 of file vtkExtractArraysOverTime.h.

Definition at line 111 of file vtkExtractArraysOverTime.h.

Definition at line 113 of file vtkExtractArraysOverTime.h.

Definition at line 114 of file vtkExtractArraysOverTime.h.

Definition at line 116 of file vtkExtractArraysOverTime.h.

Definition at line 117 of file vtkExtractArraysOverTime.h.

Definition at line 118 of file vtkExtractArraysOverTime.h.

Definition at line 120 of file vtkExtractArraysOverTime.h.


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

Generated on Wed Aug 24 11:35:33 2011 for VTK by  doxygen 1.5.6