8#ifndef COVR_SELECTION_LIST_H
9#define COVR_SELECTION_LIST_H
10#include <util/common.h>
16class coNavInteraction;
63 return selectedNodeList;
67 return selectedParentList;
70 void addSelection(osg::Group *parent, osg::Node *selectedNode,
bool send =
true);
93 list<coSelectionListener *> listenerList;
95 float SelRed, SelGreen, SelBlue;
99 std::list<osg::ref_ptr<osg::Node> > selectedNodeList;
100 std::list<osg::ref_ptr<osg::Group> > selectedParentList;
101 std::list<osg::ref_ptr<osg::Group> > selectionNodeList;
103 static bool hasType(osg::Node *);
105 static bool haveToDelete(osg::Node *, osg::Node *);
107 static int getHelperType(osg::Node *);
Definition: ARToolKit.h:33
Definition: coTabletUI.h:51
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coVRSelectionManager.h:25
virtual bool pickedObjChanged()=0
virtual ~coSelectionListener()
Definition: coVRSelectionManager.h:27
virtual bool selectionChanged()=0
Definition: coVRSelectionManager.h:35
void setSelectionOnOff(int)
static bool isHelperNode(osg::Node *)
static void insertHelperNode(osg::Group *parent, osg::Node *child, osg::Group *insertNode, HelperNodeType type, bool show=true)
std::list< osg::ref_ptr< osg::Node > > getSelectionList()
Definition: coVRSelectionManager.h:61
static void markAsHelperNode(osg::Node *)
void setSelectionWire(int)
osg::BoundingSphere getBoundingSphere(osg::Node *)
std::list< osg::ref_ptr< osg::Group > > getSelectedParentList()
Definition: coVRSelectionManager.h:65
void showhideSelection(int)
void addSelection(osg::Group *parent, osg::Node *selectedNode, bool send=true)
HelperNodeType
Definition: coVRSelectionManager.h:52
@ MOVE
Definition: coVRSelectionManager.h:53
@ SELECTION
Definition: coVRSelectionManager.h:55
@ SHOWHIDE
Definition: coVRSelectionManager.h:54
static std::string generatePath(osg::Node *)
static osg::Group * getHelperNode(osg::Group *parent, osg::Node *child, HelperNodeType type)
void clearSelection(bool send=true)
void setSelectionColor(float R, float G, float B)
void removeListener(coSelectionListener *)
static osg::Node * validPath(std::string)
void addListener(coSelectionListener *)
static coVRSelectionManager * instance()
void removeNode(osg::Node *)
vrui::coNavInteraction * selectionInteractionA
Definition: coVRSelectionManager.h:59
static std::string generateNames(osg::Node *)
void receiveAdd(covise::TokenBuffer &messageData)
Definition: coNavInteraction.h:19
objects that are derived from this class are called once per frame
Definition: coUpdateManager.h:20
Definition: coUpdateManager.h:42