Go to the documentation of this file. 1 #ifndef CNOID_BASE_LOCATABLE_ITEM_H
2 #define CNOID_BASE_LOCATABLE_ITEM_H
4 #include <cnoid/Referenced>
5 #include <cnoid/Signal>
6 #include <cnoid/EigenTypes>
7 #include "exportdecl.h"
31 virtual std::string getName()
const;
32 virtual Isometry3 getLocation()
const = 0;
33 virtual bool isEditable()
const;
34 virtual void setEditable(
bool on);
35 virtual bool setLocation(
const Isometry3& T);
36 virtual void finishLocationEditing();
37 virtual Item* getCorrespondingItem();
39 virtual void expire();
40 virtual SignalProxy<void()> sigLocationChanged() = 0;
45 bool setGlobalLocation(
const Isometry3& T);
46 void notifyAttributeChange();
55 LocationType locationType_;
57 Signal<void()> sigAttributeChanged_;
58 Signal<void()> sigExpired_;
virtual LocationProxyPtr getLocationProxy()=0
Eigen::Isometry3d Isometry3
Definition: EigenTypes.h:73
ref_ptr< LocationProxy > LocationProxyPtr
Definition: LocatableItem.h:12
@ InvalidLocation
Definition: LocatableItem.h:19
Definition: LocatableItem.h:15
LocationType
Definition: LocatableItem.h:18
Definition: AbstractSceneLoader.h:11
@ ParentRelativeLocation
Definition: LocatableItem.h:21
Definition: Referenced.h:54
LocationType locationType() const
Definition: LocatableItem.h:29
@ GlobalLocation
Definition: LocatableItem.h:20
Definition: LocatableItem.h:62
void setLocationType(LocationType type)
Definition: LocatableItem.h:30