vtkTemporalSnapToTimeStep Class Reference

#include <vtkTemporalSnapToTimeStep.h>

Inheritance diagram for vtkTemporalSnapToTimeStep:

Inheritance graph
[legend]
Collaboration diagram for vtkTemporalSnapToTimeStep:

Collaboration graph
[legend]

List of all members.


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.

Definition at line 32 of file vtkTemporalSnapToTimeStep.h.


Public Types

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

Public Member Functions

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

Protected Member Functions

 vtkTemporalSnapToTimeStep ()
 ~vtkTemporalSnapToTimeStep ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkstd::vector< double > InputTimeValues
int HasDiscrete
int SnapMode

Member Typedef Documentation

Reimplemented from vtkTemporalDataSetAlgorithm.

Definition at line 36 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 40 of file vtkTemporalSnapToTimeStep.h.


Constructor & Destructor Documentation

vtkTemporalSnapToTimeStep::vtkTemporalSnapToTimeStep (  )  [protected]

vtkTemporalSnapToTimeStep::~vtkTemporalSnapToTimeStep (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkTemporalDataSetAlgorithm.

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

Reimplemented from vtkTemporalDataSetAlgorithm.

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkTemporalDataSetAlgorithm.

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkTemporalDataSetAlgorithm.

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

Reimplemented from vtkTemporalDataSetAlgorithm.

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 vtkTemporalDataSetAlgorithm.

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

virtual int vtkTemporalSnapToTimeStep::GetSnapMode (  )  [virtual]

void vtkTemporalSnapToTimeStep::SetSnapModeToNearest (  )  [inline]

Definition at line 48 of file vtkTemporalSnapToTimeStep.h.

void vtkTemporalSnapToTimeStep::SetSnapModeToNextBelowOrEqual (  )  [inline]

Definition at line 49 of file vtkTemporalSnapToTimeStep.h.

void vtkTemporalSnapToTimeStep::SetSnapModeToNextAboveOrEqual (  )  [inline]

Definition at line 50 of file vtkTemporalSnapToTimeStep.h.

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

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

Reimplemented from vtkTemporalDataSetAlgorithm.

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

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

Reimplemented from vtkTemporalDataSetAlgorithm.

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

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

Reimplemented from vtkTemporalDataSetAlgorithm.


Member Data Documentation

vtkstd::vector<double> vtkTemporalSnapToTimeStep::InputTimeValues [protected]

Definition at line 68 of file vtkTemporalSnapToTimeStep.h.

Definition at line 69 of file vtkTemporalSnapToTimeStep.h.

Definition at line 70 of file vtkTemporalSnapToTimeStep.h.


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

Generated on Sat Dec 27 13:52:57 2008 for VTK by  doxygen 1.5.6