|
| BodyItem () |
|
| BodyItem (const std::string &name) |
|
| BodyItem (const BodyItem &org) |
|
virtual | ~BodyItem () |
|
virtual bool | setName (const std::string &name) override |
|
Body * | body () const |
|
void | setBody (Body *body) |
|
bool | isSharingShapes () const |
|
void | cloneShapes (CloneMap &cloneMap) |
|
bool | makeBodyStatic () |
|
bool | makeBodyDynamic () |
|
BodyItem * | parentBodyItem () |
|
bool | isAttachedToParentBody () const |
|
void | setAttachmentEnabled (bool on, bool doNotifyUpdate=true) |
|
bool | isAttachmentEnabled () const |
|
bool | attachToParentBody (bool doNotifyUpdate=true) |
|
void | moveToOrigin () |
|
void | setPresetPose (PresetPoseID id) |
|
Link * | currentBaseLink () const |
|
void | setCurrentBaseLink (Link *link) |
|
void | calcForwardKinematics (bool calcVelocity=false, bool calcAcceleration=false) |
|
void | copyKinematicState () |
|
void | pasteKinematicState () |
|
void | storeKinematicState (BodyState &state) |
|
bool | restoreKinematicState (const BodyState &state) |
|
void | storeInitialState () |
|
void | restoreInitialState (bool doNotify=true) |
|
void | getInitialState (BodyState &out_state) |
|
void | setInitialState (const BodyState &in_state) |
|
void | beginKinematicStateEdit () |
|
void | cancelKinematicStateEdit () |
|
void | acceptKinematicStateEdit () |
|
LinkKinematicsKit * | findPresetLinkKinematicsKit (Link *targetLink=nullptr) |
|
std::shared_ptr< InverseKinematics > | findPresetIK (Link *targetLink) |
|
LinkKinematicsKit * | getCurrentLinkKinematicsKit (Link *targetLink) |
|
std::shared_ptr< InverseKinematics > | getCurrentIK (Link *targetLink) |
|
std::shared_ptr< PinDragIK > | getOrCreatePinDragIK () |
|
std::shared_ptr< PinDragIK > | checkPinDragIK () |
|
std::shared_ptr< PenetrationBlocker > | createPenetrationBlocker (Link *link, bool excludeSelfCollisions=false) |
|
SignalProxy< void()> | sigModelUpdated () |
|
void | notifyModelUpdate () |
|
SignalProxy< void()> | sigKinematicStateChanged () |
|
void | notifyKinematicStateChange (bool requestFK=false, bool requestVelFK=false, bool requestAccFK=false) |
|
void | notifyKinematicStateChange (Connection &connectionToBlock, bool requestFK=false, bool requestVelFK=false, bool requestAccFK=false) |
|
void | notifyKinematicStateChangeLater (bool requestFK=false, bool requestVelFK=false, bool requestAccFK=false) |
|
void | notifyKinematicStateChangeLater (Connection &connectionToBlock, bool requestFK=false, bool requestVelFK=false, bool requestAccFK=false) |
|
SignalProxy< void()> | sigKinematicStateUpdated () |
|
void | notifyKinematicStateUpdate (bool doNotifyStateChange=true) |
|
bool | isCollisionDetectionEnabled () const |
|
void | setCollisionDetectionEnabled (bool on) |
|
void | enableCollisionDetection (bool on) |
|
bool | isSelfCollisionDetectionEnabled () const |
|
void | setSelfCollisionDetectionEnabled (bool on) |
|
void | enableSelfCollisionDetection (bool on) |
|
void | clearCollisions () |
|
std::vector< CollisionLinkPairPtr > & | collisions () |
|
const std::vector< CollisionLinkPairPtr > & | collisions () const |
|
std::vector< bool > & | collisionLinkBitSet () |
|
const std::vector< bool > & | collisionLinkBitSet () const |
|
std::vector< CollisionLinkPairPtr > & | collisionsOfLink (int linkIndex) |
|
const std::vector< CollisionLinkPairPtr > & | collisionsOfLink (int linkIndex) const |
|
SignalProxy< void()> | sigCollisionsUpdated () |
|
void | notifyCollisionUpdate () |
|
const Vector3 & | centerOfMass () |
|
bool | isLeggedBody () const |
|
bool | doLegIkToMoveCm (const Vector3 &c, bool onlyProjectionToFloor=false) |
|
const Vector3 & | zmp () const |
|
void | setZmp (const Vector3 &zmp) |
|
void | editZmp (const Vector3 &zmp) |
|
stdx::optional< Vector3 > | getParticularPosition (PositionType posType) |
|
bool | setStance (double width) |
|
virtual LocationProxyPtr | getLocationProxy () override |
|
bool | isLocationEditable () const |
|
void | setLocationEditable (bool on) |
|
LocationProxyPtr | createLinkLocationProxy (Link *link) |
|
virtual SgNode * | getScene () override |
|
EditableSceneBody * | sceneBody () |
|
EditableSceneBody * | existingSceneBody () |
|
float | transparency () const |
|
void | setTransparency (float t) |
|
virtual | ~Item () |
|
Item & | operator= (const Item &rhs)=delete |
|
int | classId () const |
|
Item * | createNewInstance () const |
|
void | assign (Item *srcItem) |
| Copy item properties as much as possible like the assignment operator. More...
|
|
Item * | duplicate (Item *duplicatedParentItem=nullptr) const |
|
Item * | duplicateSubTree () const |
| This function creates a copy of the item including its descendant items. More...
|
|
Item * | duplicateAll () const |
|
const std::string & | name () const |
|
virtual std::string | displayName () const |
|
void | setDisplayNameModifier (std::function< std::string(const Item *item)> modifier) |
|
SignalProxy< void(const std::string &oldName)> | sigNameChanged () |
|
void | notifyNameChange () |
| This function notifies the system of a displayName change. More...
|
|
void | setAttribute (Attribute attribute) |
|
void | unsetAttribute (Attribute attribute) |
|
bool | hasAttribute (Attribute attribute) const |
|
bool | isSubItem () const |
|
void | setSubItemAttributes () |
|
bool | isTemporal () const |
|
void | setTemporal (bool on=true) |
|
bool | isSelected () const |
|
void | setSelected (bool on, bool isCurrent=false) |
|
void | setSubTreeItemsSelected (bool on) |
|
bool | isChecked (int checkId=PrimaryCheck) const |
|
void | setChecked (bool on) |
|
void | setChecked (int checkId, bool on) |
|
int | numCheckStates () const |
|
int | numChildren () const |
|
int | countDescendantItems () const |
|
Item * | childItem () const |
|
Item * | prevItem () const |
|
Item * | nextItem () const |
|
Item * | lastChildItem () const |
|
Item * | parentItem () const |
|
Item * | headItem () const |
|
RootItem * | findRootItem () const |
|
bool | isConnectedToRoot () const |
|
Item * | localRootItem () const |
|
bool | addChildItem (Item *item, bool isManualOperation=false) |
|
bool | insertChildItem (Item *item, Item *nextItem, bool isManualOperation=false) |
|
bool | insertChild (Item *position, Item *item, bool isManualOperation=false) |
|
bool | addSubItem (Item *item) |
|
bool | insertSubItem (Item *item, Item *nextItem) |
|
void | removeFromParentItem () |
|
void | detachFromParentItem () |
|
void | clearChildren () |
|
template<class ItemType > |
ItemType * | find (const std::string &path="") |
|
Item * | findItem (const std::string &path) const |
|
template<class ItemType > |
ItemType * | findItem (const std::string &path) const |
|
template<class ItemType > |
ItemType * | findItem (std::function< bool(ItemType *item)> pred=nullptr) const |
|
Item * | findChildItem (const std::string &path, std::function< bool(Item *item)> pred=nullptr) const |
|
template<class ItemType > |
ItemType * | findChildItem (const std::string &path, std::function< bool(ItemType *item)> pred=nullptr) const |
|
template<class ItemType > |
ItemType * | findChildItem (std::function< bool(ItemType *item)> pred=nullptr) const |
|
Item * | findSubItem (const std::string &path) const |
|
template<class ItemType > |
ItemType * | findSubItem (const std::string &path="") const |
|
template<class ItemType > |
ItemType * | findOwnerItem (bool includeSelf=false) const |
|
bool | isOwnedBy (Item *item) const |
|
ItemList | childItems (std::function< bool(Item *item)> pred=nullptr) const |
|
template<class ItemType > |
ItemList< ItemType > | childItems (std::function< bool(ItemType *item)> pred=nullptr) const |
|
ItemList | descendantItems (std::function< bool(Item *item)> pred=nullptr) const |
|
template<class ItemType > |
ItemList< ItemType > | descendantItems (std::function< bool(ItemType *item)> pred=nullptr) const |
|
ItemList | selectedDescendantItems (std::function< bool(Item *item)> pred=nullptr) const |
|
template<class ItemType > |
ItemList< ItemType > | selectedDescendantItems (std::function< bool(Item *item)> pred=nullptr) const |
|
bool | traverse (std::function< bool(Item *)> pred) |
|
template<class ItemType > |
bool | traverse (std::function< bool(ItemType *item)> pred=nullptr) |
|
SignalProxy< void()> | sigTreePathChanged () |
|
SignalProxy< void()> | sigTreePositionChanged () |
|
SignalProxy< void(Item *topItem, Item *prevTopParentItem)> | sigTreePositionChanged2 () |
|
SignalProxy< void()> | sigPositionChanged () |
|
SignalProxy< void()> | sigSubTreeChanged () |
|
SignalProxy< void()> | sigDisconnectedFromRoot () |
|
SignalProxy< void()> | sigDetachedFromRoot () |
|
SignalProxy< void(bool on)> | sigSelectionChanged () |
|
SignalProxy< void(int checkId, bool on)> | sigAnyCheckToggled () |
|
SignalProxy< void(bool on)> | sigCheckToggled (int checkId=PrimaryCheck) |
|
virtual void | notifyUpdate () |
|
SignalProxy< void()> | sigUpdated () |
|
bool | setAddon (ItemAddon *addon) |
|
void | removeAddon (ItemAddon *addon) |
|
template<class AddonType > |
AddonType * | findAddon () |
|
template<class AddonType > |
AddonType * | getAddon () |
|
std::vector< ItemAddon * > | addons () |
|
bool | load (const std::string &filename, const std::string &format=std::string(), const Mapping *options=nullptr) |
|
bool | load (const std::string &filename, Item *parent, const std::string &format=std::string(), const Mapping *options=nullptr) |
|
bool | save (const std::string &filename, const std::string &format=std::string(), const Mapping *options=nullptr) |
|
bool | overwrite (bool forceOverwrite=false, const std::string &format=std::string()) |
|
const std::string & | filePath () const |
| Full path file name. More...
|
|
std::string | fileName () const |
| File name without the directory. More...
|
|
const std::string & | fileFormat () const |
|
const Mapping * | fileOptions () const |
|
std::time_t | fileModificationTime () const |
|
bool | isConsistentWithFile () const |
|
void | updateFileInformation (const std::string &filename, const std::string &format, Mapping *options=nullptr) |
|
void | setConsistentWithFile (bool isConsistent) |
|
void | suggestFileUpdate () |
|
void | clearFileInformation () |
| Use this function to disable the implicit overwrite next time. More...
|
|
bool | reload () |
|
bool | replace (Item *originalItem) |
|
Item * | findOriginalItem () const |
|
Item * | findReplacementItem () const |
|
void | putProperties (PutPropertyFunction &putProperty) |
|
virtual | ~Referenced () |
|
| RenderableItem () |
|
virtual | ~RenderableItem () |
|
virtual bool | isSceneSensitive () |
|
virtual void | setSceneSensitive (bool on) |
|
virtual SignalProxy< void(bool on)> | sigSceneSensitiveChanged () |
|