ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVPlotTime Class Reference

takes care of drawing a "time" marker in the plot. More...

#include <vtkPVPlotTime.h>

Inherits vtkPlot.

Public Types

enum  { NONE = 0, X_AXIS = 1, Y_AXIS = 2 }
 
typedef vtkPlot Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual bool Paint (vtkContext2D *painter)
 Paint event for the axis, called whenever the axis needs to be drawn. More...
 
virtual void GetBounds (double bounds[4])
 Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax). More...
 
virtual void SetTimeAxisMode (int)
 Set the Time axis mode. More...
 
virtual int GetTimeAxisMode ()
 Set the Time axis mode. More...
 
virtual void SetTime (double)
 Set time value. More...
 
virtual double GetTime ()
 Set time value. More...
 

Static Public Member Functions

static vtkPVPlotTimeNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVPlotTimeSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVPlotTime ()
 
 ~vtkPVPlotTime ()
 

Protected Attributes

double Time
 
int TimeAxisMode
 

Detailed Description

takes care of drawing a "time" marker in the plot.

vtkPVPlotTime is used to add a "current-time" marker to the plot when on of the axes in the plots is time. Currently only X-axis as time is supported.

Definition at line 29 of file vtkPVPlotTime.h.

Member Typedef Documentation

§ Superclass

typedef vtkPlot vtkPVPlotTime::Superclass

Definition at line 33 of file vtkPVPlotTime.h.

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
NONE 
X_AXIS 
Y_AXIS 

Definition at line 36 of file vtkPVPlotTime.h.

Constructor & Destructor Documentation

§ vtkPVPlotTime()

vtkPVPlotTime::vtkPVPlotTime ( )
protected

§ ~vtkPVPlotTime()

vtkPVPlotTime::~vtkPVPlotTime ( )
protected

Member Function Documentation

§ New()

static vtkPVPlotTime* vtkPVPlotTime::New ( )
static

§ GetClassName()

virtual const char* vtkPVPlotTime::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkPVPlotTime::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkPVPlotTime::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkPVPlotTime* vtkPVPlotTime::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkPVPlotTime::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ SetTimeAxisMode()

virtual void vtkPVPlotTime::SetTimeAxisMode ( int  )
virtual

Set the Time axis mode.

§ GetTimeAxisMode()

virtual int vtkPVPlotTime::GetTimeAxisMode ( )
virtual

Set the Time axis mode.

§ SetTime()

virtual void vtkPVPlotTime::SetTime ( double  )
virtual

Set time value.

§ GetTime()

virtual double vtkPVPlotTime::GetTime ( )
virtual

Set time value.

§ Paint()

virtual bool vtkPVPlotTime::Paint ( vtkContext2D *  painter)
virtual

Paint event for the axis, called whenever the axis needs to be drawn.

§ GetBounds()

virtual void vtkPVPlotTime::GetBounds ( double  bounds[4])
inlinevirtual

Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).

Definition at line 67 of file vtkPVPlotTime.h.

Member Data Documentation

§ Time

double vtkPVPlotTime::Time
protected

Definition at line 77 of file vtkPVPlotTime.h.

§ TimeAxisMode

int vtkPVPlotTime::TimeAxisMode
protected

Definition at line 78 of file vtkPVPlotTime.h.


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