User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== 2D API ==
<graphviz renderer='neato' caption='Chart Classes'>
<graphviz renderer='neato' caption='Chart Classes'>
digraph Charts {
digraph Charts {
Line 16: Line 20:
   vtk2DActor
   vtk2DActor
   vtk2DPainter
   vtk2DPainter
   vtkChart
   vtkChart
  vtkChartXY
  vtkChartParallel
  vtkChartPie


   vtkPlot
   vtkPlot
Line 23: Line 31:
   vtkPlotBar
   vtkPlotBar


   vtkChartGrid
   vtkPlotGrid
   vtkAxis
   vtkAxis
   vtkLegend
   vtkLegend


//
// Subclass relationships
// Subclass relationships
//
//
// A -> B means
// A -> B means
// A is the superclass of B
// A is the superclass of B
Line 39: Line 45:
   arrowhead = none
   arrowhead = none
]
]
  vtkChart -> vtkChartXY
  vtkChart -> vtkChartParallel
  vtkChart -> vtkChartPie


   vtkPlot -> vtkPlotLine
   vtkPlot -> vtkPlotLine
Line 44: Line 53:
   vtkPlot -> vtkPlotBar
   vtkPlot -> vtkPlotBar


//
// "owns the lifetime of"
// "owns the lifetime of"
//
edge [
edge [
   arrowtail = diamond
   arrowtail = diamond
Line 53: Line 59:
]
]


//
// "has a pointer to"
// "has a pointer to"
//
edge [
edge [
   arrowtail = odiamond
   arrowtail = odiamond
Line 62: Line 65:
]
]


   vtkChart -> vtkPlot
   vtkChartXY -> vtkPlot
   vtkChart -> vtkChartGrid
   vtkChartXY -> vtkPlotGrid
   vtkChart -> vtkAxis
   vtkChartXY -> vtkAxis
   vtkChart -> vtkLegend
   vtkChartXY -> vtkLegend


   vtk2DActor -> vtkChart
   vtk2DActor -> vtkChart
   vtk2DActor -> vtk2DPainter
   vtk2DActor -> vtk2DPainter
}
</graphviz>
<graphviz renderer='neato' caption='2D API'>
digraph TWOD {
  node [
    fontsize = 10
    fontname = Helvetica
    shape = record
    height = 0.1
  ]
  edge [
    fontsize = 10
    fontname = Helvetica
  ]
  // Classes
  vtk2DPainter
  vtk2DPaintDevice
  vtk2DGLPaintDevice
  vtk2DQtPaintDevice
//
// Subclass relationships
//
// A -> B means
// A is the superclass of B
// The notation is a bit counterintuitive but required to obtain
// the desired top-to-bottom layout
edge [
  arrowtail = onormal
  arrowhead = none
]
  vtk2DPaintDevice -> vtk2DGLPaintDevice
  vtk2DPaintDevice -> vtk2DQtPaintDevice
//
// "owns the lifetime of"
//
edge [
  arrowtail = diamond
  arrowhead = none
]
//
// "has a pointer to"
//
edge [
  arrowtail = odiamond
  arrowhead = none
]
  vtk2DPainter -> vtk2DPaintDevice
}
}
</graphviz>
</graphviz>

Latest revision as of 17:29, 21 October 2009

2D API

Chart Classes