#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 PyObject * | getPyObject () |
| This method returns the Python wrapper for a C++ object. More... | |
| virtual Type | getTypeId () const |
| bool | isDerivedFrom (const Type type) const |
| BaseClass & | operator= (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) |
| Polyline::Polyline | ( | View3DInventorViewer * | v | ) |
| Polyline::Polyline | ( | ) |
| Polyline::~Polyline | ( | ) |
| void Polyline::addNode | ( | const QPoint & | p | ) |
| void Polyline::clear | ( | ) |
| bool Polyline::isWorking | ( | ) | const |
|
virtual |
Implements Gui::GLGraphicsItem.
| void Polyline::popNode | ( | ) |
Referenced by Gui::PolyPickerSelection::locationEvent().
| void Polyline::setClosed | ( | bool | c | ) |
Referenced by Gui::FreehandSelection::setClosed().
| void Polyline::setCloseStippled | ( | bool | c | ) |
Referenced by Gui::FreehandSelection::setClosed().
Referenced by Gui::PolyPickerSelection::setColor().
Referenced by Gui::FreehandSelection::locationEvent(), and Gui::FreehandSelection::mouseButtonEvent().
| void Polyline::setLineWidth | ( | float | l | ) |
Referenced by Gui::PolyPickerSelection::setLineWidth().
| void Polyline::setViewer | ( | View3DInventorViewer * | v | ) |
Referenced by Gui::PolyPickerSelection::initialize().
| void Polyline::setWorking | ( | bool | on | ) |