|
opynsim
Unofficial C++ Documentation
|
Namespaces | |
| namespace | examples |
Concepts | |
| concept | ClonesToRawPointer |
Functions | |
| template<typename T > | |
| const ComponentRegistryEntry< T > & | At (const ComponentRegistry< T > ®istry, size_t i) |
| template<typename T > | |
| const ComponentRegistryEntry< T > & | Get (ComponentRegistry< T > const ®istry, const T &el) |
| template<typename T > | |
| const ComponentRegistryEntry< T > & | Get (const ComponentRegistry< T > ®istry, std::string_view componentClassName) |
| std::optional< size_t > | IndexOf (const ComponentRegistryBase &, std::string_view componentClassName) |
| std::optional< size_t > | IndexOf (const ComponentRegistryBase &, const OpenSim::Component &) |
| template<typename T > | |
| std::optional< size_t > | IndexOf (const ComponentRegistryBase ®istry) |
| template<typename T > | |
| const ComponentRegistry< T > & | GetComponentRegistry () |
| const ComponentRegistry< OpenSim::Component > & | GetCustomComponentRegistry () |
| const ComponentRegistry< OpenSim::Component > & | GetAllRegisteredComponents () |
| std::ostream & | operator<< (std::ostream &out, const DataFrame &data_frame) |
Writes a pretty-printed representation of data_frame to out. | |
| constexpr size_t | numElementsIn (DataPointType t) |
| constexpr osc::CStringView | labelFor (DataPointType t) |
| std::vector< double > | extractDataPoint (double time, const OpenSim::Storage &, const DataSeriesAnnotation &) |
| void | generateDecorations (double time, const OpenSim::Storage &, const DataSeriesAnnotation &, SimTK::Array_< SimTK::DecorativeGeometry, unsigned > &out) |
| constexpr LandmarkCSVFlags | operator| (LandmarkCSVFlags lhs, LandmarkCSVFlags rhs) |
| constexpr bool | operator& (LandmarkCSVFlags lhs, LandmarkCSVFlags rhs) |
| std::string | to_string (const CSVParseWarning &) |
| void | ReadLandmarksFromCSV (std::istream &, const std::function< void(Landmark &&)> &landmarkConsumer, const std::function< void(CSVParseWarning)> &warningConsumer=[](auto){}) |
| std::vector< Landmark > | ReadLandmarksFromCSVIntoVectorOrThrow (const std::filesystem::path &) |
| void | WriteLandmarksToCSV (std::ostream &, const std::function< std::optional< Landmark >()> &landmarkProducer, LandmarkCSVFlags=LandmarkCSVFlags::None) |
| std::vector< NamedLandmark > | GenerateNames (std::span< const Landmark >, std::string_view prefix="unnamed_") |
| void | TryPairingLandmarks (std::vector< Landmark >, std::vector< Landmark >, const std::function< void(const MaybeNamedLandmarkPair &)> &consumer) |
| std::optional< osc::CStringView > | GetOutputSubfieldLabel (ComponentOutputSubfield) |
| std::span< const ComponentOutputSubfield > | GetAllSupportedOutputSubfields () |
| bool | ProducesExtractableNumericValues (const OpenSim::AbstractOutput &) |
| ComponentOutputSubfields | GetSupportedSubfields (const OpenSim::AbstractOutput &) |
| SubfieldExtractorFunc | GetExtractorFuncOrNull (const OpenSim::AbstractOutput &, ComponentOutputSubfield) |
| int | GetNumIntegratorOutputExtractors () |
| const IntegratorOutputExtractor & | GetIntegratorOutputExtractor (int idx) |
| SharedOutputExtractor | GetIntegratorOutputExtractorDynamic (int idx) |
| int | GetNumMultiBodySystemOutputExtractors () |
| const MultiBodySystemOutputExtractor & | GetMultiBodySystemOutputExtractor (int idx) |
| SharedOutputExtractor | GetMultiBodySystemOutputExtractorDynamic (int idx) |
| constexpr bool | is_numeric (OutputExtractorDataType t) |
| template<std::derived_from< OutputExtractor > ConcreteOutputExtractor, typename... Args> requires std::constructible_from<ConcreteOutputExtractor, Args&&...> | |
| SharedOutputExtractor | make_output_extractor (Args &&... args) |
| std::ostream & | operator<< (std::ostream &, const SharedOutputExtractor &) |
| std::string | to_string (const SharedOutputExtractor &) |
| constexpr bool | operator& (CustomRenderingOptionFlags lhs, CustomRenderingOptionFlags rhs) |
| constexpr void | SetOption (CustomRenderingOptionFlags &flags, CustomRenderingOptionFlags flag, bool v) |
| constexpr CustomRenderingOptionFlags | CustomRenderingIthOption (size_t i) |
| std::span< const CustomRenderingOptionFlagsMetadata > | GetAllCustomRenderingOptionFlagsMetadata () |
| void | UpdModelRendererParamsFrom (const osc::AppSettings &, std::string_view keyPrefix, ModelRendererParams ¶ms) |
| void | SaveModelRendererParamsDifference (const ModelRendererParams &, const ModelRendererParams &, std::string_view settingsKeyPrefix, osc::AppSettings &) |
| std::span< const MuscleColorSourceMetadata > | GetAllPossibleMuscleColoringSourcesMetadata () |
| const MuscleColorSourceMetadata & | GetMuscleColoringStyleMetadata (MuscleColorSource) |
| ptrdiff_t | GetIndexOf (MuscleColorSource) |
| std::span< const MuscleColorSourceScalingMetadata > | GetAllPossibleMuscleColorSourceScalingMetadata () |
| const MuscleColorSourceScalingMetadata & | GetMuscleColorSourceScalingMetadata (MuscleColorSourceScaling) |
| ptrdiff_t | GetIndexOf (MuscleColorSourceScaling) |
| std::span< const MuscleDecorationStyleMetadata > | GetAllMuscleDecorationStyleMetadata () |
| ptrdiff_t | GetIndexOf (MuscleDecorationStyle) |
| const MuscleDecorationStyleMetadata & | GetMuscleDecorationStyleMetadata (MuscleDecorationStyle) |
| std::span< const MuscleSizingStyleMetadata > | GetAllMuscleSizingStyleMetadata () |
| const MuscleSizingStyleMetadata & | GetMuscleSizingStyleMetadata (MuscleSizingStyle) |
| ptrdiff_t | GetIndexOf (MuscleSizingStyle) |
| void | GenerateModelDecorations (osc::SceneCache &, const OpenSim::Model &, const SimTK::State &, const OpenSimDecorationOptions &, float fixupScaleFactor, const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> &out) |
| std::vector< osc::SceneDecoration > | GenerateModelDecorations (osc::SceneCache &, const ModelStatePair &, const OpenSimDecorationOptions &={}, float fixupScaleFactor=1.0f) |
| std::vector< osc::SceneDecoration > | GenerateModelDecorations (osc::SceneCache &, const OpenSim::Model &, const SimTK::State &, const OpenSimDecorationOptions &={}, float fixupScaleFactor=1.0f) |
| void | GenerateSubcomponentDecorations (osc::SceneCache &, const OpenSim::Model &, const SimTK::State &, const OpenSim::Component &subcomponent, const OpenSimDecorationOptions &, float fixupScaleFactor, const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> &out, bool inclusiveOfProvidedSubcomponent=true) |
| osc::Mesh | ToOscMesh (osc::SceneCache &, const OpenSim::Model &, const SimTK::State &, const OpenSim::Mesh &, const OpenSimDecorationOptions &, float fixupScaleFactor) |
| osc::Mesh | ToOscMesh (const OpenSim::Model &, const SimTK::State &, const OpenSim::Mesh &) |
| osc::Mesh | ToOscMeshBakeScaleFactors (const OpenSim::Model &, const SimTK::State &, const OpenSim::Mesh &) |
| float | GetRecommendedScaleFactor (osc::SceneCache &, const OpenSim::Model &, const SimTK::State &, const OpenSimDecorationOptions &) |
| const OpenSimDecorationOptionMetadata & | GetIthOptionMetadata (size_t) |
| OpenSimDecorationOptionFlag | GetIthOption (size_t) |
| void | SetIthOption (OpenSimDecorationOptionFlags &, size_t, bool) |
| osc::SceneRendererParams | CalcSceneRendererParams (const ModelRendererParams &, osc::Vector2 viewportDims, float viewportDevicePixelRatio, osc::AntiAliasingLevel, float fixupScaleFactor) |
| void | GenerateDecorations (osc::SceneCache &, const ModelStatePair &, const OpenSimDecorationOptions &, const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> &out) |
| std::optional< osc::SceneCollision > | GetClosestCollision (const osc::BVH &sceneBVH, osc::SceneCache &, std::span< const osc::SceneDecoration > taggedDrawlist, const osc::PolarPerspectiveCamera &, osc::Vector2 mouseScreenPosition, const osc::Rect &viewportScreenRect) |
| void | GenerateOverlayDecorations (osc::SceneCache &, const OverlayDecorationOptions &, const osc::BVH &sceneBVH, float fixupScaleFactor, const std::function< void(osc::SceneDecoration &&)> &out) |
| constexpr bool | operator& (OverlayDecorationOptionFlags lhs, OverlayDecorationOptionFlags rhs) |
| constexpr void | SetOption (OverlayDecorationOptionFlags &flags, OverlayDecorationOptionFlags flag, bool v) |
| constexpr OverlayDecorationOptionFlags | IthOption (size_t i) |
| osc::CStringView | getLabel (OverlayDecorationOptionGroup) |
| std::span< const OverlayDecorationOptionFlagsMetadata > | GetAllOverlayDecorationOptionFlagsMetadata () |
| osc::Texture2D | render_model_in_state (OPynSimApp &, const Model &, const ModelState &, osc::Vector2 dimensions, bool zoom_to_fit, bool draw_floor) |
| void | GenerateDecorations (osc::SceneCache &, const SimTK::SimbodyMatterSubsystem &, const SimTK::State &, const SimTK::DecorativeGeometry &, float fixupScaleFactor, const std::function< void(osc::SceneDecoration &&)> &out) |
| osc::Mesh | ToOscMesh (const SimTK::PolygonalMesh &) |
| std::span< const std::string_view > | GetSupportedSimTKMeshFormats () |
| std::span< const osc::FileDialogFilter > | GetSupportedSimTKMeshFormatsAsFilters () |
| osc::Mesh | LoadMeshViaSimbody (const std::filesystem::path &) |
| void | AssignIndexedVerts (SimTK::PolygonalMesh &, std::span< const osc::Vector3 >, osc::MeshIndicesView) |
| osc::CStringView | label_for (const IntegratorMethod &integrator_method) |
Returns a human-readable label (no decorations) for integrator_method. | |
| osc::LogLevel | get_log_level () |
| Returns the logging level of the default global log sink that's used by all subsystems. | |
| void | set_log_level (osc::LogLevel) |
| bool | init () |
| std::vector< std::filesystem::path > | get_search_paths () |
| void | prepend_search_path (std::filesystem::path search_path) |
| void | append_search_path (std::filesystem::path search_path) |
| bool | remove_search_path (const std::filesystem::path &search_path) |
| ModelSpecification | read_osim (const std::filesystem::path &source) |
| DataFrame | read_sto (const std::filesystem::path &source) |
| DataFrame | read_mot (const std::filesystem::path &source) |
| DataFrame | read_trc (const std::filesystem::path &source) |
| DataFrame | read_csv (const std::filesystem::path &source) |
| osc::Mesh | read_vtp (const std::filesystem::path &source) |
| osc::Mesh | read_obj (const std::filesystem::path &source) |
| osc::Mesh | read_stl (const std::filesystem::path &source) |
| osc::Texture2D | read_png (const std::filesystem::path &source) |
| osc::Texture2D | read_jpeg (const std::filesystem::path &source) |
| osc::Texture2D | read_jpg (const std::filesystem::path &source) |
An alias for read_jpeg. | |
| bool | operator== (const Series &lhs, const Series &rhs) |
| Series | operator* (double lhs, const Series &rhs) |
| Series | operator* (const Series &lhs, double rhs) |
| const auto & | getScalingStepPrototypes () |
| std::ostream & | operator<< (std::ostream &ostream, const opyn::Symbol &symbol) |
Writes "Symbol(\"{symbol.name()}\")" to ostream. | |
| std::ostream & | operator<< (std::ostream &, const TPSCoefficientSolverInputs3D< float > &) |
| std::ostream & | operator<< (std::ostream &, const TPSCoefficientSolverInputs3D< double > &) |
| std::ostream & | operator<< (std::ostream &, const TPSNonAffineTerm3D< float > &) |
| std::ostream & | operator<< (std::ostream &, const TPSNonAffineTerm3D< double > &) |
| std::ostream & | operator<< (std::ostream &, const TPSCoefficients3D< float > &) |
| std::ostream & | operator<< (std::ostream &, const TPSCoefficients3D< double > &) |
| TPSCoefficients3D< float > | tps3d_solve_coefficients (const TPSCoefficientSolverInputs3D< float > &) |
| TPSCoefficients3D< double > | tps3d_solve_coefficients (const TPSCoefficientSolverInputs3D< double > &) |
| TPSCoefficients3D< double > | tps3d_solve_coefficients (cpp23::mdspan< const double, cpp23::extents< size_t, std::dynamic_extent, 3 >, cpp23::layout_stride > source_landmarks, cpp23::mdspan< const double, cpp23::extents< size_t, std::dynamic_extent, 3 >, cpp23::layout_stride > destination_landmarks, double warping_penalty=0.0) |
| SimTK::Vec< 3, float > | tps3d_warp_point (const TPSCoefficients3D< float > &, const SimTK::Vec< 3, float > &p) |
| SimTK::Vec< 3, double > | tps3d_warp_point (const TPSCoefficients3D< double > &, const SimTK::Vec< 3, double > &) |
| SimTK::Vec< 3, float > | tps3d_warp_point (const TPSCoefficients3D< float > &, const SimTK::Vec< 3, float > &p, float linear_interpolant) |
| std::vector< SimTK::Vec< 3, float > > | tps3d_warp_points (const TPSCoefficients3D< float > &, std::span< const SimTK::Vec< 3, float > >, float linear_interpolant) |
| void | tps3d_warp_points_in_place (const TPSCoefficients3D< float > &, std::span< SimTK::Vec< 3, float > >, float linear_interpolant) |
| osc::Mesh | tps3d_warp_mesh (TPSCoefficients3D< float > &, const osc::Mesh &, float linear_interpolant) |
| void | show_hello_ui (OPynSimApp &, UiCallbacks={}) |
| void | show_model_in_state (OPynSimApp &, const Model &, const ModelState &, osc::Vector2 dimensions, osc::Color background_color, bool zoom_to_fit, bool draw_floor, UiCallbacks={}) |
| std::ostream & | operator<< (std::ostream &, const LandmarkPair3D< float > &) |
| std::ostream & | operator<< (std::ostream &, const LandmarkPair3D< double > &) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| size_t | size (const OpenSim::Set< T, C > &s) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| ptrdiff_t | ssize (const OpenSim::Set< T, C > &s) |
| template<typename T > | |
| size_t | size (const OpenSim::ArrayPtrs< T > &ary) |
| template<typename T > | |
| size_t | size (const OpenSim::Array< T > &ary) |
| template<typename T > | |
| size_t | size (const OpenSim::Property< T > &p) |
| template<typename T > | |
| const T * | begin (const OpenSim::Array< T > &ary) |
| template<typename T > | |
| T * | begin (OpenSim::Array< T > &ary) |
| template<typename T > | |
| const T * | end (const OpenSim::Array< T > &ary) |
| template<typename T > | |
| T * | end (OpenSim::Array< T > &ary) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| bool | empty (const OpenSim::Set< T, C > &s) |
| template<typename T > | |
| T & | At (OpenSim::ArrayPtrs< T > &ary, size_t pos) |
| template<typename T > | |
| const T & | At (const OpenSim::Array< T > &ary, size_t pos) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| const T & | At (const OpenSim::Set< T, C > &s, size_t pos) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| T & | At (OpenSim::Set< T, C > &s, size_t pos) |
| template<typename T > | |
| const T & | At (const OpenSim::Property< T > &p, size_t pos) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| bool | EraseAt (OpenSim::Set< T, C > &s, size_t i) |
| template<typename T > requires (std::strict_weak_order<std::ranges::less, T, T> and std::equality_comparable<T>) | |
| bool | IsAllElementsUnique (const OpenSim::Array< T > &v) |
| bool | IsConcreteClassNameLexicographicallyLowerThan (const OpenSim::Component &, const OpenSim::Component &) |
| template<osc::DereferencesTo< const OpenSim::Component & > ComponentPtrLike> | |
| bool | IsConcreteClassNameLexicographicallyLowerThan (const ComponentPtrLike &a, const ComponentPtrLike &b) |
| bool | IsNameLexographicallyLowerThan (const OpenSim::Component &, const OpenSim::Component &) |
| template<osc::DereferencesTo< const OpenSim::Component & > Ptr> | |
| bool | IsNameLexographicallyLowerThan (const Ptr &a, const Ptr &b) |
| template<osc::DereferencesTo< const OpenSim::Component & > Ptr> | |
| bool | IsNameLexographicallyGreaterThan (const Ptr &a, const Ptr &b) |
| OpenSim::Component * | UpdOwner (OpenSim::Component &root, const OpenSim::Component &) |
| OpenSim::Component & | UpdOwnerOrThrow (OpenSim::Component &root, const OpenSim::Component &) |
| template<std::derived_from< OpenSim::Component > T> | |
| T & | UpdOwnerOrThrow (OpenSim::Component &root, const OpenSim::Component &c) |
| template<std::derived_from< OpenSim::Component > T> | |
| T * | UpdOwner (OpenSim::Component &root, const OpenSim::Component &c) |
| const OpenSim::Component & | GetOwnerOrThrow (const OpenSim::AbstractOutput &) |
| const OpenSim::Component & | GetOwnerOrThrow (const OpenSim::Component &) |
| const OpenSim::Component & | GetOwnerOr (const OpenSim::Component &, const OpenSim::Component &fallback) |
| const OpenSim::Component * | GetOwner (const OpenSim::Component &) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | GetOwner (const OpenSim::Component &c) |
| template<std::derived_from< OpenSim::Component > T> | |
| bool | OwnerIs (const OpenSim::Component &c) |
| std::optional< std::string > | TryGetOwnerName (const OpenSim::Component &) |
| size_t | DistanceFromRoot (const OpenSim::Component &) |
| OpenSim::ComponentPath | GetRootComponentPath () |
| bool | IsEmpty (const OpenSim::ComponentPath &) |
| void | Clear (OpenSim::ComponentPath &) |
| std::vector< const OpenSim::Component * > | GetPathElements (const OpenSim::Component &) |
| void | ForEachComponent (const OpenSim::Component &, const std::function< void(const OpenSim::Component &)> &) |
| void | ForEachComponentInclusive (const OpenSim::Component &, const std::function< void(const OpenSim::Component &)> &) |
| template<std::derived_from< OpenSim::Component > T> | |
| size_t | GetNumChildren (const OpenSim::Component &c) |
| size_t | GetNumChildren (const OpenSim::Component &) |
| bool | IsInclusiveChildOf (const OpenSim::Component *parent, const OpenSim::Component *c) |
| const OpenSim::Component * | IsInclusiveChildOf (std::span< const OpenSim::Component * > parents, const OpenSim::Component *c) |
| const OpenSim::Component * | FindFirstAncestorInclusive (const OpenSim::Component *, bool(*pred)(const OpenSim::Component *)) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | FindAncestorWithType (const OpenSim::Component *c) |
| template<std::derived_from< OpenSim::Component > T> | |
| bool | IsChildOfA (const OpenSim::Component &c) |
| const OpenSim::Component * | FindFirstDescendentInclusive (const OpenSim::Component &component, bool(*predicate)(const OpenSim::Component &)) |
| const OpenSim::Component * | FindFirstDescendent (const OpenSim::Component &component, bool(*predicate)(const OpenSim::Component &)) |
| OpenSim::Component * | FindFirstDescendentMut (OpenSim::Component &component, bool(*predicate)(const OpenSim::Component &)) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | FindFirstDescendentOfType (const OpenSim::Component &c) |
| template<std::derived_from< OpenSim::Component > T> | |
| T * | FindFirstDescendentOfTypeMut (OpenSim::Component &c) |
| std::vector< const OpenSim::Coordinate * > | GetCoordinatesInModel (const OpenSim::Model &) |
| void | GetCoordinatesInModel (const OpenSim::Model &, std::vector< const OpenSim::Coordinate * > &) |
| std::vector< OpenSim::Coordinate * > | UpdDefaultLockedCoordinatesInModel (OpenSim::Model &) |
| float | ConvertCoordValueToDisplayValue (const OpenSim::Coordinate &, double v) |
| double | ConvertCoordDisplayValueToStorageValue (const OpenSim::Coordinate &, float v) |
| osc::CStringView | GetCoordDisplayValueUnitsString (const OpenSim::Coordinate &) |
| std::vector< std::string > | GetSocketNames (const OpenSim::Component &) |
| std::vector< const OpenSim::AbstractSocket * > | GetAllSockets (const OpenSim::Component &) |
| std::vector< OpenSim::AbstractSocket * > | UpdAllSockets (OpenSim::Component &) |
| void | WriteComponentTopologyGraphAsDotViz (const OpenSim::Component &, std::ostream &) |
| void | WriteModelMultibodySystemGraphAsDotViz (const OpenSim::Model &, std::ostream &) |
| const OpenSim::Component * | FindComponent (const OpenSim::Component &root, const OpenSim::ComponentPath &) |
| const OpenSim::Component * | FindComponent (const OpenSim::Model &, const std::string &absPath) |
| const OpenSim::Component * | FindComponent (const OpenSim::Model &, const osc::StringName &absPath) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | FindComponent (const OpenSim::Component &root, const OpenSim::ComponentPath &cp) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | FindComponent (const OpenSim::Model &root, const std::string &cp) |
| template<std::derived_from< OpenSim::Component > T> | |
| const T * | FindComponent (const OpenSim::Model &root, const osc::StringName &cp) |
| OpenSim::Component * | FindComponentMut (OpenSim::Component &root, const OpenSim::ComponentPath &) |
| template<std::derived_from< OpenSim::Component > T> | |
| T * | FindComponentMut (OpenSim::Component &root, const OpenSim::ComponentPath &cp) |
| bool | ContainsComponent (const OpenSim::Component &root, const OpenSim::ComponentPath &) |
| const OpenSim::AbstractSocket * | FindSocket (const OpenSim::Component &, const std::string &socketName) |
| OpenSim::AbstractSocket * | FindSocketMut (OpenSim::Component &, const std::string &socketName) |
| bool | IsConnectedTo (const OpenSim::AbstractSocket &, const OpenSim::Component &) |
| bool | IsAbleToConnectTo (const OpenSim::AbstractSocket &, const OpenSim::Component &) |
| void | RecursivelyReassignAllSockets (OpenSim::Component &root, const OpenSim::Component &from, const OpenSim::Component &to) |
| std::ostream & | operator<< (std::ostream &, const ComponentConnectionView &) |
| osc::cpp23::generator< ComponentConnectionView > | ForEachInboundConnection (const OpenSim::Component *root, const OpenSim::Component *c, std::function< bool(const OpenSim::Component &)> filter=[](const OpenSim::Component &){ return true;}) |
| OpenSim::AbstractProperty * | FindPropertyMut (OpenSim::Component &, const std::string &) |
| template<typename T > | |
| OpenSim::SimpleProperty< T > * | FindSimplePropertyMut (OpenSim::Component &c, const std::string &name) |
| const OpenSim::AbstractOutput * | FindOutput (const OpenSim::Component &, const std::string &outputName) |
| const OpenSim::AbstractOutput * | FindOutput (const OpenSim::Component &root, const OpenSim::ComponentPath &, const std::string &outputName) |
| bool | HasInputFileName (const OpenSim::Model &) |
| std::optional< std::filesystem::path > | TryFindInputFile (const OpenSim::Model &) |
| std::string | RecommendedDocumentName (const OpenSim::Model &) |
| std::optional< std::filesystem::path > | FindGeometryFileAbsPath (const OpenSim::Model &, const OpenSim::Mesh &) |
| std::string | GetMeshFileName (const OpenSim::Mesh &) |
| bool | ShouldShowInUI (const OpenSim::Component &) |
| bool | TryDeleteComponentFromModel (OpenSim::Model &, OpenSim::Component &) |
| void | CopyCommonJointProperties (const OpenSim::Joint &src, OpenSim::Joint &dest) |
| bool | DeactivateAllWrapObjectsIn (OpenSim::Model &) |
| bool | ActivateAllWrapObjectsIn (OpenSim::Model &) |
| std::vector< const OpenSim::WrapObject * > | GetAllWrapObjectsReferencedBy (const OpenSim::GeometryPath &) |
| bool | HasModelFileExtension (const std::filesystem::path &path) |
| std::unique_ptr< OpenSim::Model > | LoadModel (const std::filesystem::path &) |
| void | InitializeModel (OpenSim::Model &) |
| void | TryEquilibrateMusclesOrLogWarning (OpenSim::Model &, SimTK::State &) |
| SimTK::State & | InitializeState (OpenSim::Model &) |
| void | FinalizeFromProperties (OpenSim::Model &) |
| void | FinalizeConnections (OpenSim::Model &) |
| std::optional< size_t > | FindJointInParentJointSet (const OpenSim::Joint &) |
| std::string | GetDisplayName (const OpenSim::Geometry &) |
| osc::CStringView | GetMotionTypeDisplayName (const OpenSim::Coordinate &) |
| const OpenSim::Appearance * | TryGetAppearance (const OpenSim::Component &) |
| OpenSim::Appearance * | TryUpdAppearance (OpenSim::Component &) |
| bool | TrySetAppearancePropertyIsVisibleTo (OpenSim::Component &, bool) |
| osc::Color | to_color (const OpenSim::Appearance &) |
| osc::Color | GetSuggestedBoneColor () |
| bool | IsShowingFrames (const OpenSim::Model &) |
| bool | ToggleShowingFrames (OpenSim::Model &) |
| bool | IsShowingMarkers (const OpenSim::Model &) |
| bool | ToggleShowingMarkers (OpenSim::Model &) |
| bool | IsShowingWrapGeometry (const OpenSim::Model &) |
| bool | ToggleShowingWrapGeometry (OpenSim::Model &) |
| bool | IsShowingContactGeometry (const OpenSim::Model &) |
| bool | IsShowingForces (const OpenSim::Model &) |
| bool | ToggleShowingContactGeometry (OpenSim::Model &) |
| bool | ToggleShowingForces (OpenSim::Model &) |
| void | GetAbsolutePathString (const OpenSim::Component &, std::string &) |
| std::string | GetAbsolutePathString (const OpenSim::Component &) |
| osc::StringName | GetAbsolutePathStringName (const OpenSim::Component &) |
| OpenSim::ComponentPath | GetAbsolutePath (const OpenSim::Component &) |
| OpenSim::ComponentPath | GetAbsolutePathOrEmpty (const OpenSim::Component *) |
| std::optional< LinesOfAction > | GetEffectiveLinesOfActionInGround (const OpenSim::Muscle &, const SimTK::State &) |
| std::optional< LinesOfAction > | GetAnatomicalLinesOfActionInGround (const OpenSim::Muscle &, const SimTK::State &) |
| std::optional< ForcePoint > | TryGetContactForceInGround (const OpenSim::Model &, const SimTK::State &, const OpenSim::HuntCrossleyForce &) |
| const OpenSim::PhysicalFrame & | GetFrameUsingExternalForceLookupHeuristic (const OpenSim::Model &, const std::string &bodyNameOrPath) |
| bool | CanExtractPointInfoFrom (const OpenSim::Component &, const SimTK::State &) |
| std::optional< PointInfo > | TryExtractPointInfo (const OpenSim::Component &, const SimTK::State &) |
| OpenSim::Component & | AddComponentToAppropriateSet (OpenSim::Model &, std::unique_ptr< OpenSim::Component >) |
| OpenSim::ModelComponent & | AddModelComponent (OpenSim::Model &, std::unique_ptr< OpenSim::ModelComponent > &&) |
| template<std::derived_from< OpenSim::ModelComponent > T> | |
| T & | AddModelComponent (OpenSim::Model &model, std::unique_ptr< T > p) |
| template<std::derived_from< OpenSim::ModelComponent > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AddModelComponent (OpenSim::Model &model, Args &&... args) |
| OpenSim::Component & | AddComponent (OpenSim::Component &, std::unique_ptr< OpenSim::Component > &&) |
| template<std::derived_from< OpenSim::Component > T> | |
| T & | AddComponent (OpenSim::Component &c, std::unique_ptr< T > p) |
| template<std::derived_from< OpenSim::Component > T> | |
| T & | AddComponent (OpenSim::Component &host) |
| template<std::derived_from< OpenSim::Component > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AddComponent (OpenSim::Component &host, Args &&...args) |
| OpenSim::Body & | AddBody (OpenSim::Model &, std::unique_ptr< OpenSim::Body >) |
| template<typename... Args> requires std::constructible_from<OpenSim::Body, Args&&...> | |
| OpenSim::Body & | AddBody (OpenSim::Model &model, Args &&... args) |
| OpenSim::Joint & | AddJoint (OpenSim::Model &, std::unique_ptr< OpenSim::Joint >) |
| template<std::derived_from< OpenSim::Joint > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AddJoint (OpenSim::Model &model, Args &&... args) |
| OpenSim::Constraint & | AddConstraint (OpenSim::Model &, std::unique_ptr< OpenSim::Constraint >) |
| template<std::derived_from< OpenSim::Constraint > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AddConstraint (OpenSim::Model &model, Args &&... args) |
| OpenSim::Marker & | AddMarker (OpenSim::Model &, std::unique_ptr< OpenSim::Marker >) |
| template<typename... Args> requires std::constructible_from<OpenSim::Marker, Args&&...> | |
| OpenSim::Marker & | AddMarker (OpenSim::Model &model, Args &&... args) |
| OpenSim::Geometry & | AttachGeometry (OpenSim::Frame &, std::unique_ptr< OpenSim::Geometry >) |
| template<std::derived_from< OpenSim::Geometry > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AttachGeometry (OpenSim::Frame &frame, Args &&... args) |
| void | OverwriteGeometry (OpenSim::Model &, OpenSim::Geometry &oldGeometry, std::unique_ptr< OpenSim::Geometry > newGeometry) |
| OpenSim::PhysicalOffsetFrame & | AddFrame (OpenSim::Joint &, std::unique_ptr< OpenSim::PhysicalOffsetFrame >) |
| OpenSim::WrapObject & | AddWrapObject (OpenSim::PhysicalFrame &, std::unique_ptr< OpenSim::WrapObject >) |
| template<std::derived_from< OpenSim::WrapObject > T, typename... Args> requires std::constructible_from<T, Args&&...> | |
| T & | AddWrapObject (OpenSim::PhysicalFrame &physFrame, Args &&... args) |
| template<ClonesToRawPointer T> | |
| std::unique_ptr< T > | Clone (const T &obj) |
| template<std::derived_from< OpenSim::Component > T> | |
| void | Append (OpenSim::ObjectProperty< T > &prop, const T &c) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| std::optional< size_t > | IndexOf (const OpenSim::Set< T, C > &set, const T &el) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< T > U, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| void | Append (OpenSim::Set< T, C > &set, std::unique_ptr< U > el) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< T > U, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| U & | Assign (OpenSim::Set< T, C > &set, size_t index, std::unique_ptr< U > el) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< T > U, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| U & | Assign (OpenSim::Set< T, C > &set, T &oldElement, std::unique_ptr< U > newElement) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< T > U, std::derived_from< OpenSim::Object > C = OpenSim::Object> | |
| U & | Assign (OpenSim::Set< T, C > &set, size_t index, const U &el) |
| template<std::derived_from< OpenSim::Object > T, std::derived_from< T > U, std::derived_from< OpenSim::Object > C> | |
| bool | TryDeleteItemFromSet (OpenSim::Set< T, C > &set, const U *item) |
| const OpenSim::PhysicalFrame * | TryGetParentToGroundFrame (const OpenSim::Component &) |
| std::optional< SimTK::Transform > | TryGetParentToGroundTransform (const OpenSim::Component &, const SimTK::State &) |
| std::optional< std::string > | TryGetPositionalPropertyName (const OpenSim::Component &) |
| std::optional< std::string > | TryGetOrientationalPropertyName (const OpenSim::Component &) |
| const OpenSim::Frame * | TryGetParentFrame (const OpenSim::Frame &) |
| std::optional< ComponentSpatialRepresentation > | TryGetSpatialRepresentation (const OpenSim::Component &, const SimTK::State &) |
| bool | IsValidOpenSimComponentNameCharacter (char) |
| std::string | SanitizeToOpenSimComponentName (std::string_view) |
| std::unique_ptr< OpenSim::Storage > | LoadStorage (const OpenSim::Model &, const std::filesystem::path &, const StorageLoadingParameters &={}) |
| StorageIndexToModelStateVarMappingResult | CreateStorageIndexToModelStatevarMapping (const OpenSim::Model &, const OpenSim::Storage &) |
| std::unordered_map< int, int > | CreateStorageIndexToModelStatevarMappingWithWarnings (const OpenSim::Model &, const OpenSim::Storage &) |
| void | UpdateStateVariablesFromStorageRow (OpenSim::Model &, SimTK::State &, const std::unordered_map< int, int > &columnIndexToModelStateVarIndex, const OpenSim::Storage &, int row) |
| void | UpdateStateFromStorageTime (OpenSim::Model &, SimTK::State &, const std::unordered_map< int, int > &columnIndexToModelStateVarIndex, const OpenSim::Storage &, double time) |
| std::string | WriteObjectXMLToString (const OpenSim::Object &) |
| void | ScaleModelMassPreserveMassDistribution (OpenSim::Model &model, const SimTK::State &state, double newMass) |
| osc::Sphere | fit_sphere_htbad (const osc::Mesh &) |
| osc::Plane | fit_plane_htbad (const osc::Mesh &) |
| osc::Ellipsoid | fit_ellipsoid_htbad (const osc::Mesh &) |
| ModelStateStage | to_opynsim_stage (SimTK::Stage) |
| SimTK::Stage | to_simbody_stage (ModelStateStage) |
| using opyn::ComponentOutputSubfields = typedef osc::Flags<ComponentOutputSubfield> |
| using opyn::DataPointTypeList = typedef osc::OptionList<DataPointType, DataPointType::Point, DataPointType::ForcePoint, DataPointType::BodyForce, DataPointType::Orientation, DataPointType::Unknown > |
| using opyn::OpenSimDecorationOptionFlags = typedef osc::Flags<OpenSimDecorationOptionFlag> |
| using opyn::OutputExtractorDataTypeList = typedef osc::OptionList<OutputExtractorDataType, OutputExtractorDataType::Float, OutputExtractorDataType::Vector2, OutputExtractorDataType::String > |
| using opyn::OutputValue = typedef osc::VariantOfTypelistElements<SupportedOutputValueTypes> |
| using opyn::ScalingParameterValue = typedef double |
| using opyn::SubfieldExtractorFunc = typedef double(*)(const OpenSim::AbstractOutput&, const SimTK::State&) |
| using opyn::SupportedOutputValueTypes = typedef osc::Typelist< double, osc::Vector3d > |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| bool opyn::ActivateAllWrapObjectsIn | ( | OpenSim::Model & | ) |
| OpenSim::Body & opyn::AddBody | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::Body > | |||
| ) |
| OpenSim::Body & opyn::AddBody | ( | OpenSim::Model & | model, |
| Args &&... | args | ||
| ) |
| OpenSim::Component & opyn::AddComponent | ( | OpenSim::Component & | , |
| std::unique_ptr< OpenSim::Component > && | |||
| ) |
| T & opyn::AddComponent | ( | OpenSim::Component & | c, |
| std::unique_ptr< T > | p | ||
| ) |
| T & opyn::AddComponent | ( | OpenSim::Component & | host | ) |
| T & opyn::AddComponent | ( | OpenSim::Component & | host, |
| Args &&... | args | ||
| ) |
| OpenSim::Component & opyn::AddComponentToAppropriateSet | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::Component > | |||
| ) |
| OpenSim::Constraint & opyn::AddConstraint | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::Constraint > | |||
| ) |
| T & opyn::AddConstraint | ( | OpenSim::Model & | model, |
| Args &&... | args | ||
| ) |
| OpenSim::PhysicalOffsetFrame & opyn::AddFrame | ( | OpenSim::Joint & | , |
| std::unique_ptr< OpenSim::PhysicalOffsetFrame > | |||
| ) |
| OpenSim::Joint & opyn::AddJoint | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::Joint > | |||
| ) |
| T & opyn::AddJoint | ( | OpenSim::Model & | model, |
| Args &&... | args | ||
| ) |
| OpenSim::Marker & opyn::AddMarker | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::Marker > | |||
| ) |
| OpenSim::Marker & opyn::AddMarker | ( | OpenSim::Model & | model, |
| Args &&... | args | ||
| ) |
| OpenSim::ModelComponent & opyn::AddModelComponent | ( | OpenSim::Model & | , |
| std::unique_ptr< OpenSim::ModelComponent > && | |||
| ) |
| T & opyn::AddModelComponent | ( | OpenSim::Model & | model, |
| Args &&... | args | ||
| ) |
| T & opyn::AddModelComponent | ( | OpenSim::Model & | model, |
| std::unique_ptr< T > | p | ||
| ) |
| OpenSim::WrapObject & opyn::AddWrapObject | ( | OpenSim::PhysicalFrame & | , |
| std::unique_ptr< OpenSim::WrapObject > | |||
| ) |
| T & opyn::AddWrapObject | ( | OpenSim::PhysicalFrame & | physFrame, |
| Args &&... | args | ||
| ) |
| void opyn::Append | ( | OpenSim::ObjectProperty< T > & | prop, |
| const T & | c | ||
| ) |
| void opyn::Append | ( | OpenSim::Set< T, C > & | set, |
| std::unique_ptr< U > | el | ||
| ) |
| void opyn::append_search_path | ( | std::filesystem::path | search_path | ) |
Appends search_path to the end (lowest-priority) of the global search path sequence (see get_search_paths).
search_path is already exists in the search path sequence, it is moved to the end of the sequence.search_path does not need to exist on the filesystem. | U & opyn::Assign | ( | OpenSim::Set< T, C > & | set, |
| size_t | index, | ||
| const U & | el | ||
| ) |
| U & opyn::Assign | ( | OpenSim::Set< T, C > & | set, |
| size_t | index, | ||
| std::unique_ptr< U > | el | ||
| ) |
| U & opyn::Assign | ( | OpenSim::Set< T, C > & | set, |
| T & | oldElement, | ||
| std::unique_ptr< U > | newElement | ||
| ) |
| void opyn::AssignIndexedVerts | ( | SimTK::PolygonalMesh & | , |
| std::span< const osc::Vector3 > | , | ||
| osc::MeshIndicesView | |||
| ) |
| const ComponentRegistryEntry< T > & opyn::At | ( | const ComponentRegistry< T > & | registry, |
| size_t | i | ||
| ) |
| const T & opyn::At | ( | const OpenSim::Array< T > & | ary, |
| size_t | pos | ||
| ) |
| const T & opyn::At | ( | const OpenSim::Property< T > & | p, |
| size_t | pos | ||
| ) |
| const T & opyn::At | ( | const OpenSim::Set< T, C > & | s, |
| size_t | pos | ||
| ) |
| T & opyn::At | ( | OpenSim::ArrayPtrs< T > & | ary, |
| size_t | pos | ||
| ) |
| T & opyn::At | ( | OpenSim::Set< T, C > & | s, |
| size_t | pos | ||
| ) |
| OpenSim::Geometry & opyn::AttachGeometry | ( | OpenSim::Frame & | , |
| std::unique_ptr< OpenSim::Geometry > | |||
| ) |
| T & opyn::AttachGeometry | ( | OpenSim::Frame & | frame, |
| Args &&... | args | ||
| ) |
| const T * opyn::begin | ( | const OpenSim::Array< T > & | ary | ) |
| T * opyn::begin | ( | OpenSim::Array< T > & | ary | ) |
| osc::SceneRendererParams opyn::CalcSceneRendererParams | ( | const ModelRendererParams & | , |
| osc::Vector2 | viewportDims, | ||
| float | viewportDevicePixelRatio, | ||
| osc::AntiAliasingLevel | , | ||
| float | fixupScaleFactor | ||
| ) |
| bool opyn::CanExtractPointInfoFrom | ( | const OpenSim::Component & | , |
| const SimTK::State & | |||
| ) |
| void opyn::Clear | ( | OpenSim::ComponentPath & | ) |
| std::unique_ptr< T > opyn::Clone | ( | const T & | obj | ) |
| bool opyn::ContainsComponent | ( | const OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | |||
| ) |
| double opyn::ConvertCoordDisplayValueToStorageValue | ( | const OpenSim::Coordinate & | , |
| float | v | ||
| ) |
| float opyn::ConvertCoordValueToDisplayValue | ( | const OpenSim::Coordinate & | , |
| double | v | ||
| ) |
| void opyn::CopyCommonJointProperties | ( | const OpenSim::Joint & | src, |
| OpenSim::Joint & | dest | ||
| ) |
| StorageIndexToModelStateVarMappingResult opyn::CreateStorageIndexToModelStatevarMapping | ( | const OpenSim::Model & | , |
| const OpenSim::Storage & | |||
| ) |
| std::unordered_map< int, int > opyn::CreateStorageIndexToModelStatevarMappingWithWarnings | ( | const OpenSim::Model & | , |
| const OpenSim::Storage & | |||
| ) |
|
constexpr |
| bool opyn::DeactivateAllWrapObjectsIn | ( | OpenSim::Model & | ) |
| size_t opyn::DistanceFromRoot | ( | const OpenSim::Component & | ) |
| bool opyn::empty | ( | const OpenSim::Set< T, C > & | s | ) |
| const T * opyn::end | ( | const OpenSim::Array< T > & | ary | ) |
| T * opyn::end | ( | OpenSim::Array< T > & | ary | ) |
| bool opyn::EraseAt | ( | OpenSim::Set< T, C > & | s, |
| size_t | i | ||
| ) |
| std::vector< double > opyn::extractDataPoint | ( | double | time, |
| const OpenSim::Storage & | , | ||
| const DataSeriesAnnotation & | |||
| ) |
| void opyn::FinalizeConnections | ( | OpenSim::Model & | ) |
| void opyn::FinalizeFromProperties | ( | OpenSim::Model & | ) |
| const T * opyn::FindAncestorWithType | ( | const OpenSim::Component * | c | ) |
| const OpenSim::Component * opyn::FindComponent | ( | const OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | |||
| ) |
| const T * opyn::FindComponent | ( | const OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | cp | ||
| ) |
| const OpenSim::Component * opyn::FindComponent | ( | const OpenSim::Model & | , |
| const osc::StringName & | absPath | ||
| ) |
| const OpenSim::Component * opyn::FindComponent | ( | const OpenSim::Model & | , |
| const std::string & | absPath | ||
| ) |
| const T * opyn::FindComponent | ( | const OpenSim::Model & | root, |
| const osc::StringName & | cp | ||
| ) |
| const T * opyn::FindComponent | ( | const OpenSim::Model & | root, |
| const std::string & | cp | ||
| ) |
| OpenSim::Component * opyn::FindComponentMut | ( | OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | |||
| ) |
| T * opyn::FindComponentMut | ( | OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | cp | ||
| ) |
| const OpenSim::Component * opyn::FindFirstAncestorInclusive | ( | const OpenSim::Component * | , |
| bool(*)(const OpenSim::Component *) | pred | ||
| ) |
| const OpenSim::Component * opyn::FindFirstDescendent | ( | const OpenSim::Component & | component, |
| bool(*)(const OpenSim::Component &) | predicate | ||
| ) |
| const OpenSim::Component * opyn::FindFirstDescendentInclusive | ( | const OpenSim::Component & | component, |
| bool(*)(const OpenSim::Component &) | predicate | ||
| ) |
| OpenSim::Component * opyn::FindFirstDescendentMut | ( | OpenSim::Component & | component, |
| bool(*)(const OpenSim::Component &) | predicate | ||
| ) |
| const T * opyn::FindFirstDescendentOfType | ( | const OpenSim::Component & | c | ) |
| T * opyn::FindFirstDescendentOfTypeMut | ( | OpenSim::Component & | c | ) |
| std::optional< std::filesystem::path > opyn::FindGeometryFileAbsPath | ( | const OpenSim::Model & | , |
| const OpenSim::Mesh & | |||
| ) |
| std::optional< size_t > opyn::FindJointInParentJointSet | ( | const OpenSim::Joint & | ) |
| const OpenSim::AbstractOutput * opyn::FindOutput | ( | const OpenSim::Component & | , |
| const std::string & | outputName | ||
| ) |
| const OpenSim::AbstractOutput * opyn::FindOutput | ( | const OpenSim::Component & | root, |
| const OpenSim::ComponentPath & | , | ||
| const std::string & | outputName | ||
| ) |
| OpenSim::AbstractProperty * opyn::FindPropertyMut | ( | OpenSim::Component & | , |
| const std::string & | |||
| ) |
| OpenSim::SimpleProperty< T > * opyn::FindSimplePropertyMut | ( | OpenSim::Component & | c, |
| const std::string & | name | ||
| ) |
| const OpenSim::AbstractSocket * opyn::FindSocket | ( | const OpenSim::Component & | , |
| const std::string & | socketName | ||
| ) |
| OpenSim::AbstractSocket * opyn::FindSocketMut | ( | OpenSim::Component & | , |
| const std::string & | socketName | ||
| ) |
| osc::Ellipsoid opyn::fit_ellipsoid_htbad | ( | const osc::Mesh & | ) |
| osc::Plane opyn::fit_plane_htbad | ( | const osc::Mesh & | ) |
| osc::Sphere opyn::fit_sphere_htbad | ( | const osc::Mesh & | ) |
| void opyn::ForEachComponent | ( | const OpenSim::Component & | , |
| const std::function< void(const OpenSim::Component &)> & | |||
| ) |
| void opyn::ForEachComponentInclusive | ( | const OpenSim::Component & | , |
| const std::function< void(const OpenSim::Component &)> & | |||
| ) |
| osc::cpp23::generator< ComponentConnectionView > opyn::ForEachInboundConnection | ( | const OpenSim::Component * | root, |
| const OpenSim::Component * | c, | ||
| std::function< bool(const OpenSim::Component &)> | filter = [](const OpenSim::Component &){ return true;} |
||
| ) |
| void opyn::generateDecorations | ( | double | time, |
| const OpenSim::Storage & | , | ||
| const DataSeriesAnnotation & | , | ||
| SimTK::Array_< SimTK::DecorativeGeometry, unsigned > & | out | ||
| ) |
| void opyn::GenerateDecorations | ( | osc::SceneCache & | , |
| const ModelStatePair & | , | ||
| const OpenSimDecorationOptions & | , | ||
| const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> & | out | ||
| ) |
| void opyn::GenerateDecorations | ( | osc::SceneCache & | , |
| const SimTK::SimbodyMatterSubsystem & | , | ||
| const SimTK::State & | , | ||
| const SimTK::DecorativeGeometry & | , | ||
| float | fixupScaleFactor, | ||
| const std::function< void(osc::SceneDecoration &&)> & | out | ||
| ) |
| std::vector< osc::SceneDecoration > opyn::GenerateModelDecorations | ( | osc::SceneCache & | , |
| const ModelStatePair & | , | ||
| const OpenSimDecorationOptions & | = {}, |
||
| float | fixupScaleFactor = 1.0f |
||
| ) |
| void opyn::GenerateModelDecorations | ( | osc::SceneCache & | , |
| const OpenSim::Model & | , | ||
| const SimTK::State & | , | ||
| const OpenSimDecorationOptions & | , | ||
| float | fixupScaleFactor, | ||
| const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> & | out | ||
| ) |
| std::vector< osc::SceneDecoration > opyn::GenerateModelDecorations | ( | osc::SceneCache & | , |
| const OpenSim::Model & | , | ||
| const SimTK::State & | , | ||
| const OpenSimDecorationOptions & | = {}, |
||
| float | fixupScaleFactor = 1.0f |
||
| ) |
| std::vector< NamedLandmark > opyn::GenerateNames | ( | std::span< const Landmark > | , |
| std::string_view | prefix = "unnamed_" |
||
| ) |
| void opyn::GenerateOverlayDecorations | ( | osc::SceneCache & | , |
| const OverlayDecorationOptions & | , | ||
| const osc::BVH & | sceneBVH, | ||
| float | fixupScaleFactor, | ||
| const std::function< void(osc::SceneDecoration &&)> & | out | ||
| ) |
| void opyn::GenerateSubcomponentDecorations | ( | osc::SceneCache & | , |
| const OpenSim::Model & | , | ||
| const SimTK::State & | , | ||
| const OpenSim::Component & | subcomponent, | ||
| const OpenSimDecorationOptions & | , | ||
| float | fixupScaleFactor, | ||
| const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> & | out, | ||
| bool | inclusiveOfProvidedSubcomponent = true |
||
| ) |
| const ComponentRegistryEntry< T > & opyn::Get | ( | ComponentRegistry< T > const & | registry, |
| const T & | el | ||
| ) |
| const ComponentRegistryEntry< T > & opyn::Get | ( | const ComponentRegistry< T > & | registry, |
| std::string_view | componentClassName | ||
| ) |
| osc::LogLevel opyn::get_log_level | ( | ) |
Returns the logging level of the default global log sink that's used by all subsystems.
| std::vector< std::filesystem::path > opyn::get_search_paths | ( | ) |
Returns the global search paths that OPynSim uses to resolve relative resource paths (e.g. mesh files) in high-to-low priority order.
When resolving path, each attempt is resolved as base_directory / search_path / path, where base_directory is context-dependent (e.g. loading a resource referenced in a file would use the file's directory as a base). Absolute search paths overrule the base directory (same as std::filesystem::path::append).
| OpenSim::ComponentPath opyn::GetAbsolutePath | ( | const OpenSim::Component & | ) |
| OpenSim::ComponentPath opyn::GetAbsolutePathOrEmpty | ( | const OpenSim::Component * | ) |
| std::string opyn::GetAbsolutePathString | ( | const OpenSim::Component & | ) |
| void opyn::GetAbsolutePathString | ( | const OpenSim::Component & | , |
| std::string & | |||
| ) |
| osc::StringName opyn::GetAbsolutePathStringName | ( | const OpenSim::Component & | ) |
| std::span< const CustomRenderingOptionFlagsMetadata > opyn::GetAllCustomRenderingOptionFlagsMetadata | ( | ) |
| std::span< const MuscleDecorationStyleMetadata > opyn::GetAllMuscleDecorationStyleMetadata | ( | ) |
| std::span< const MuscleSizingStyleMetadata > opyn::GetAllMuscleSizingStyleMetadata | ( | ) |
| std::span< const OverlayDecorationOptionFlagsMetadata > opyn::GetAllOverlayDecorationOptionFlagsMetadata | ( | ) |
| std::span< const MuscleColorSourceMetadata > opyn::GetAllPossibleMuscleColoringSourcesMetadata | ( | ) |
| std::span< const MuscleColorSourceScalingMetadata > opyn::GetAllPossibleMuscleColorSourceScalingMetadata | ( | ) |
| const ComponentRegistry< OpenSim::Component > & opyn::GetAllRegisteredComponents | ( | ) |
| std::vector< const OpenSim::AbstractSocket * > opyn::GetAllSockets | ( | const OpenSim::Component & | ) |
| std::span< const ComponentOutputSubfield > opyn::GetAllSupportedOutputSubfields | ( | ) |
| std::vector< const OpenSim::WrapObject * > opyn::GetAllWrapObjectsReferencedBy | ( | const OpenSim::GeometryPath & | ) |
| std::optional< LinesOfAction > opyn::GetAnatomicalLinesOfActionInGround | ( | const OpenSim::Muscle & | , |
| const SimTK::State & | |||
| ) |
| std::optional< osc::SceneCollision > opyn::GetClosestCollision | ( | const osc::BVH & | sceneBVH, |
| osc::SceneCache & | , | ||
| std::span< const osc::SceneDecoration > | taggedDrawlist, | ||
| const osc::PolarPerspectiveCamera & | , | ||
| osc::Vector2 | mouseScreenPosition, | ||
| const osc::Rect & | viewportScreenRect | ||
| ) |
| const ComponentRegistry< T > & opyn::GetComponentRegistry | ( | ) |
| osc::CStringView opyn::GetCoordDisplayValueUnitsString | ( | const OpenSim::Coordinate & | ) |
| std::vector< const OpenSim::Coordinate * > opyn::GetCoordinatesInModel | ( | const OpenSim::Model & | ) |
| void opyn::GetCoordinatesInModel | ( | const OpenSim::Model & | , |
| std::vector< const OpenSim::Coordinate * > & | |||
| ) |
| const ComponentRegistry< OpenSim::Component > & opyn::GetCustomComponentRegistry | ( | ) |
| std::string opyn::GetDisplayName | ( | const OpenSim::Geometry & | ) |
| std::optional< LinesOfAction > opyn::GetEffectiveLinesOfActionInGround | ( | const OpenSim::Muscle & | , |
| const SimTK::State & | |||
| ) |
| SubfieldExtractorFunc opyn::GetExtractorFuncOrNull | ( | const OpenSim::AbstractOutput & | , |
| ComponentOutputSubfield | |||
| ) |
| const OpenSim::PhysicalFrame & opyn::GetFrameUsingExternalForceLookupHeuristic | ( | const OpenSim::Model & | , |
| const std::string & | bodyNameOrPath | ||
| ) |
| ptrdiff_t opyn::GetIndexOf | ( | MuscleColorSource | ) |
| ptrdiff_t opyn::GetIndexOf | ( | MuscleColorSourceScaling | ) |
| ptrdiff_t opyn::GetIndexOf | ( | MuscleDecorationStyle | ) |
| ptrdiff_t opyn::GetIndexOf | ( | MuscleSizingStyle | ) |
| const IntegratorOutputExtractor & opyn::GetIntegratorOutputExtractor | ( | int | idx | ) |
| SharedOutputExtractor opyn::GetIntegratorOutputExtractorDynamic | ( | int | idx | ) |
| OpenSimDecorationOptionFlag opyn::GetIthOption | ( | size_t | ) |
| const OpenSimDecorationOptionMetadata & opyn::GetIthOptionMetadata | ( | size_t | ) |
| osc::CStringView opyn::getLabel | ( | OverlayDecorationOptionGroup | ) |
| std::string opyn::GetMeshFileName | ( | const OpenSim::Mesh & | ) |
| osc::CStringView opyn::GetMotionTypeDisplayName | ( | const OpenSim::Coordinate & | ) |
| const MultiBodySystemOutputExtractor & opyn::GetMultiBodySystemOutputExtractor | ( | int | idx | ) |
| SharedOutputExtractor opyn::GetMultiBodySystemOutputExtractorDynamic | ( | int | idx | ) |
| const MuscleColorSourceMetadata & opyn::GetMuscleColoringStyleMetadata | ( | MuscleColorSource | ) |
| const MuscleColorSourceScalingMetadata & opyn::GetMuscleColorSourceScalingMetadata | ( | MuscleColorSourceScaling | ) |
| const MuscleDecorationStyleMetadata & opyn::GetMuscleDecorationStyleMetadata | ( | MuscleDecorationStyle | ) |
| const MuscleSizingStyleMetadata & opyn::GetMuscleSizingStyleMetadata | ( | MuscleSizingStyle | ) |
| size_t opyn::GetNumChildren | ( | const OpenSim::Component & | ) |
| size_t opyn::GetNumChildren | ( | const OpenSim::Component & | c | ) |
| int opyn::GetNumIntegratorOutputExtractors | ( | ) |
| int opyn::GetNumMultiBodySystemOutputExtractors | ( | ) |
| std::optional< osc::CStringView > opyn::GetOutputSubfieldLabel | ( | ComponentOutputSubfield | ) |
| const OpenSim::Component * opyn::GetOwner | ( | const OpenSim::Component & | ) |
| const T * opyn::GetOwner | ( | const OpenSim::Component & | c | ) |
| const OpenSim::Component & opyn::GetOwnerOr | ( | const OpenSim::Component & | , |
| const OpenSim::Component & | fallback | ||
| ) |
| const OpenSim::Component & opyn::GetOwnerOrThrow | ( | const OpenSim::AbstractOutput & | ) |
| const OpenSim::Component & opyn::GetOwnerOrThrow | ( | const OpenSim::Component & | ) |
| std::vector< const OpenSim::Component * > opyn::GetPathElements | ( | const OpenSim::Component & | ) |
| float opyn::GetRecommendedScaleFactor | ( | osc::SceneCache & | , |
| const OpenSim::Model & | , | ||
| const SimTK::State & | , | ||
| const OpenSimDecorationOptions & | |||
| ) |
| OpenSim::ComponentPath opyn::GetRootComponentPath | ( | ) |
| const auto & opyn::getScalingStepPrototypes | ( | ) |
| std::vector< std::string > opyn::GetSocketNames | ( | const OpenSim::Component & | ) |
| osc::Color opyn::GetSuggestedBoneColor | ( | ) |
| std::span< const std::string_view > opyn::GetSupportedSimTKMeshFormats | ( | ) |
| std::span< const osc::FileDialogFilter > opyn::GetSupportedSimTKMeshFormatsAsFilters | ( | ) |
| ComponentOutputSubfields opyn::GetSupportedSubfields | ( | const OpenSim::AbstractOutput & | ) |
| bool opyn::HasInputFileName | ( | const OpenSim::Model & | ) |
| bool opyn::HasModelFileExtension | ( | const std::filesystem::path & | path | ) |
| std::optional< size_t > opyn::IndexOf | ( | const ComponentRegistryBase & | , |
| const OpenSim::Component & | |||
| ) |
| std::optional< size_t > opyn::IndexOf | ( | const ComponentRegistryBase & | , |
| std::string_view | componentClassName | ||
| ) |
| std::optional< size_t > opyn::IndexOf | ( | const ComponentRegistryBase & | registry | ) |
| std::optional< size_t > opyn::IndexOf | ( | const OpenSim::Set< T, C > & | set, |
| const T & | el | ||
| ) |
| bool opyn::init | ( | ) |
| void opyn::InitializeModel | ( | OpenSim::Model & | ) |
| SimTK::State & opyn::InitializeState | ( | OpenSim::Model & | ) |
|
constexpr |
| bool opyn::IsAbleToConnectTo | ( | const OpenSim::AbstractSocket & | , |
| const OpenSim::Component & | |||
| ) |
| bool opyn::IsAllElementsUnique | ( | const OpenSim::Array< T > & | v | ) |
| bool opyn::IsChildOfA | ( | const OpenSim::Component & | c | ) |
| bool opyn::IsConcreteClassNameLexicographicallyLowerThan | ( | const ComponentPtrLike & | a, |
| const ComponentPtrLike & | b | ||
| ) |
| bool opyn::IsConcreteClassNameLexicographicallyLowerThan | ( | const OpenSim::Component & | , |
| const OpenSim::Component & | |||
| ) |
| bool opyn::IsConnectedTo | ( | const OpenSim::AbstractSocket & | , |
| const OpenSim::Component & | |||
| ) |
| bool opyn::IsEmpty | ( | const OpenSim::ComponentPath & | ) |
| bool opyn::IsInclusiveChildOf | ( | const OpenSim::Component * | parent, |
| const OpenSim::Component * | c | ||
| ) |
| const OpenSim::Component * opyn::IsInclusiveChildOf | ( | std::span< const OpenSim::Component * > | parents, |
| const OpenSim::Component * | c | ||
| ) |
| bool opyn::IsNameLexographicallyGreaterThan | ( | const Ptr & | a, |
| const Ptr & | b | ||
| ) |
| bool opyn::IsNameLexographicallyLowerThan | ( | const OpenSim::Component & | , |
| const OpenSim::Component & | |||
| ) |
| bool opyn::IsNameLexographicallyLowerThan | ( | const Ptr & | a, |
| const Ptr & | b | ||
| ) |
| bool opyn::IsShowingContactGeometry | ( | const OpenSim::Model & | ) |
| bool opyn::IsShowingForces | ( | const OpenSim::Model & | ) |
| bool opyn::IsShowingFrames | ( | const OpenSim::Model & | ) |
| bool opyn::IsShowingMarkers | ( | const OpenSim::Model & | ) |
| bool opyn::IsShowingWrapGeometry | ( | const OpenSim::Model & | ) |
| bool opyn::IsValidOpenSimComponentNameCharacter | ( | char | ) |
|
constexpr |
| osc::CStringView opyn::label_for | ( | const IntegratorMethod & | integrator_method | ) |
Returns a human-readable label (no decorations) for integrator_method.
|
constexpr |
| osc::Mesh opyn::LoadMeshViaSimbody | ( | const std::filesystem::path & | ) |
| std::unique_ptr< OpenSim::Model > opyn::LoadModel | ( | const std::filesystem::path & | ) |
| std::unique_ptr< OpenSim::Storage > opyn::LoadStorage | ( | const OpenSim::Model & | , |
| const std::filesystem::path & | , | ||
| const StorageLoadingParameters & | = {} |
||
| ) |
| SharedOutputExtractor opyn::make_output_extractor | ( | Args &&... | args | ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Returns a new Series with the same name as lhs, but with each of its data values multiplied by rhs.
Returns a new Series with the same name as rhs, but with each of its data values multiplied by lhs.
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const ComponentConnectionView & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const LandmarkPair3D< double > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const LandmarkPair3D< float > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const SharedOutputExtractor & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSCoefficients3D< double > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSCoefficients3D< float > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSCoefficientSolverInputs3D< double > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSCoefficientSolverInputs3D< float > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSNonAffineTerm3D< double > & | |||
| ) |
| std::ostream & opyn::operator<< | ( | std::ostream & | , |
| const TPSNonAffineTerm3D< float > & | |||
| ) |
|
inline |
Writes "Symbol(\"{symbol.name()}\")" to ostream.
| std::ostream & opyn::operator<< | ( | std::ostream & | out, |
| const DataFrame & | data_frame | ||
| ) |
Writes a pretty-printed representation of data_frame to out.
Returns true all members of lhs compare equivalent to rhs.
Note: This operator confirms to IEEE 754 and C++'s regular type invariants, which means identity checks are non-reflexive for special values. Therefore, if either lhs or rhs contains NaN, this operator will return false.
|
constexpr |
| void opyn::OverwriteGeometry | ( | OpenSim::Model & | , |
| OpenSim::Geometry & | oldGeometry, | ||
| std::unique_ptr< OpenSim::Geometry > | newGeometry | ||
| ) |
| bool opyn::OwnerIs | ( | const OpenSim::Component & | c | ) |
| void opyn::prepend_search_path | ( | std::filesystem::path | search_path | ) |
Prepends search_path to the start (highest-priority) of the global search path sequence (see get_search_paths).
search_path is already exists in the search path sequence, it is moved to the start of the sequence.search_path does not need to exist on the filesystem. | bool opyn::ProducesExtractableNumericValues | ( | const OpenSim::AbstractOutput & | ) |
| DataFrame opyn::read_csv | ( | const std::filesystem::path & | source | ) |
Returns a DataFrame parsed from source, throws if there's an IO or data validation error.
| osc::Texture2D opyn::read_jpeg | ( | const std::filesystem::path & | source | ) |
Returns a Texture2D parsed from source, throws if there's an IO or data validation error.
| osc::Texture2D opyn::read_jpg | ( | const std::filesystem::path & | source | ) |
An alias for read_jpeg.
| DataFrame opyn::read_mot | ( | const std::filesystem::path & | source | ) |
Returns a DataFrame parsed from source, throws if there's an IO or data validation error.
| osc::Mesh opyn::read_obj | ( | const std::filesystem::path & | source | ) |
Returns a Mesh parsed from source, throws if there's an IO or data validation error.
| ModelSpecification opyn::read_osim | ( | const std::filesystem::path & | source | ) |
Returns a ModelSpecification parsed from source, throws if there's an IO or data validation error.
| osc::Texture2D opyn::read_png | ( | const std::filesystem::path & | source | ) |
Returns a Texture2D parsed from source, throws if there's an IO or data validation error.
| osc::Mesh opyn::read_stl | ( | const std::filesystem::path & | source | ) |
Returns a Mesh parsed from source, throws if there's an IO or data validation error.
| DataFrame opyn::read_sto | ( | const std::filesystem::path & | source | ) |
Returns a DataFrame parsed from source, throws if there's an IO or data validation error.
| DataFrame opyn::read_trc | ( | const std::filesystem::path & | source | ) |
Returns a DataFrame parsed from source, throws if there's an IO or data validation error.
| osc::Mesh opyn::read_vtp | ( | const std::filesystem::path & | source | ) |
Returns a Mesh parsed from source, throws if there's an IO or data validation error.
| void opyn::ReadLandmarksFromCSV | ( | std::istream & | , |
| const std::function< void(Landmark &&)> & | landmarkConsumer, | ||
| const std::function< void(CSVParseWarning)> & | warningConsumer = [](auto){} |
||
| ) |
| std::vector< Landmark > opyn::ReadLandmarksFromCSVIntoVectorOrThrow | ( | const std::filesystem::path & | ) |
| std::string opyn::RecommendedDocumentName | ( | const OpenSim::Model & | ) |
| void opyn::RecursivelyReassignAllSockets | ( | OpenSim::Component & | root, |
| const OpenSim::Component & | from, | ||
| const OpenSim::Component & | to | ||
| ) |
| bool opyn::remove_search_path | ( | const std::filesystem::path & | search_path | ) |
Returns true if search_path was found and removed from the global search path sequence.
| osc::Texture2D opyn::render_model_in_state | ( | OPynSimApp & | , |
| const Model & | , | ||
| const ModelState & | , | ||
| osc::Vector2 | dimensions, | ||
| bool | zoom_to_fit, | ||
| bool | draw_floor | ||
| ) |
| std::string opyn::SanitizeToOpenSimComponentName | ( | std::string_view | ) |
| void opyn::SaveModelRendererParamsDifference | ( | const ModelRendererParams & | , |
| const ModelRendererParams & | , | ||
| std::string_view | settingsKeyPrefix, | ||
| osc::AppSettings & | |||
| ) |
| void opyn::ScaleModelMassPreserveMassDistribution | ( | OpenSim::Model & | model, |
| const SimTK::State & | state, | ||
| double | newMass | ||
| ) |
| void opyn::set_log_level | ( | osc::LogLevel | ) |
Set the logging level of the default global log sink that's used by all subsystems
This is the only opyn function that may be called before init.
| void opyn::SetIthOption | ( | OpenSimDecorationOptionFlags & | , |
| size_t | , | ||
| bool | |||
| ) |
|
constexpr |
|
constexpr |
| bool opyn::ShouldShowInUI | ( | const OpenSim::Component & | ) |
| void opyn::show_hello_ui | ( | OPynSimApp & | , |
| UiCallbacks | = {} |
||
| ) |
| void opyn::show_model_in_state | ( | OPynSimApp & | , |
| const Model & | , | ||
| const ModelState & | , | ||
| osc::Vector2 | dimensions, | ||
| osc::Color | background_color, | ||
| bool | zoom_to_fit, | ||
| bool | draw_floor, | ||
| UiCallbacks | = {} |
||
| ) |
| size_t opyn::size | ( | const OpenSim::Array< T > & | ary | ) |
| size_t opyn::size | ( | const OpenSim::ArrayPtrs< T > & | ary | ) |
| size_t opyn::size | ( | const OpenSim::Property< T > & | p | ) |
| size_t opyn::size | ( | const OpenSim::Set< T, C > & | s | ) |
| ptrdiff_t opyn::ssize | ( | const OpenSim::Set< T, C > & | s | ) |
| osc::Color opyn::to_color | ( | const OpenSim::Appearance & | ) |
| ModelStateStage opyn::to_opynsim_stage | ( | SimTK::Stage | ) |
| SimTK::Stage opyn::to_simbody_stage | ( | ModelStateStage | ) |
| std::string opyn::to_string | ( | const CSVParseWarning & | ) |
| std::string opyn::to_string | ( | const SharedOutputExtractor & | ) |
| bool opyn::ToggleShowingContactGeometry | ( | OpenSim::Model & | ) |
| bool opyn::ToggleShowingForces | ( | OpenSim::Model & | ) |
| bool opyn::ToggleShowingFrames | ( | OpenSim::Model & | ) |
| bool opyn::ToggleShowingMarkers | ( | OpenSim::Model & | ) |
| bool opyn::ToggleShowingWrapGeometry | ( | OpenSim::Model & | ) |
| osc::Mesh opyn::ToOscMesh | ( | const OpenSim::Model & | , |
| const SimTK::State & | , | ||
| const OpenSim::Mesh & | |||
| ) |
| osc::Mesh opyn::ToOscMesh | ( | const SimTK::PolygonalMesh & | ) |
| osc::Mesh opyn::ToOscMesh | ( | osc::SceneCache & | , |
| const OpenSim::Model & | , | ||
| const SimTK::State & | , | ||
| const OpenSim::Mesh & | , | ||
| const OpenSimDecorationOptions & | , | ||
| float | fixupScaleFactor | ||
| ) |
| osc::Mesh opyn::ToOscMeshBakeScaleFactors | ( | const OpenSim::Model & | , |
| const SimTK::State & | , | ||
| const OpenSim::Mesh & | |||
| ) |
| TPSCoefficients3D< double > opyn::tps3d_solve_coefficients | ( | const TPSCoefficientSolverInputs3D< double > & | ) |
| TPSCoefficients3D< float > opyn::tps3d_solve_coefficients | ( | const TPSCoefficientSolverInputs3D< float > & | ) |
| TPSCoefficients3D< double > opyn::tps3d_solve_coefficients | ( | cpp23::mdspan< const double, cpp23::extents< size_t, std::dynamic_extent, 3 >, cpp23::layout_stride > | source_landmarks, |
| cpp23::mdspan< const double, cpp23::extents< size_t, std::dynamic_extent, 3 >, cpp23::layout_stride > | destination_landmarks, | ||
| double | warping_penalty = 0.0 |
||
| ) |
| osc::Mesh opyn::tps3d_warp_mesh | ( | TPSCoefficients3D< float > & | , |
| const osc::Mesh & | , | ||
| float | linear_interpolant | ||
| ) |
| SimTK::Vec< 3, double > opyn::tps3d_warp_point | ( | const TPSCoefficients3D< double > & | , |
| const SimTK::Vec< 3, double > & | |||
| ) |
| SimTK::Vec< 3, float > opyn::tps3d_warp_point | ( | const TPSCoefficients3D< float > & | , |
| const SimTK::Vec< 3, float > & | p | ||
| ) |
| SimTK::Vec< 3, float > opyn::tps3d_warp_point | ( | const TPSCoefficients3D< float > & | , |
| const SimTK::Vec< 3, float > & | p, | ||
| float | linear_interpolant | ||
| ) |
| std::vector< SimTK::Vec< 3, float > > opyn::tps3d_warp_points | ( | const TPSCoefficients3D< float > & | , |
| std::span< const SimTK::Vec< 3, float > > | , | ||
| float | linear_interpolant | ||
| ) |
| void opyn::tps3d_warp_points_in_place | ( | const TPSCoefficients3D< float > & | , |
| std::span< SimTK::Vec< 3, float > > | , | ||
| float | linear_interpolant | ||
| ) |
| bool opyn::TryDeleteComponentFromModel | ( | OpenSim::Model & | , |
| OpenSim::Component & | |||
| ) |
| bool opyn::TryDeleteItemFromSet | ( | OpenSim::Set< T, C > & | set, |
| const U * | item | ||
| ) |
| void opyn::TryEquilibrateMusclesOrLogWarning | ( | OpenSim::Model & | , |
| SimTK::State & | |||
| ) |
| std::optional< PointInfo > opyn::TryExtractPointInfo | ( | const OpenSim::Component & | , |
| const SimTK::State & | |||
| ) |
| std::optional< std::filesystem::path > opyn::TryFindInputFile | ( | const OpenSim::Model & | ) |
| const OpenSim::Appearance * opyn::TryGetAppearance | ( | const OpenSim::Component & | ) |
| std::optional< ForcePoint > opyn::TryGetContactForceInGround | ( | const OpenSim::Model & | , |
| const SimTK::State & | , | ||
| const OpenSim::HuntCrossleyForce & | |||
| ) |
| std::optional< std::string > opyn::TryGetOrientationalPropertyName | ( | const OpenSim::Component & | ) |
| std::optional< std::string > opyn::TryGetOwnerName | ( | const OpenSim::Component & | ) |
| const OpenSim::Frame * opyn::TryGetParentFrame | ( | const OpenSim::Frame & | ) |
| const OpenSim::PhysicalFrame * opyn::TryGetParentToGroundFrame | ( | const OpenSim::Component & | ) |
| std::optional< SimTK::Transform > opyn::TryGetParentToGroundTransform | ( | const OpenSim::Component & | , |
| const SimTK::State & | |||
| ) |
| std::optional< std::string > opyn::TryGetPositionalPropertyName | ( | const OpenSim::Component & | ) |
| std::optional< ComponentSpatialRepresentation > opyn::TryGetSpatialRepresentation | ( | const OpenSim::Component & | , |
| const SimTK::State & | |||
| ) |
| void opyn::TryPairingLandmarks | ( | std::vector< Landmark > | , |
| std::vector< Landmark > | , | ||
| const std::function< void(const MaybeNamedLandmarkPair &)> & | consumer | ||
| ) |
| bool opyn::TrySetAppearancePropertyIsVisibleTo | ( | OpenSim::Component & | , |
| bool | |||
| ) |
| OpenSim::Appearance * opyn::TryUpdAppearance | ( | OpenSim::Component & | ) |
| std::vector< OpenSim::AbstractSocket * > opyn::UpdAllSockets | ( | OpenSim::Component & | ) |
| void opyn::UpdateStateFromStorageTime | ( | OpenSim::Model & | , |
| SimTK::State & | , | ||
| const std::unordered_map< int, int > & | columnIndexToModelStateVarIndex, | ||
| const OpenSim::Storage & | , | ||
| double | time | ||
| ) |
| void opyn::UpdateStateVariablesFromStorageRow | ( | OpenSim::Model & | , |
| SimTK::State & | , | ||
| const std::unordered_map< int, int > & | columnIndexToModelStateVarIndex, | ||
| const OpenSim::Storage & | , | ||
| int | row | ||
| ) |
| std::vector< OpenSim::Coordinate * > opyn::UpdDefaultLockedCoordinatesInModel | ( | OpenSim::Model & | ) |
| void opyn::UpdModelRendererParamsFrom | ( | const osc::AppSettings & | , |
| std::string_view | keyPrefix, | ||
| ModelRendererParams & | params | ||
| ) |
| OpenSim::Component * opyn::UpdOwner | ( | OpenSim::Component & | root, |
| const OpenSim::Component & | |||
| ) |
| T * opyn::UpdOwner | ( | OpenSim::Component & | root, |
| const OpenSim::Component & | c | ||
| ) |
| OpenSim::Component & opyn::UpdOwnerOrThrow | ( | OpenSim::Component & | root, |
| const OpenSim::Component & | |||
| ) |
| T & opyn::UpdOwnerOrThrow | ( | OpenSim::Component & | root, |
| const OpenSim::Component & | c | ||
| ) |
| void opyn::WriteComponentTopologyGraphAsDotViz | ( | const OpenSim::Component & | , |
| std::ostream & | |||
| ) |
| void opyn::WriteLandmarksToCSV | ( | std::ostream & | , |
| const std::function< std::optional< Landmark >()> & | landmarkProducer, | ||
| LandmarkCSVFlags | = LandmarkCSVFlags::None |
||
| ) |
| void opyn::WriteModelMultibodySystemGraphAsDotViz | ( | const OpenSim::Model & | , |
| std::ostream & | |||
| ) |
| std::string opyn::WriteObjectXMLToString | ( | const OpenSim::Object & | ) |