QtCanvasSpline Class Reference

#include <ArmarXGui/libraries/qtpropertybrowser/examples/canvas_typed/qtcanvas.h>

+ Inheritance diagram for QtCanvasSpline:

Public Member Functions

bool closed () const
 
bool closed () const
 
QPolygon controlPoints () const
 
QPolygon controlPoints () const
 
 QtCanvasSpline (QtCanvas *canvas)
 
 QtCanvasSpline (QtCanvas *canvas)
 
int rtti () const
 
int rtti () const
 
void setControlPoints (QPolygon, bool closed=true)
 
void setControlPoints (QPolygon, bool closed=true)
 
 ~QtCanvasSpline ()
 
 ~QtCanvasSpline ()
 
- Public Member Functions inherited from QtCanvasPolygon
QPolygon areaPoints () const
 
QPolygon areaPoints () const
 
void moveBy (double dx, double dy)
 
void moveBy (double dx, double dy)
 
QPolygon points () const
 
QPolygon points () const
 
 QtCanvasPolygon (QtCanvas *canvas)
 
 QtCanvasPolygon (QtCanvas *canvas)
 
void setPoints (QPolygon)
 
void setPoints (QPolygon)
 
 ~QtCanvasPolygon ()
 
 ~QtCanvasPolygon ()
 
- Public Member Functions inherited from QtCanvasPolygonalItem
virtual QPolygon areaPointsAdvanced () const
 
virtual QPolygon areaPointsAdvanced () const
 
QRect boundingRect () const
 
QRect boundingRect () const
 
QBrush brush () const
 
QBrush brush () const
 
bool collidesWith (const QtCanvasItem *) const
 
bool collidesWith (const QtCanvasItem *) const
 
QPen pen () const
 
QPen pen () const
 
 QtCanvasPolygonalItem (QtCanvas *canvas)
 
 QtCanvasPolygonalItem (QtCanvas *canvas)
 
virtual void setBrush (QBrush b)
 
virtual void setBrush (QBrush b)
 
virtual void setPen (QPen p)
 
virtual void setPen (QPen p)
 
virtual ~QtCanvasPolygonalItem ()
 
virtual ~QtCanvasPolygonalItem ()
 
- Public Member Functions inherited from QtCanvasItem
bool active () const
 
bool active () const
 
virtual void advance (int stage)
 
virtual void advance (int stage)
 
bool animated () const
 
bool animated () const
 
virtual QRect boundingRectAdvanced () const
 
virtual QRect boundingRectAdvanced () const
 
QtCanvascanvas () const
 
QtCanvascanvas () const
 
QtCanvasItemList collisions (bool exact) const
 
QtCanvasItemList collisions (bool exact) const
 
bool enabled () const
 
bool enabled () const
 
void hide ()
 
void hide ()
 
bool isActive () const
 
bool isActive () const
 
bool isEnabled () const
 
bool isEnabled () const
 
bool isSelected () const
 
bool isSelected () const
 
bool isVisible () const
 
bool isVisible () const
 
void move (double x, double y)
 
void move (double x, double y)
 
 QtCanvasItem (QtCanvas *canvas)
 
 QtCanvasItem (QtCanvas *canvas)
 
bool selected () const
 
bool selected () const
 
virtual void setActive (bool yes)
 
virtual void setActive (bool yes)
 
virtual void setAnimated (bool y)
 
virtual void setAnimated (bool y)
 
virtual void setCanvas (QtCanvas *)
 
virtual void setCanvas (QtCanvas *)
 
virtual void setEnabled (bool yes)
 
virtual void setEnabled (bool yes)
 
virtual void setSelected (bool yes)
 
virtual void setSelected (bool yes)
 
virtual void setVelocity (double vx, double vy)
 
virtual void setVelocity (double vx, double vy)
 
virtual void setVisible (bool yes)
 
virtual void setVisible (bool yes)
 
void setX (double a)
 
void setX (double a)
 
void setXVelocity (double vx)
 
void setXVelocity (double vx)
 
void setY (double a)
 
void setY (double a)
 
void setYVelocity (double vy)
 
void setYVelocity (double vy)
 
void setZ (double a)
 
void setZ (double a)
 
void show ()
 
void show ()
 
bool visible () const
 
bool visible () const
 
double x () const
 
double x () const
 
double xVelocity () const
 
double xVelocity () const
 
double y () const
 
double y () const
 
double yVelocity () const
 
double yVelocity () const
 
double z () const
 
double z () const
 
virtual ~QtCanvasItem ()
 
virtual ~QtCanvasItem ()
 

Static Public Attributes

static int RTTI = Rtti_Spline
 
- Static Public Attributes inherited from QtCanvasPolygon
static int RTTI = Rtti_Polygon
 
- Static Public Attributes inherited from QtCanvasPolygonalItem
static int RTTI = Rtti_PolygonalItem
 
- Static Public Attributes inherited from QtCanvasItem
static int RTTI = Rtti_Item
 

Additional Inherited Members

- Public Types inherited from QtCanvasItem
enum  RttiValues {
  Rtti_Item = 0, Rtti_Sprite = 1, Rtti_PolygonalItem = 2, Rtti_Text = 3,
  Rtti_Polygon = 4, Rtti_Rectangle = 5, Rtti_Ellipse = 6, Rtti_Line = 7,
  Rtti_Spline = 8, Rtti_Item = 0, Rtti_Sprite = 1, Rtti_PolygonalItem = 2,
  Rtti_Text = 3, Rtti_Polygon = 4, Rtti_Rectangle = 5, Rtti_Ellipse = 6,
  Rtti_Line = 7, Rtti_Spline = 8
}
 
enum  RttiValues {
  Rtti_Item = 0, Rtti_Sprite = 1, Rtti_PolygonalItem = 2, Rtti_Text = 3,
  Rtti_Polygon = 4, Rtti_Rectangle = 5, Rtti_Ellipse = 6, Rtti_Line = 7,
  Rtti_Spline = 8, Rtti_Item = 0, Rtti_Sprite = 1, Rtti_PolygonalItem = 2,
  Rtti_Text = 3, Rtti_Polygon = 4, Rtti_Rectangle = 5, Rtti_Ellipse = 6,
  Rtti_Line = 7, Rtti_Spline = 8
}
 
- Protected Member Functions inherited from QtCanvasPolygon
void drawShape (QPainter &)
 
void drawShape (QPainter &)
 
- Protected Member Functions inherited from QtCanvasPolygonalItem
void draw (QPainter &)
 
void draw (QPainter &)
 
void invalidate ()
 
void invalidate ()
 
bool isValid () const
 
bool isValid () const
 
void setWinding (bool)
 
void setWinding (bool)
 
bool winding () const
 
bool winding () const
 
- Protected Member Functions inherited from QtCanvasItem
void update ()
 
void update ()
 
- Protected Attributes inherited from QtCanvasPolygon
QPolygon poly
 

Detailed Description

Definition at line 741 of file qtcanvas.h.

Constructor & Destructor Documentation

◆ QtCanvasSpline() [1/2]

QtCanvasSpline ( QtCanvas canvas)

Definition at line 4418 of file qtcanvas.cpp.

◆ ~QtCanvasSpline() [1/2]

Definition at line 4427 of file qtcanvas.cpp.

◆ QtCanvasSpline() [2/2]

QtCanvasSpline ( QtCanvas canvas)

◆ ~QtCanvasSpline() [2/2]

Member Function Documentation

◆ closed() [1/2]

bool closed ( ) const

Definition at line 4472 of file qtcanvas.cpp.

◆ closed() [2/2]

bool closed ( ) const

◆ controlPoints() [1/2]

QPolygon controlPoints ( ) const

Definition at line 4463 of file qtcanvas.cpp.

◆ controlPoints() [2/2]

QPolygon controlPoints ( ) const

◆ rtti() [1/2]

int rtti ( ) const
virtual

Reimplemented from QtCanvasPolygon.

Definition at line 5380 of file qtcanvas.cpp.

◆ rtti() [2/2]

int rtti ( ) const
virtual

Reimplemented from QtCanvasPolygon.

◆ setControlPoints() [1/2]

void setControlPoints ( QPolygon  ctrl,
bool  closed = true 
)

Definition at line 4444 of file qtcanvas.cpp.

◆ setControlPoints() [2/2]

void setControlPoints ( QPolygon  ,
bool  closed = true 
)

Member Data Documentation

◆ RTTI

static int RTTI = Rtti_Spline
static

Definition at line 752 of file qtcanvas.h.


The documentation for this class was generated from the following files: