VR-Forces 4.1.1 Class Documentation
vertexDrawer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vertexDrawer.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtVertexDrawer_H_
13 #define DtVertexDrawer_H_
14 
17 
18 class DtSymbol;
19 
21 #include <QtGui/QPixmap>
22 
28 
30 {
31 public:
32 
34  virtual ~DtVertexDrawer();
35 
37  {
40  };
41 
46  virtual bool draw(QPainter& paint,
47  const DtSymbol * const symbol ) const;
48 
51  virtual bool draw(QPainter& paint,
52  const DtSymbol * const symbol, bool preTransparent) const;
53 
56  virtual QSize calcBBox( const DtSymbol * const symbol ) const;
57 
58  virtual void setKnobStyle(DtKnobStyle style);
59  virtual DtKnobStyle knobStyle() const;
60 
61 protected:
63  virtual void drawKnob(QPainter& paint, const QPoint& pnt, int iKnobSize) const;
64  virtual void drawSquareKnob(QPainter& paint, const QPoint& pnt, int iKnobSize) const;
65  virtual void drawCircleKnob(QPainter& paint, const QPoint& pnt, int iKnobSize) const;
66 
69  virtual bool endTransparentDraw(QPainter& paint,
70  const DtSymbol * const symbol) const;
71 private:
73  DtVertexDrawer(const DtVertexDrawer& orig);
76 
77 protected:
79 };
80 
81 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)