#include <SelectableThing.h>
Inheritance diagram for SelectableThing:
Public Member Functions | |
SelectableThing (int ThingName) | |
virtual void | draw (ManipulatedFrame *MF)=0 |
virtual void | UpdateNameTag ()=0 |
virtual bool | IsAPoint ()=0 |
virtual bool | IsAPatch ()=0 |
virtual Point * | GetPoint ()=0 |
virtual BaryPatch * | GetPatch ()=0 |
Public Attributes | |
Vec | _Color |
QString | _NameTag |
int | _ThingName |
bool | _IsSelected |
bool | _Show |
bool | _ShowNameTag |
Frame | _ThingGlobalFrame |
Frame | _ThingLocalFrame |
bool | _IsBeingDeleted |
Abstract class used to regroup information useful for any object which is meant to be displayed in a viewer and manipulated by mouse.
SelectableThing::SelectableThing | ( | int | ThingName | ) | [inline] |
Constructor
Notice a integer name is mandatory. Manage your workspace names correctly to avoid problems.
virtual void SelectableThing::draw | ( | ManipulatedFrame * | MF | ) | [pure virtual] |
virtual BaryPatch* SelectableThing::GetPatch | ( | ) | [pure virtual] |
virtual Point* SelectableThing::GetPoint | ( | ) | [pure virtual] |
virtual bool SelectableThing::IsAPatch | ( | ) | [pure virtual] |
virtual bool SelectableThing::IsAPoint | ( | ) | [pure virtual] |
virtual void SelectableThing::UpdateNameTag | ( | ) | [pure virtual] |
(Red,Green,Blue)
Used to manage complicated deletion situations
Am I part of a selection ?
QString SelectableThing::_NameTag |
Text name
Should I be drawn ?
Should my name tag be displayed ?
The QGLViewer frame used to represent this thing's position in the world
The QGLViewer frame used to represent this thing's position in a different coordinate system (typically a coordinate system linked to the selection)
Integer name as selectable object (name used by GLPushName())