User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(15 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


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


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


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


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


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