VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTemporalSnapToTimeStep Class Reference

modify the time range/steps of temporal data More...

#include <vtkTemporalSnapToTimeStep.h>

Inheritance diagram for vtkTemporalSnapToTimeStep:
Inheritance graph
[legend]
Collaboration diagram for vtkTemporalSnapToTimeStep:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { VTK_SNAP_NEAREST = 0, VTK_SNAP_NEXTBELOW_OR_EQUAL, VTK_SNAP_NEXTABOVE_OR_EQUAL }
typedef vtkAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTemporalSnapToTimeStepNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetSnapMode (int)
virtual int GetSnapMode ()
void SetSnapModeToNearest ()
void SetSnapModeToNextBelowOrEqual ()
void SetSnapModeToNextAboveOrEqual ()

Static Public Member Functions

static vtkTemporalSnapToTimeStepNew ()
static int IsTypeOf (const char *type)
static vtkTemporalSnapToTimeStepSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTemporalSnapToTimeStep ()
 ~vtkTemporalSnapToTimeStep ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

std::vector< doubleInputTimeValues
int HasDiscrete
int SnapMode

Detailed Description

modify the time range/steps of temporal data

vtkTemporalSnapToTimeStep modify the time range or time steps of the data without changing the data itself. The data is not resampled by this filter, only the information accompanying the data is modified.

Thanks:
John Bidiscombe of CSCS - Swiss National Supercomputing Centre for creating and contributing this class. For related material, please refer to : John Biddiscombe, Berk Geveci, Ken Martin, Kenneth Moreland, David Thompson, "Time Dependent Processing in a Parallel Pipeline Architecture", IEEE Visualization 2007.
Tests:
vtkTemporalSnapToTimeStep (Tests)

Definition at line 44 of file vtkTemporalSnapToTimeStep.h.


Member Typedef Documentation

Reimplemented from vtkAlgorithm.

Definition at line 48 of file vtkTemporalSnapToTimeStep.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
VTK_SNAP_NEAREST 
VTK_SNAP_NEXTBELOW_OR_EQUAL 
VTK_SNAP_NEXTABOVE_OR_EQUAL 

Definition at line 52 of file vtkTemporalSnapToTimeStep.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

static int vtkTemporalSnapToTimeStep::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 vtkAlgorithm.

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

Reimplemented from vtkAlgorithm.

virtual vtkObjectBase* vtkTemporalSnapToTimeStep::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkAlgorithm.

Reimplemented from vtkAlgorithm.

void vtkTemporalSnapToTimeStep::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 vtkAlgorithm.

virtual void vtkTemporalSnapToTimeStep::SetSnapMode ( int  ) [virtual]

Definition at line 60 of file vtkTemporalSnapToTimeStep.h.

Definition at line 61 of file vtkTemporalSnapToTimeStep.h.

Definition at line 62 of file vtkTemporalSnapToTimeStep.h.

virtual int vtkTemporalSnapToTimeStep::ProcessRequest ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

see vtkAlgorithm for details

Reimplemented from vtkAlgorithm.

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

virtual int vtkTemporalSnapToTimeStep::FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation info 
) [protected, virtual]

Member Data Documentation

Definition at line 90 of file vtkTemporalSnapToTimeStep.h.

Definition at line 91 of file vtkTemporalSnapToTimeStep.h.

Definition at line 92 of file vtkTemporalSnapToTimeStep.h.


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