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 () | |
![]() | |
GLGraphicsItem () | |
virtual ~GLGraphicsItem () | |
![]() | |
BaseClass () | |
Construction. More... | |
virtual PyObject * getPyObject (void) | |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type getTypeId (void) const | |
bool isDerivedFrom (const Type type) const | |
virtual void setPyObject (PyObject *) | |
virtual ~BaseClass () | |
Destruction. More... | |
Additional Inherited Members | |
![]() | |
static void * create (void) | |
static Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
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()
void Polyline::addNode | ( | const QPoint & | p | ) |
◆ clear()
void Polyline::clear | ( | ) |
◆ isWorking()
bool Polyline::isWorking | ( | ) | const |
◆ paintGL()
|
virtual |
Implements Gui::GLGraphicsItem.
◆ popNode()
void Polyline::popNode | ( | ) |
Referenced by Gui::PolyPickerSelection::locationEvent().
◆ setClosed()
void Polyline::setClosed | ( | bool | c | ) |
Referenced by Gui::FreehandSelection::setClosed().
◆ setCloseStippled()
void Polyline::setCloseStippled | ( | bool | c | ) |
Referenced by Gui::FreehandSelection::setClosed().
◆ setColor()
void Polyline::setColor | ( | int | r, |
int | g, | ||
int | b, | ||
int | a = 0 |
||
) |
Referenced by Gui::PolyPickerSelection::setColor().
◆ setCoords()
void Polyline::setCoords | ( | int | x, |
int | y | ||
) |
Referenced by Gui::FreehandSelection::locationEvent(), and Gui::FreehandSelection::mouseButtonEvent().
◆ setLineWidth()
void Polyline::setLineWidth | ( | float | l | ) |
Referenced by Gui::PolyPickerSelection::setLineWidth().
◆ setViewer()
void Polyline::setViewer | ( | View3DInventorViewer * | v | ) |
Referenced by Gui::PolyPickerSelection::initialize().
◆ setWorking()
void Polyline::setWorking | ( | bool | on | ) |
The documentation for this class was generated from the following files:
- src/Gui/GLPainter.h
- src/Gui/GLPainter.cpp