User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<highlightSyntax language="cpp">
== 2D API ==
class Test : public vtkObject
 
{
 
public:
  Test();
  ~Test();
};</highlightSyntax>


<graphviz renderer='neato' caption='Chart Classes'>
<graphviz renderer='neato' caption='Chart Classes'>
Line 76: Line 72:
   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
  vtk2DCairoPaintDevice
//
// 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
  vtk2DPaintDevice -> vtk2DCairoPaintDevice
//
// "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