|
| | AISTSimulatorItem () |
| |
| | AISTSimulatorItem (const AISTSimulatorItem &org) |
| |
| virtual | ~AISTSimulatorItem () |
| |
| void | setDynamicsMode (int mode) |
| |
| void | setIntegrationMode (int mode) |
| |
| void | setGravity (const Vector3 &gravity) |
| |
| const Vector3 & | gravity () const |
| |
| void | setFrictionCoefficientRange (double minFriction, double maxFriction) |
| |
| double | minFrictionCoefficient () const |
| |
| double | maxFrictionCoefficient () const |
| |
| void | setContactCullingDistance (double value) |
| |
| void | setContactCullingDepth (double value) |
| |
| void | setErrorCriterion (double value) |
| |
| void | setMaxNumIterations (int value) |
| |
| void | setContactCorrectionDepth (double value) |
| |
| void | setContactCorrectionVelocityRatio (double value) |
| |
| void | setEpsilon (double epsilon) |
| |
| void | set2Dmode (bool on) |
| |
| void | setKinematicWalkingEnabled (bool on) |
| |
| void | setConstraintForceOutputEnabled (bool on) |
| |
| void | addExtraJoint (ExtraJoint &extraJoint) |
| |
| void | clearExtraJoints () |
| |
| virtual Vector3 | getGravity () const override |
| |
| virtual void | setForcedPosition (BodyItem *bodyItem, const Isometry3 &T) override |
| |
| virtual bool | isForcedPositionActiveFor (BodyItem *bodyItem) const override |
| |
| virtual void | clearForcedPositions () override |
| |
| void | registerCollisionHandler (const std::string &name, CollisionHandler handler) |
| |
| bool | unregisterCollisionHandler (const std::string &name) |
| |
| void | setFriction (Link *link1, Link *link2, double staticFriction, double dynamicFriction) |
| |
| virtual | ~SimulatorItem () |
| |
| WorldItem * | worldItem () |
| |
| virtual double | worldTimeStep () |
| |
| void | setTimeStep (double step) |
| |
| bool | startSimulation (bool doReset=true) |
| |
| void | stopSimulation (bool isForced=false) |
| |
| void | pauseSimulation () |
| |
| void | restartSimulation () |
| |
| bool | isRunning () const |
| |
| bool | isPausing () const |
| |
| bool | isActive () const |
| | isRunning() && !isPausing() More...
|
| |
| int | currentFrame () const |
| | This can only be called from the simulation thread. More...
|
| |
| double | currentTime () const |
| | This can only be called from the simulation thread. More...
|
| |
| int | simulationFrame () const |
| | This can be called from non simulation threads. More...
|
| |
| double | simulationTime () const |
| | This can be called from non simulation threads. More...
|
| |
| SignalProxy< void()> | sigSimulationStarted () |
| |
| SignalProxy< void()> | sigSimulationPaused () |
| |
| SignalProxy< void()> | sigSimulationResumed () |
| |
| SignalProxy< void(bool isForced)> | sigSimulationFinished () |
| |
| void | setRecordingMode (int selection) |
| |
| int | recordingMode () const |
| |
| void | setTimeRangeMode (int selection) |
| |
| void | setTimeLength (double length) |
| |
| void | setSpecifiedRecordingTimeLength (double length) |
| |
| void | setActiveControlTimeRangeMode (bool on) |
| |
| bool | isActiveControlTimeRangeMode () const |
| |
| void | setRealtimeSyncMode (bool on) |
| |
| void | setDeviceStateOutputEnabled (bool on) |
| |
| bool | isRecordingEnabled () const |
| |
| bool | isDeviceStateOutputEnabled () const |
| |
| bool | isAllLinkPositionOutputMode () |
| |
| virtual void | setAllLinkPositionOutputMode (bool on) |
| |
| const std::string & | controllerOptionString () const |
| |
| const std::vector< SimulationBody * > & | simulationBodies () |
| |
| SimulationBody * | findSimulationBody (BodyItem *bodyItem) |
| |
| SimulationBody * | findSimulationBody (const std::string &name) |
| |
| int | addPreDynamicsFunction (std::function< void()> func) |
| |
| int | addMidDynamicsFunction (std::function< void()> func) |
| |
| int | addPostDynamicsFunction (std::function< void()> func) |
| |
| void | removePreDynamicsFunction (int id) |
| |
| void | removeMidDynamicsFunction (int id) |
| |
| void | removePostDynamicsFunction (int id) |
| |
| CloneMap & | cloneMap () |
| |
| SignalProxy< void(const std::vector< SimulationBodyPtr > &simulationBodies)> | sigSimulationBodyListUpdated () |
| |
| virtual void | setExternalForce (BodyItem *bodyItem, Link *link, const Vector3 &point, const Vector3 &f, double time=0.0) |
| |
| virtual void | clearExternalForces () |
| |
| virtual void | setVirtualElasticString (BodyItem *bodyItem, Link *link, const Vector3 &attachmentPoint, const Vector3 &endPoint) |
| |
| virtual void | clearVirtualElasticStrings () |
| |
| 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 bool | setName (const std::string &name) |
| |
| virtual std::string | displayName () const |
| |
| void | setDisplayNameModifier (std::function< std::string(const Item *item)> modifier) |
| |
| SignalProxy< void(const std::string &oldName)> | sigNameChanged () |
| |
| void | notifyNameChange () |
| |
| 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()> | sigPositionChanged () |
| |
| SignalProxy< void(Item *topItem, Item *prevTopParentItem)> | sigPositionChanged2 () |
| |
| 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 |
| |
| std::string | fileName () const |
| |
| 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 () |
| |