Gui::Polyline Class Reference

#include <GLPainter.h>

Public Member Functions

void addNode (const QPoint &p)
void clear ()
bool isWorking () const
void paintGL ()
 Polyline ()
 Polyline (View3DInventorViewer *v)
void popNode ()
void setClosed (bool c)
void setCloseStippled (bool c)
void setColor (int r, int g, int b, int a=0)
void setCoords (int x, int y)
void setLineWidth (float l)
void setViewer (View3DInventorViewer *v)
void setWorking (bool on)
 ~Polyline ()
- Public Member Functions inherited from Gui::GLGraphicsItem
 GLGraphicsItem ()
virtual void paintGL ()=0
virtual ~GLGraphicsItem ()
- Public Member Functions inherited from Base::BaseClass
 BaseClass ()
 Construction. More...
 BaseClass (const BaseClass &)=default
virtual PyObjectgetPyObject ()
 This method returns the Python wrapper for a C++ object. More...
virtual Type getTypeId () const
bool isDerivedFrom (const Type type) const
BaseClassoperator= (const BaseClass &)=default
virtual void setPyObject (PyObject *)
virtual ~BaseClass ()
 Destruction. More...

Additional Inherited Members

- Static Public Member Functions inherited from Base::BaseClass
static void * create ()
static Type getClassTypeId ()
static void init ()
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr)

Constructor & Destructor Documentation

◆ Polyline() [1/2]

Polyline::Polyline ( View3DInventorViewer v)

◆ Polyline() [2/2]

Polyline::Polyline ( )

◆ ~Polyline()

Polyline::~Polyline ( )

Member Function Documentation

◆ addNode()

◆ clear()

◆ isWorking()

◆ paintGL()

void Polyline::paintGL ( )

Implements Gui::GLGraphicsItem.

◆ popNode()

void Polyline::popNode ( )

◆ setClosed()

void Polyline::setClosed ( bool  c)

◆ setCloseStippled()

void Polyline::setCloseStippled ( bool  c)

◆ setColor()

void Polyline::setColor ( int  r,
int  g,
int  b,
int  a = 0 

◆ setCoords()

void Polyline::setCoords ( int  x,
int  y 

◆ setLineWidth()

void Polyline::setLineWidth ( float  l)

◆ setViewer()

void Polyline::setViewer ( View3DInventorViewer v)

◆ setWorking()

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