Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXYPlotActor Class Reference

generate an x-y plot from input dataset(s) or field data. More...

#include <vtkXYPlotActor.h>

Inheritance diagram for vtkXYPlotActor:

Inheritance graph
[legend]
Collaboration diagram for vtkXYPlotActor:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void AddInput (vtkDataSet *in)
void RemoveInput (vtkDataSet *in)
vtkDataSetCollectionGetInputList ()
void SetPointComponent (int i, int comp)
int GetPointComponent (int i)
virtual void SetXValues (int)
virtual int GetXValues ()
void SetXValuesToIndex ()
void SetXValuesToArcLength ()
void SetXValuesToNormalizedArcLength ()
void SetXValuesToValue ()
const char * GetXValuesAsString ()
void AddDataObjectInput (vtkDataObject *in)
void RemoveDataObjectInput (vtkDataObject *in)
vtkDataObjectCollectionGetDataObjectInputList ()
virtual void SetDataObjectPlotMode (int)
virtual int GetDataObjectPlotMode ()
void SetDataObjectPlotModeToRows ()
void SetDataObjectPlotModeToColumns ()
const char * GetDataObjectPlotModeAsString ()
void SetDataObjectXComponent (int i, int comp)
int GetDataObjectXComponent (int i)
void SetDataObjectYComponent (int i, int comp)
int GetDataObjectYComponent (int i)
void SetPlotColor (int i, float r, float g, float b)
void SetPlotColor (int i, float color[3])
float * GetPlotColor (int i)
void SetPlotSymbol (int i, vtkPolyData *input)
vtkPolyDataGetPlotSymbol (int i)
void SetPlotLabel (int i, const char *label)
const char * GetPlotLabel (int i)
vtkLegendBoxActorGetLegendBoxActor ()
vtkGlyphSource2DGetGlyphSource ()
virtual void SetTitle (const char *)
virtual char * GetTitle ()
virtual void SetXTitle (const char *)
virtual char * GetXTitle ()
virtual void SetYTitle (const char *)
virtual char * GetYTitle ()
virtual void SetXRange (float, float)
void SetXRange (float[2])
virtual float * GetXRange ()
virtual void GetXRange (float data[2])
virtual void SetYRange (float, float)
void SetYRange (float[2])
virtual float * GetYRange ()
virtual void GetYRange (float data[2])
void SetPlotRange (float xmin, float ymin, float xmax, float ymax)
virtual void SetNumberOfXLabels (int)
virtual int GetNumberOfXLabels ()
virtual void SetNumberOfYLabels (int)
virtual int GetNumberOfYLabels ()
void SetNumberOfLabels (int num)
virtual void SetLegend (int)
virtual int GetLegend ()
virtual void LegendOn ()
virtual void LegendOff ()
virtual void SetLegendPosition (float, float)
void SetLegendPosition (float[2])
virtual float * GetLegendPosition ()
virtual void GetLegendPosition (float &, float &)
virtual void GetLegendPosition (float[2])
virtual void SetLegendPosition2 (float, float)
void SetLegendPosition2 (float[2])
virtual float * GetLegendPosition2 ()
virtual void GetLegendPosition2 (float &, float &)
virtual void GetLegendPosition2 (float[2])
virtual void SetBold (int)
virtual int GetBold ()
virtual void BoldOn ()
virtual void BoldOff ()
virtual void SetItalic (int)
virtual int GetItalic ()
virtual void ItalicOn ()
virtual void ItalicOff ()
virtual void SetShadow (int)
virtual int GetShadow ()
virtual void ShadowOn ()
virtual void ShadowOff ()
virtual void SetFontFamily (int)
virtual int GetFontFamily ()
void SetFontFamilyToArial ()
void SetFontFamilyToCourier ()
void SetFontFamilyToTimes ()
virtual void SetLabelFormat (const char *)
virtual char * GetLabelFormat ()
virtual void SetBorder (int)
virtual int GetBorder ()
virtual int GetPlotPoints ()
virtual void SetPlotPoints (int)
virtual void PlotPointsOn ()
virtual void PlotPointsOff ()
virtual int GetPlotLines ()
virtual void SetPlotLines (int)
virtual void PlotLinesOn ()
virtual void PlotLinesOff ()
virtual void SetGlyphSize (float)
virtual float GetGlyphSize ()
void ViewportToPlotCoordinate (vtkViewport *viewport, float &u, float &v)
void ViewportToPlotCoordinate (vtkViewport *viewport)
virtual void SetPlotCoordinate (float, float)
void SetPlotCoordinate (float[2])
virtual float * GetPlotCoordinate ()
virtual void GetPlotCoordinate (float &, float &)
virtual void GetPlotCoordinate (float[2])
void PlotToViewportCoordinate (vtkViewport *viewport, float &u, float &v)
void PlotToViewportCoordinate (vtkViewport *viewport)
virtual void SetViewportCoordinate (float, float)
void SetViewportCoordinate (float[2])
virtual float * GetViewportCoordinate ()
virtual void GetViewportCoordinate (float &, float &)
virtual void GetViewportCoordinate (float[2])
int IsInPlot (vtkViewport *viewport, float u, float v)
unsigned long GetMTime ()
int RenderOpaqueGeometry (vtkViewport *)
int RenderOverlay (vtkViewport *)
int RenderTranslucentGeometry (vtkViewport *)
void ReleaseGraphicsResources (vtkWindow *)

Static Public Methods

int IsTypeOf (const char *type)
vtkXYPlotActor * SafeDownCast (vtkObject *o)
vtkXYPlotActor * New ()

Protected Methods

 vtkXYPlotActor ()
 ~vtkXYPlotActor ()
 vtkXYPlotActor (const vtkXYPlotActor &)
void operator= (const vtkXYPlotActor &)
void InitializeEntries ()
void ComputeXRange (float range[2], float *lengths)
void ComputeYRange (float range[2])
void ComputeDORange (float xrange[2], float yrange[2], float *lengths)
virtual void CreatePlotData (int *pos, int *pos2, float xRange[2], float yRange[2], float *norms, int numDS, int numDO)
void PlaceAxes (vtkViewport *viewport, int *size, int pos[2], int pos2[2])
void GenerateClipPlanes (int *pos, int *pos2)
float ComputeGlyphScale (int i, int *pos, int *pos2)
void ClipPlotData (int *pos, int *pos2, vtkPolyData *pd)

Protected Attributes

vtkDataSetCollectionInputList
vtkDataObjectCollectionDataObjectInputList
char * Title
char * XTitle
char * YTitle
int XValues
int NumberOfXLabels
int NumberOfYLabels
int Bold
int Italic
int Shadow
int FontFamily
char * LabelFormat
float XRange [2]
float YRange [2]
float XComputedRange [2]
float YComputedRange [2]
int Border
int PlotLines
int PlotPoints
vtkTextMapperTitleMapper
vtkActor2DTitleActor
vtkAxisActor2DXAxis
vtkAxisActor2DYAxis
float ViewportCoordinate [2]
float PlotCoordinate [2]
int DataObjectPlotMode
vtkIntArrayXComponent
vtkIntArrayYComponent
int NumberOfInputs
vtkPolyData ** PlotData
vtkGlyph2D ** PlotGlyph
vtkAppendPolyData ** PlotAppend
vtkPolyDataMapper2D ** PlotMapper
vtkActor2D ** PlotActor
int Legend
float LegendPosition [2]
float LegendPosition2 [2]
vtkLegendBoxActorLegendActor
vtkGlyphSource2DGlyphSource
vtkPlanesClipPlanes
float GlyphSize
int CachedSize [2]
vtkTimeStamp BuildTime

Detailed Description

generate an x-y plot from input dataset(s) or field data.

Date:
2000/12/10 20:08:28
Revision:
1.9
Thanks:
Thanks to Kitware & RPI/SCOREC who supported the development of this class.
vtkXYPlotActor creates an x-y plot of data from one or more input data sets or field data. The class plots dataset scalar values (y-axis) against the points (x-axis). The x-axis values are generated by taking the point ids, computing a cumulative arc length, or a normalized arc length. More than one input data set can be specified to generate multiple plots. Alternatively, if field data is supplied as input, the class plots one component against another. (The user must specify which component to use as the x-axis and which for the y-axis.)

To use this class to plot (a) dataset(s), you must specify one or more input data set containing scalar and point data. You'll probably also want to invoke a method to control how the point coordinates are converted into x values (by default point ids are used).

To use this class to plot field data, you must specify one or more input data objects with its associated field data. You'll also want to specify which component to use as the x-axis and which to use as the y-axis. Note that when plotting field data, the x and y values are used directly (i.e., there are no options to normalize the components).

Once you've set up the plot, you'll want to position it. The PositionCoordinate defines the lower-left location of the x-y plot (specified in normalized viewport coordinates) and the Position2Coordinate define the upper-right corner. (Note: the Position2Coordinate is relative to PositionCoordinate, so you can move the vtkXYPlotActor around the viewport by setting just the PositionCoordinate.) The combination of the two position coordinates specifies a rectangle in which the plot will lie.

Optional features include the ability to specify axes labels, label format, plot title, and control font properties and type. You can also manually specify the x and y plot ranges (by default they are computed automatically). The Border instance variable is used to create space between the boundary of the plot window (specified by PositionCoordinate and Position2Coordinate) and the plot itself.

Warning:
If you are interested in plotting something other than scalar data, you can use the vtk data shuffling filters (e.g., vtkAttributeDataToFieldDataFilter snd vtkFieldDataToAttributeDataFilter) to convert the data into scalar data and/or points.
See also:
vtkActor2D vtkTextMapper vtkScalarBarActor vtkAxisActor2D vtkCubeAxesActor vtkAttributeDataToFieldDataFilter vtkFieldDataToAttributeDataFilter
Examples:
vtkXYPlotActor (examples)

Definition at line 117 of file vtkXYPlotActor.h.


Constructor & Destructor Documentation

vtkXYPlotActor::vtkXYPlotActor   [protected]
 

vtkXYPlotActor::~vtkXYPlotActor   [protected]
 

vtkXYPlotActor::vtkXYPlotActor const vtkXYPlotActor &    [inline, protected]
 

Definition at line 385 of file vtkXYPlotActor.h.


Member Function Documentation

virtual const char* vtkXYPlotActor::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

int vtkXYPlotActor::IsTypeOf const char *    type [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 vtkActor2D.

virtual int vtkXYPlotActor::IsA const char *    type [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 vtkActor2D.

vtkXYPlotActor* vtkXYPlotActor::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

void vtkXYPlotActor::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 vtkActor2D.

vtkXYPlotActor* vtkXYPlotActor::New   [static]
 

Instantiate object with autorange computation; bold, italic, and shadows on; arial font family; the number of labels set to 5 for the x and y axes; a label format of "-#6.3g"; and x coordinates computed from point ids.

Reimplemented from vtkActor2D.

void vtkXYPlotActor::AddInput vtkDataSet   in
 

Add a dataset to the list of data to append.

void vtkXYPlotActor::RemoveInput vtkDataSet   in
 

Remove a dataset from the list of data to append.

vtkDataSetCollection* vtkXYPlotActor::GetInputList   [inline]
 

Return the list of inputs to this filter.

Definition at line 141 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetPointComponent int    i,
int    comp
 

If plotting points by value, which component to use to determine the value. This sets a value per each input dataset (i.e., the ith dataset).

int vtkXYPlotActor::GetPointComponent int    i
 

virtual void vtkXYPlotActor::SetXValues int    [virtual]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

virtual int vtkXYPlotActor::GetXValues   [virtual]
 

void vtkXYPlotActor::SetXValuesToIndex   [inline]
 

Definition at line 160 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToArcLength   [inline]
 

Definition at line 161 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToNormalizedArcLength   [inline]
 

Definition at line 162 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToValue   [inline]
 

Definition at line 164 of file vtkXYPlotActor.h.

const char* vtkXYPlotActor::GetXValuesAsString  
 

void vtkXYPlotActor::AddDataObjectInput vtkDataObject   in
 

Add a dataset to the list of data to append.

void vtkXYPlotActor::RemoveDataObjectInput vtkDataObject   in
 

Remove a dataset from the list of data to append.

vtkDataObjectCollection* vtkXYPlotActor::GetDataObjectInputList   [inline]
 

Return the list of inputs to this filter.

Definition at line 179 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetDataObjectPlotMode int    [virtual]
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

virtual int vtkXYPlotActor::GetDataObjectPlotMode   [virtual]
 

void vtkXYPlotActor::SetDataObjectPlotModeToRows   [inline]
 

Definition at line 186 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetDataObjectPlotModeToColumns   [inline]
 

Definition at line 188 of file vtkXYPlotActor.h.

const char* vtkXYPlotActor::GetDataObjectPlotModeAsString  
 

void vtkXYPlotActor::SetDataObjectXComponent int    i,
int    comp
 

Specify which component of the input data object to use as the independent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectXComponent is the row number; otherwise it's the column number.

int vtkXYPlotActor::GetDataObjectXComponent int    i
 

void vtkXYPlotActor::SetDataObjectYComponent int    i,
int    comp
 

Specify which component of the input data object to use as the dependent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectYComponent is the row number; otherwise it's the column number.

int vtkXYPlotActor::GetDataObjectYComponent int    i
 

void vtkXYPlotActor::SetPlotColor int    i,
float    r,
float    g,
float    b
 

void vtkXYPlotActor::SetPlotColor int    i,
float    color[3]
 

float* vtkXYPlotActor::GetPlotColor int    i
 

void vtkXYPlotActor::SetPlotSymbol int    i,
vtkPolyData   input
 

vtkPolyData* vtkXYPlotActor::GetPlotSymbol int    i
 

void vtkXYPlotActor::SetPlotLabel int    i,
const char *    label
 

const char* vtkXYPlotActor::GetPlotLabel int    i
 

vtkLegendBoxActor* vtkXYPlotActor::GetLegendBoxActor   [inline]
 

Retrieve handles to the legend box and glyph source. This is useful if you would like to change the default behavior of the legend box or glyph source. For example, the default glyph can be changed from a line to a vertex plus line, etc.)

Definition at line 229 of file vtkXYPlotActor.h.

vtkGlyphSource2D* vtkXYPlotActor::GetGlyphSource   [inline]
 

Definition at line 231 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetTitle const char *    [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual char* vtkXYPlotActor::GetTitle   [virtual]
 

virtual void vtkXYPlotActor::SetXTitle const char *    [virtual]
 

virtual char* vtkXYPlotActor::GetXTitle   [virtual]
 

virtual void vtkXYPlotActor::SetYTitle const char *    [virtual]
 

virtual char* vtkXYPlotActor::GetYTitle   [virtual]
 

virtual void vtkXYPlotActor::SetXRange float   ,
float   
[virtual]
 

Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).

void vtkXYPlotActor::SetXRange float   [2]
 

virtual float* vtkXYPlotActor::GetXRange   [virtual]
 

virtual void vtkXYPlotActor::GetXRange float    data[2] [virtual]
 

virtual void vtkXYPlotActor::SetYRange float   ,
float   
[virtual]
 

void vtkXYPlotActor::SetYRange float   [2]
 

virtual float* vtkXYPlotActor::GetYRange   [virtual]
 

virtual void vtkXYPlotActor::GetYRange float    data[2] [virtual]
 

void vtkXYPlotActor::SetPlotRange float    xmin,
float    ymin,
float    xmax,
float    ymax
[inline]
 

Definition at line 253 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetNumberOfXLabels int    [virtual]
 

Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLables() sets the number of x and y labels to the same value.

virtual int vtkXYPlotActor::GetNumberOfXLabels   [virtual]
 

virtual void vtkXYPlotActor::SetNumberOfYLabels int    [virtual]
 

virtual int vtkXYPlotActor::GetNumberOfYLabels   [virtual]
 

void vtkXYPlotActor::SetNumberOfLabels int    num [inline]
 

Definition at line 265 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetLegend int    [virtual]
 

Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.

virtual int vtkXYPlotActor::GetLegend   [virtual]
 

virtual void vtkXYPlotActor::LegendOn   [virtual]
 

virtual void vtkXYPlotActor::LegendOff   [virtual]
 

virtual void vtkXYPlotActor::SetLegendPosition float   ,
float   
[virtual]
 

Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.

void vtkXYPlotActor::SetLegendPosition float   [2]
 

virtual float* vtkXYPlotActor::GetLegendPosition   [virtual]
 

virtual void vtkXYPlotActor::GetLegendPosition float &   ,
float &   
[virtual]
 

virtual void vtkXYPlotActor::GetLegendPosition float   [2] [virtual]
 

virtual void vtkXYPlotActor::SetLegendPosition2 float   ,
float   
[virtual]
 

void vtkXYPlotActor::SetLegendPosition2 float   [2]
 

virtual float* vtkXYPlotActor::GetLegendPosition2   [virtual]
 

virtual void vtkXYPlotActor::GetLegendPosition2 float &   ,
float &   
[virtual]
 

virtual void vtkXYPlotActor::GetLegendPosition2 float   [2] [virtual]
 

virtual void vtkXYPlotActor::SetBold int    [virtual]
 

Enable/Disable bolding annotation text.

virtual int vtkXYPlotActor::GetBold   [virtual]
 

virtual void vtkXYPlotActor::BoldOn   [virtual]
 

virtual void vtkXYPlotActor::BoldOff   [virtual]
 

virtual void vtkXYPlotActor::SetItalic int    [virtual]
 

Enable/Disable italicizing annotation text.

virtual int vtkXYPlotActor::GetItalic   [virtual]
 

virtual void vtkXYPlotActor::ItalicOn   [virtual]
 

virtual void vtkXYPlotActor::ItalicOff   [virtual]
 

virtual void vtkXYPlotActor::SetShadow int    [virtual]
 

Enable/Disable creating shadows on the annotation text. Shadows make the text easier to read.

virtual int vtkXYPlotActor::GetShadow   [virtual]
 

virtual void vtkXYPlotActor::ShadowOn   [virtual]
 

virtual void vtkXYPlotActor::ShadowOff   [virtual]
 

virtual void vtkXYPlotActor::SetFontFamily int    [virtual]
 

Set/Get the font family for the annotation text. Three font types are available: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES).

virtual int vtkXYPlotActor::GetFontFamily   [virtual]
 

void vtkXYPlotActor::SetFontFamilyToArial   [inline]
 

Definition at line 307 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetFontFamilyToCourier   [inline]
 

Definition at line 308 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetFontFamilyToTimes   [inline]
 

Definition at line 309 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetLabelFormat const char *    [virtual]
 

Set/Get the format with which to print the labels on the scalar bar.

virtual char* vtkXYPlotActor::GetLabelFormat   [virtual]
 

virtual void vtkXYPlotActor::SetBorder int    [virtual]
 

Set/Get the spacing between the plot window and the plot. The value is specified in pixels.

virtual int vtkXYPlotActor::GetBorder   [virtual]
 

virtual int vtkXYPlotActor::GetPlotPoints   [virtual]
 

Set/Get whether the points are rendered. The point size can be set in the property object. This is a global flag which affects the plot only if per curve symbols are not defined.

virtual void vtkXYPlotActor::SetPlotPoints int    [virtual]
 

virtual void vtkXYPlotActor::PlotPointsOn   [virtual]
 

virtual void vtkXYPlotActor::PlotPointsOff   [virtual]
 

virtual int vtkXYPlotActor::GetPlotLines   [virtual]
 

Set/Get whether the lines are rendered. The line width can be set in the property object.

virtual void vtkXYPlotActor::SetPlotLines int    [virtual]
 

virtual void vtkXYPlotActor::PlotLinesOn   [virtual]
 

virtual void vtkXYPlotActor::PlotLinesOff   [virtual]
 

virtual void vtkXYPlotActor::SetGlyphSize float    [virtual]
 

Set/Get the factor that controls how big glyphs are in the plot. The number is expressed as a fraction of the length of the diagonal of the plot bounding box.

virtual float vtkXYPlotActor::GetGlyphSize   [virtual]
 

void vtkXYPlotActor::ViewportToPlotCoordinate vtkViewport   viewport,
float &    u,
float &    v
 

Given a position within the viewport used by the plot, return the the plot coordinates (XAxis value, YAxis value)

void vtkXYPlotActor::ViewportToPlotCoordinate vtkViewport   viewport
 

An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.

virtual void vtkXYPlotActor::SetPlotCoordinate float   ,
float   
[virtual]
 

void vtkXYPlotActor::SetPlotCoordinate float   [2]
 

virtual float* vtkXYPlotActor::GetPlotCoordinate   [virtual]
 

virtual void vtkXYPlotActor::GetPlotCoordinate float &   ,
float &   
[virtual]
 

virtual void vtkXYPlotActor::GetPlotCoordinate float   [2] [virtual]
 

void vtkXYPlotActor::PlotToViewportCoordinate vtkViewport   viewport,
float &    u,
float &    v
 

Given a plot coordinate, return the viewpoint position

void vtkXYPlotActor::PlotToViewportCoordinate vtkViewport   viewport
 

An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)

virtual void vtkXYPlotActor::SetViewportCoordinate float   ,
float   
[virtual]
 

void vtkXYPlotActor::SetViewportCoordinate float   [2]
 

virtual float* vtkXYPlotActor::GetViewportCoordinate   [virtual]
 

virtual void vtkXYPlotActor::GetViewportCoordinate float &   ,
float &   
[virtual]
 

virtual void vtkXYPlotActor::GetViewportCoordinate float   [2] [virtual]
 

int vtkXYPlotActor::IsInPlot vtkViewport   viewport,
float    u,
float    v
 

Is the specified viewport position within the plot area (as opposed to the region used by the plot plus the labels)?

unsigned long vtkXYPlotActor::GetMTime   [virtual]
 

Take into account the modified time of internal helper classes. region used by the plot plus the labels)?

Reimplemented from vtkActor2D.

int vtkXYPlotActor::RenderOpaqueGeometry vtkViewport   viewport [virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the x-y plot.

Reimplemented from vtkActor2D.

int vtkXYPlotActor::RenderOverlay vtkViewport   viewport [virtual]
 

Support the standard render methods.

Reimplemented from vtkActor2D.

int vtkXYPlotActor::RenderTranslucentGeometry vtkViewport   viewport [inline, virtual]
 

Reimplemented from vtkActor2D.

Definition at line 374 of file vtkXYPlotActor.h.

void vtkXYPlotActor::ReleaseGraphicsResources vtkWindow   [virtual]
 

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkActor2D.

void vtkXYPlotActor::operator= const vtkXYPlotActor &    [inline, protected]
 

Definition at line 386 of file vtkXYPlotActor.h.

void vtkXYPlotActor::InitializeEntries   [protected]
 

void vtkXYPlotActor::ComputeXRange float    range[2],
float *    lengths
[protected]
 

void vtkXYPlotActor::ComputeYRange float    range[2] [protected]
 

void vtkXYPlotActor::ComputeDORange float    xrange[2],
float    yrange[2],
float *    lengths
[protected]
 

virtual void vtkXYPlotActor::CreatePlotData int *    pos,
int *    pos2,
float    xRange[2],
float    yRange[2],
float *    norms,
int    numDS,
int    numDO
[protected, virtual]
 

void vtkXYPlotActor::PlaceAxes vtkViewport   viewport,
int *    size,
int    pos[2],
int    pos2[2]
[protected]
 

void vtkXYPlotActor::GenerateClipPlanes int *    pos,
int *    pos2
[protected]
 

float vtkXYPlotActor::ComputeGlyphScale int    i,
int *    pos,
int *    pos2
[protected]
 

void vtkXYPlotActor::ClipPlotData int *    pos,
int *    pos2,
vtkPolyData   pd
[protected]
 


Member Data Documentation

vtkDataSetCollection* vtkXYPlotActor::InputList [protected]
 

Definition at line 388 of file vtkXYPlotActor.h.

vtkDataObjectCollection* vtkXYPlotActor::DataObjectInputList [protected]
 

Definition at line 389 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::Title [protected]
 

Definition at line 390 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::XTitle [protected]
 

Definition at line 391 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::YTitle [protected]
 

Definition at line 392 of file vtkXYPlotActor.h.

int vtkXYPlotActor::XValues [protected]
 

Definition at line 393 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfXLabels [protected]
 

Definition at line 394 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfYLabels [protected]
 

Definition at line 395 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Bold [protected]
 

Definition at line 396 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Italic [protected]
 

Definition at line 397 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Shadow [protected]
 

Definition at line 398 of file vtkXYPlotActor.h.

int vtkXYPlotActor::FontFamily [protected]
 

Definition at line 399 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::LabelFormat [protected]
 

Definition at line 400 of file vtkXYPlotActor.h.

float vtkXYPlotActor::XRange[2] [protected]
 

Definition at line 401 of file vtkXYPlotActor.h.

float vtkXYPlotActor::YRange[2] [protected]
 

Definition at line 402 of file vtkXYPlotActor.h.

float vtkXYPlotActor::XComputedRange[2] [protected]
 

Definition at line 403 of file vtkXYPlotActor.h.

float vtkXYPlotActor::YComputedRange[2] [protected]
 

Definition at line 404 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Border [protected]
 

Definition at line 405 of file vtkXYPlotActor.h.

int vtkXYPlotActor::PlotLines [protected]
 

Definition at line 406 of file vtkXYPlotActor.h.

int vtkXYPlotActor::PlotPoints [protected]
 

Definition at line 407 of file vtkXYPlotActor.h.

vtkTextMapper* vtkXYPlotActor::TitleMapper [protected]
 

Definition at line 409 of file vtkXYPlotActor.h.

vtkActor2D* vtkXYPlotActor::TitleActor [protected]
 

Definition at line 410 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::XAxis [protected]
 

Definition at line 412 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::YAxis [protected]
 

Definition at line 413 of file vtkXYPlotActor.h.

float vtkXYPlotActor::ViewportCoordinate[2] [protected]
 

Definition at line 415 of file vtkXYPlotActor.h.

float vtkXYPlotActor::PlotCoordinate[2] [protected]
 

Definition at line 416 of file vtkXYPlotActor.h.

int vtkXYPlotActor::DataObjectPlotMode [protected]
 

Definition at line 419 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::XComponent [protected]
 

Definition at line 420 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::YComponent [protected]
 

Definition at line 421 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfInputs [protected]
 

Definition at line 426 of file vtkXYPlotActor.h.

vtkPolyData** vtkXYPlotActor::PlotData [protected]
 

Definition at line 427 of file vtkXYPlotActor.h.

vtkGlyph2D** vtkXYPlotActor::PlotGlyph [protected]
 

Definition at line 428 of file vtkXYPlotActor.h.

vtkAppendPolyData** vtkXYPlotActor::PlotAppend [protected]
 

Definition at line 429 of file vtkXYPlotActor.h.

vtkPolyDataMapper2D** vtkXYPlotActor::PlotMapper [protected]
 

Definition at line 430 of file vtkXYPlotActor.h.

vtkActor2D** vtkXYPlotActor::PlotActor [protected]
 

Definition at line 431 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Legend [protected]
 

Definition at line 436 of file vtkXYPlotActor.h.

float vtkXYPlotActor::LegendPosition[2] [protected]
 

Definition at line 437 of file vtkXYPlotActor.h.

float vtkXYPlotActor::LegendPosition2[2] [protected]
 

Definition at line 438 of file vtkXYPlotActor.h.

vtkLegendBoxActor* vtkXYPlotActor::LegendActor [protected]
 

Definition at line 439 of file vtkXYPlotActor.h.

vtkGlyphSource2D* vtkXYPlotActor::GlyphSource [protected]
 

Definition at line 440 of file vtkXYPlotActor.h.

vtkPlanes* vtkXYPlotActor::ClipPlanes [protected]
 

Definition at line 441 of file vtkXYPlotActor.h.

float vtkXYPlotActor::GlyphSize [protected]
 

Definition at line 442 of file vtkXYPlotActor.h.

int vtkXYPlotActor::CachedSize[2] [protected]
 

Definition at line 445 of file vtkXYPlotActor.h.

vtkTimeStamp vtkXYPlotActor::BuildTime [protected]
 

Definition at line 446 of file vtkXYPlotActor.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:04:17 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001