User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<graphviz renderer='neato' caption='Class diagram?'>
== 2D API ==
digraph UML {
 
 
 
<graphviz renderer='neato' caption='Chart Classes'>
digraph Charts {
  node [
    fontsize = 10
    fontname = Helvetica
    shape = record
    height = 0.1
  ]
 
  edge [
    fontsize = 10
    fontname = Helvetica
  ]
 
  // Classes
  vtk2DActor
  vtk2DPainter
 
   vtkChart
   vtkChart
  vtkChartXY
  vtkChartParallel
  vtkChartPie
   vtkPlot
   vtkPlot
  vtkPlotLine
  vtkPlotStacked
  vtkPlotBar
  vtkPlotGrid
   vtkAxis
   vtkAxis
  vtkLegend
// 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
]
  vtkChart -> vtkChartXY
  vtkChart -> vtkChartParallel
  vtkChart -> vtkChartPie
  vtkPlot -> vtkPlotLine
  vtkPlot -> vtkPlotStacked
  vtkPlot -> vtkPlotBar
// "owns the lifetime of"
edge [
  arrowtail = diamond
  arrowhead = none
]
// "has a pointer to"
edge [
  arrowtail = odiamond
  arrowhead = none
]


   vtkPlot -> vtkChart
   vtkChartXY -> vtkPlot
}
  vtkChartXY -> vtkPlotGrid
</graphviz>
  vtkChartXY -> vtkAxis
  vtkChartXY -> vtkLegend


<graphviz renderer='neato' caption='Hello Neato'>
  vtk2DActor -> vtkChart
graph G {
  vtk2DActor -> vtk2DPainter
  run -- intr;
  intr -- runbl;
  runbl -- run;
  run -- kernel;
  kernel -- zombie;
  kernel -- sleep;
  kernel -- runmem;
  sleep -- swap;
  swap -- runswap;
  runswap -- new;
  runswap -- runmem;
  new -- runmem;
  sleep -- runmem;
}
}
</graphviz>
</graphviz>

Latest revision as of 17:29, 21 October 2009

2D API

Chart Classes