User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(14 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 14: Line 18:


   // Classes
   // Classes
  vtk2DActor
  vtk2DPainter
   vtkChart
   vtkChart
  vtkChartXY
  vtkChartParallel
  vtkChartPie


   vtkPlot
   vtkPlot
Line 21: Line 31:
   vtkPlotBar
   vtkPlotBar


  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 36: Line 45:
   arrowhead = none
   arrowhead = none
]
]
  vtkChart -> vtkChartXY
  vtkChart -> vtkChartParallel
  vtkChart -> vtkChartPie


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


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


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


   vtkChart -> vtkPlot
   vtkChartXY -> vtkPlot
   vtkChart -> vtkAxis
   vtkChartXY -> vtkPlotGrid
   vtkChart -> vtkLegend
   vtkChartXY -> vtkAxis
}
   vtkChartXY -> vtkLegend
</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
   vtk2DActor -> vtkChart
  vtk2DActor -> vtk2DPainter
}
}
</graphviz>
</graphviz>

Latest revision as of 17:29, 21 October 2009

2D API

Chart Classes