VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkXYPlotRepresentation Class Reference

represent XY plot for vtkXYPlotWidget More...

#include <vtkXYPlotRepresentation.h>

Inheritance diagram for vtkXYPlotRepresentation:
[legend]
Collaboration diagram for vtkXYPlotRepresentation:
[legend]

Public Types

typedef vtkBorderRepresentation Superclass
 
- Public Types inherited from vtkBorderRepresentation
enum  { BORDER_OFF =0, BORDER_ON, BORDER_ACTIVE }
 
enum  _InteractionState {
  Outside =0, Inside, AdjustingP0, AdjustingP1,
  AdjustingP2, AdjustingP3, AdjustingE0, AdjustingE1,
  AdjustingE2, AdjustingE3
}
 
typedef vtkWidgetRepresentation Superclass
 
- Public Types inherited from vtkWidgetRepresentation
typedef vtkProp Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkXYPlotRepresentationNewInstance () const
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkXYPlotActor * GetXYPlotActor ()
 
virtual void SetXYPlotActor (vtkXYPlotActor *)
 
virtual void BuildRepresentation ()
 
virtual void WidgetInteraction (double eventPos[2])
 
virtual void GetSize (double size[2])
 
virtual int GetVisibility ()
 
virtual void SetVisibility (int)
 
virtual void GetActors2D (vtkPropCollection *collection)
 
virtual void ReleaseGraphicsResources (vtkWindow *window)
 
virtual int RenderOverlay (vtkViewport *)
 
virtual int RenderOpaqueGeometry (vtkViewport *)
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
 
virtual int HasTranslucentPolygonalGeometry ()
 
void SetGlyphSize (double x)
 
void SetPlotGlyphType (int curve, int glyph)
 
void SetTitle (const char *title)
 
void SetTitleColor (double r, double g, double b)
 
void SetTitleFontFamily (int x)
 
void SetTitleBold (int x)
 
void SetTitleItalic (int x)
 
void SetTitleShadow (int x)
 
void SetTitleFontSize (int x)
 
void SetTitleJustification (int x)
 
void SetTitleVerticalJustification (int x)
 
void SetAdjustTitlePosition (int x)
 
void SetTitlePosition (double x, double y)
 
void SetXAxisColor (double r, double g, double b)
 
void SetYAxisColor (double r, double g, double b)
 
void SetXTitle (const char *ytitle)
 
char * GetXTitle ()
 
void SetXRange (double min, double max)
 
void SetYTitle (const char *ytitle)
 
char * GetYTitle ()
 
void SetYRange (double min, double max)
 
void SetYTitlePosition (int pos)
 
int GetYTitlePosition () const
 
void SetXValues (int x)
 
void SetAxisTitleColor (double r, double g, double b)
 
void SetAxisTitleFontFamily (int x)
 
void SetAxisTitleBold (int x)
 
void SetAxisTitleItalic (int x)
 
void SetAxisTitleShadow (int x)
 
void SetAxisTitleFontSize (int x)
 
void SetAxisTitleJustification (int x)
 
void SetAxisTitleVerticalJustification (int x)
 
void SetAxisLabelColor (double r, double g, double b)
 
void SetAxisLabelFontFamily (int x)
 
void SetAxisLabelBold (int x)
 
void SetAxisLabelItalic (int x)
 
void SetAxisLabelShadow (int x)
 
void SetAxisLabelFontSize (int x)
 
void SetAxisLabelJustification (int x)
 
void SetAxisLabelVerticalJustification (int x)
 
void SetXLabelFormat (const char *_arg)
 
void SetYLabelFormat (const char *_arg)
 
void SetBorder (int x)
 
void RemoveAllActiveCurves ()
 
void AddUserCurvesPoint (double c, double x, double y)
 
void SetLegend (int x)
 
void SetLegendBorder (int b)
 
void SetLegendBox (int b)
 
void SetLegendBoxColor (double r, double g, double b)
 
void SetLegendPosition (double x, double y)
 
void SetLegendPosition2 (double x, double y)
 
void SetLineWidth (double w)
 
void SetPlotColor (int i, int r, int g, int b)
 
void SetPlotLines (int i)
 
void SetPlotPoints (int i)
 
void SetPlotLabel (int i, const char *label)
 
- Public Member Functions inherited from vtkBorderRepresentation
virtual vtkCoordinate * GetPositionCoordinate ()
 
virtual void SetPosition (float x[2])
 
virtual void SetPosition (float x, float y)
 
virtual float * GetPosition ()
 
virtual vtkCoordinate * GetPosition2Coordinate ()
 
virtual void SetPosition2 (float x[2])
 
virtual void SetPosition2 (float x, float y)
 
virtual float * GetPosition2 ()
 
virtual void SetShowBorder (int)
 
virtual int GetShowBorder ()
 
void SetShowBorderToOff ()
 
void SetShowBorderToOn ()
 
void SetShowBorderToActive ()
 
virtual vtkProperty2D * GetBorderProperty ()
 
virtual void SetProportionalResize (int)
 
virtual int GetProportionalResize ()
 
virtual void ProportionalResizeOn ()
 
virtual void ProportionalResizeOff ()
 
virtual void SetMinimumSize (int, int)
 
void SetMinimumSize (int[2])
 
virtual int * GetMinimumSize ()
 
virtual void GetMinimumSize (int &, int &)
 
virtual void GetMinimumSize (int[2])
 
virtual void SetMaximumSize (int, int)
 
void SetMaximumSize (int[2])
 
virtual int * GetMaximumSize ()
 
virtual void GetMaximumSize (int &, int &)
 
virtual void GetMaximumSize (int[2])
 
virtual void SetTolerance (int)
 
virtual int GetTolerance ()
 
virtual double * GetSelectionPoint ()
 
virtual void GetSelectionPoint (double data[2])
 
virtual void SetMoving (int)
 
virtual int GetMoving ()
 
virtual void MovingOn ()
 
virtual void MovingOff ()
 
virtual void StartWidgetInteraction (double eventPos[2])
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
vtkBorderRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkWidgetRepresentation
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRenderer * GetRenderer ()
 
virtual void PlaceWidget (double *vtkNotUsed(bounds[6]))
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual int GetInteractionState ()
 
virtual void Highlight (int vtkNotUsed(highlightOn))
 
virtual void SetPlaceFactor (double)
 
virtual double GetPlaceFactor ()
 
virtual void SetHandleSize (double)
 
virtual double GetHandleSize ()
 
virtual int GetNeedToRender ()
 
virtual void SetNeedToRender (int)
 
virtual void NeedToRenderOn ()
 
virtual void NeedToRenderOff ()
 
virtual double * GetBounds ()
 
virtual void ShallowCopy (vtkProp *prop)
 
virtual void GetActors (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual int RenderOverlay (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport))
 
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkXYPlotRepresentationSafeDownCast (vtkObjectBase *o)
 
static vtkXYPlotRepresentationNew ()
 
- Static Public Member Functions inherited from vtkBorderRepresentation
static vtkBorderRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkBorderRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkWidgetRepresentation
static int IsTypeOf (const char *type)
 
static vtkWidgetRepresentationSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkXYPlotRepresentation ()
 
 ~vtkXYPlotRepresentation ()
 
- Protected Member Functions inherited from vtkBorderRepresentation
 vtkBorderRepresentation ()
 
 ~vtkBorderRepresentation ()
 
virtual void NegotiateLayout ()
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
virtual void RegisterPickers ()
 
virtual void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManager * GetPickingManager ()
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
vtkAssemblyPath * GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 

Protected Attributes

vtkXYPlotActor * XYPlotActor
 
- Protected Attributes inherited from vtkBorderRepresentation
int ShowBorder
 
vtkProperty2D * BorderProperty
 
int ProportionalResize
 
int Tolerance
 
int Moving
 
double SelectionPoint [2]
 
vtkCoordinate * PositionCoordinate
 
vtkCoordinate * Position2Coordinate
 
int Negotiated
 
double StartPosition [2]
 
vtkPoints * BWPoints
 
vtkPolyDataBWPolyData
 
vtkTransformBWTransform
 
vtkTransformPolyDataFilterBWTransformFilter
 
vtkPolyDataMapper2D * BWMapper
 
vtkActor2D * BWActor
 
int MinimumSize [2]
 
int MaximumSize [2]
 
- Protected Attributes inherited from vtkWidgetRepresentation
vtkWeakPointer< vtkRenderer > Renderer
 
int InteractionState
 
double StartEventPosition [3]
 
double PlaceFactor
 
int Placed
 
double InitialBounds [6]
 
double InitialLength
 
int ValidPick
 
bool PickingManaged
 
double HandleSize
 
int NeedToRender
 
vtkTimeStamp BuildTime
 

Detailed Description

represent XY plot for vtkXYPlotWidget

This class represents a XY plot for a vtkXYPlotWidget. This class provides support for interactively placing a XY plot on the 2D overlay plane. The XY plot is defined by an instance of vtkXYPlotActor.

See Also
vtkXYPlotWidget vtkWidgetRepresentation vtkXYPlotActor
Thanks:
This class was written by Philippe Pebay, Kitware SAS 2012

Definition at line 40 of file vtkXYPlotRepresentation.h.

Member Typedef Documentation

Definition at line 43 of file vtkXYPlotRepresentation.h.

Constructor & Destructor Documentation

vtkXYPlotRepresentation::vtkXYPlotRepresentation ( )
protected
vtkXYPlotRepresentation::~vtkXYPlotRepresentation ( )
protected

Member Function Documentation

static int vtkXYPlotRepresentation::IsTypeOf ( const char *  type)
static
virtual int vtkXYPlotRepresentation::IsA ( const char *  type)
virtual

Define standard methods.

Reimplemented from vtkBorderRepresentation.

static vtkXYPlotRepresentation* vtkXYPlotRepresentation::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkXYPlotRepresentation::NewInstanceInternal ( ) const
protectedvirtual

Define standard methods.

Reimplemented from vtkBorderRepresentation.

vtkXYPlotRepresentation* vtkXYPlotRepresentation::NewInstance ( ) const
virtual void vtkXYPlotRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual
static vtkXYPlotRepresentation* vtkXYPlotRepresentation::New ( )
static
virtual vtkXYPlotActor* vtkXYPlotRepresentation::GetXYPlotActor ( )
virtual

The prop that is placed in the renderer.

virtual void vtkXYPlotRepresentation::SetXYPlotActor ( vtkXYPlotActor *  )
virtual

The prop that is placed in the renderer.

virtual void vtkXYPlotRepresentation::BuildRepresentation ( )
virtual

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

virtual void vtkXYPlotRepresentation::WidgetInteraction ( double  eventPos[2])
virtual

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

virtual void vtkXYPlotRepresentation::GetSize ( double  size[2])
inlinevirtual

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

Definition at line 57 of file vtkXYPlotRepresentation.h.

virtual int vtkXYPlotRepresentation::GetVisibility ( )
virtual

These methods are necessary to make this representation behave as a vtkProp.

virtual void vtkXYPlotRepresentation::SetVisibility ( int  )
virtual

These methods are necessary to make this representation behave as a vtkProp.

virtual void vtkXYPlotRepresentation::GetActors2D ( vtkPropCollection *  collection)
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

virtual void vtkXYPlotRepresentation::ReleaseGraphicsResources ( vtkWindow *  window)
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

virtual int vtkXYPlotRepresentation::RenderOverlay ( vtkViewport *  )
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

virtual int vtkXYPlotRepresentation::RenderOpaqueGeometry ( vtkViewport *  )
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

virtual int vtkXYPlotRepresentation::RenderTranslucentPolygonalGeometry ( vtkViewport *  )
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

virtual int vtkXYPlotRepresentation::HasTranslucentPolygonalGeometry ( )
virtual

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

void vtkXYPlotRepresentation::SetGlyphSize ( double  x)

Set glyph properties

void vtkXYPlotRepresentation::SetPlotGlyphType ( int  curve,
int  glyph 
)

Set glyph properties

void vtkXYPlotRepresentation::SetTitle ( const char *  title)

Set title properties

void vtkXYPlotRepresentation::SetTitleColor ( double  r,
double  g,
double  b 
)

Set title properties

void vtkXYPlotRepresentation::SetTitleFontFamily ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleBold ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleItalic ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleShadow ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleFontSize ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleJustification ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitleVerticalJustification ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetAdjustTitlePosition ( int  x)

Set title properties

void vtkXYPlotRepresentation::SetTitlePosition ( double  x,
double  y 
)

Set title properties

void vtkXYPlotRepresentation::SetXAxisColor ( double  r,
double  g,
double  b 
)

Set/Get axis properties

void vtkXYPlotRepresentation::SetYAxisColor ( double  r,
double  g,
double  b 
)

Set/Get axis properties

void vtkXYPlotRepresentation::SetXTitle ( const char *  ytitle)

Set/Get axis properties

char* vtkXYPlotRepresentation::GetXTitle ( )

Set/Get axis properties

void vtkXYPlotRepresentation::SetXRange ( double  min,
double  max 
)

Set/Get axis properties

void vtkXYPlotRepresentation::SetYTitle ( const char *  ytitle)

Set/Get axis properties

char* vtkXYPlotRepresentation::GetYTitle ( )

Set/Get axis properties

void vtkXYPlotRepresentation::SetYRange ( double  min,
double  max 
)

Set/Get axis properties

void vtkXYPlotRepresentation::SetYTitlePosition ( int  pos)

Set/Get axis properties

int vtkXYPlotRepresentation::GetYTitlePosition ( ) const

Set/Get axis properties

void vtkXYPlotRepresentation::SetXValues ( int  x)

Set/Get axis properties

void vtkXYPlotRepresentation::SetAxisTitleColor ( double  r,
double  g,
double  b 
)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleFontFamily ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleBold ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleItalic ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleShadow ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleFontSize ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleJustification ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisTitleVerticalJustification ( int  x)

Set axis title properties

void vtkXYPlotRepresentation::SetAxisLabelColor ( double  r,
double  g,
double  b 
)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelFontFamily ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelBold ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelItalic ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelShadow ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelFontSize ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelJustification ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetAxisLabelVerticalJustification ( int  x)

Set axis label properties

void vtkXYPlotRepresentation::SetXLabelFormat ( const char *  _arg)

Set axis label properties

void vtkXYPlotRepresentation::SetYLabelFormat ( const char *  _arg)

Set axis label properties

void vtkXYPlotRepresentation::SetBorder ( int  x)

Set various properties

void vtkXYPlotRepresentation::RemoveAllActiveCurves ( )

Set various properties

void vtkXYPlotRepresentation::AddUserCurvesPoint ( double  c,
double  x,
double  y 
)

Set various properties

void vtkXYPlotRepresentation::SetLegend ( int  x)

Set various properties

void vtkXYPlotRepresentation::SetLegendBorder ( int  b)

Set various properties

void vtkXYPlotRepresentation::SetLegendBox ( int  b)

Set various properties

void vtkXYPlotRepresentation::SetLegendBoxColor ( double  r,
double  g,
double  b 
)

Set various properties

void vtkXYPlotRepresentation::SetLegendPosition ( double  x,
double  y 
)

Set various properties

void vtkXYPlotRepresentation::SetLegendPosition2 ( double  x,
double  y 
)

Set various properties

void vtkXYPlotRepresentation::SetLineWidth ( double  w)

Set various properties

void vtkXYPlotRepresentation::SetPlotColor ( int  i,
int  r,
int  g,
int  b 
)

Set various properties

void vtkXYPlotRepresentation::SetPlotLines ( int  i)

Set various properties

void vtkXYPlotRepresentation::SetPlotPoints ( int  i)

Set various properties

void vtkXYPlotRepresentation::SetPlotLabel ( int  i,
const char *  label 
)

Set various properties

Member Data Documentation

vtkXYPlotActor* vtkXYPlotRepresentation::XYPlotActor
protected

Definition at line 158 of file vtkXYPlotRepresentation.h.


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