-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Rokoko/f/fingers
F/fingers
- Loading branch information
Showing
74 changed files
with
12,259 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
if(CMAKE_VERSION VERSION_LESS "3.7.0") | ||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
endif() | ||
|
||
set(MAYA_QT_NDEBUG) | ||
|
||
set(CMAKE_PREFIX_PATH $ENV{MAYA_LOCATION}) | ||
set(Qt5_DIR cmake/Qt5) | ||
|
||
set(CMAKE_AUTOMOC ON) | ||
set(CMAKE_AUTORCC ON) | ||
|
||
find_package(Qt5 COMPONENTS Widgets Network REQUIRED) | ||
|
||
# include the project setting file | ||
# NOTE: intended that devkit root is 'PATH/TO/MAYA/devkit' | ||
include($ENV{MAYA_LOCATION}/devkit/cmake/pluginEntry.cmake) | ||
|
||
# specify project name | ||
set(PROJECT_NAME rslm) | ||
|
||
set(LIBRARY_DIRS $ENV{MAYA_LOCATION}/lib) | ||
|
||
set(HEADERS | ||
src/interfaces.h | ||
src/singleton.h | ||
src/utils.h | ||
src/recorder.h | ||
src/receiverworker.h | ||
src/mapping.h | ||
src/animations.h | ||
src/constants.h | ||
src/ui/button.h | ||
src/ui/categoryheader.h | ||
src/ui/commandapicontent.h | ||
src/ui/infocontent.h | ||
src/ui/receivercontent.h | ||
src/ui/recordbutton.h | ||
src/ui/rootwidget.h | ||
src/ui/updatercontent.h | ||
thirdparty/lz4/lz4.h | ||
thirdparty/lz4/lz4hc.h | ||
thirdparty/lz4/lz4frame.h | ||
thirdparty/lz4/lz4frame_static.h | ||
thirdparty/lz4/xxhash.h | ||
src/jsonv2parser.h | ||
src/jsonv3parser.h | ||
src/framework.h | ||
) | ||
|
||
# set SOURCE_FILES | ||
set(SOURCE_FILES ${HEADERS} | ||
src/framework.cpp | ||
src/animations.cpp | ||
src/main.cpp | ||
src/mapping.cpp | ||
src/receiverworker.cpp | ||
src/recorder.cpp | ||
src/utils.cpp | ||
src/ui/button.cpp | ||
src/ui/categoryheader.cpp | ||
src/ui/commandapicontent.cpp | ||
src/ui/infocontent.cpp | ||
src/ui/receivercontent.cpp | ||
src/ui/recordbutton.cpp | ||
src/ui/rootwidget.cpp | ||
src/ui/updatercontent.cpp | ||
src/jsonv2parser.cpp | ||
src/jsonv3parser.cpp | ||
thirdparty/lz4/lz4.c | ||
thirdparty/lz4/lz4hc.c | ||
thirdparty/lz4/xxhash.c | ||
thirdparty/lz4/lz4frame.c | ||
resources.qrc | ||
) | ||
|
||
set(INCLUDE_DIRS | ||
src | ||
src/ui | ||
thirdparty/lz4 | ||
$ENV{MAYA_LOCATION}/include/QtCore | ||
$ENV{MAYA_LOCATION}/include/QtGui | ||
$ENV{MAYA_LOCATION}/include/QtWidgets | ||
$ENV{MAYA_LOCATION}/include/QtNetwork | ||
) | ||
# set linking libraries | ||
set(LIBRARIES OpenMaya OpenMayaUI OpenMayaAnim Foundation) | ||
|
||
build_plugin() | ||
|
||
|
||
|
||
target_link_libraries(rslm Qt5::Widgets Qt5::Network) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,247 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- Written by QtCreator 4.13.2, 2020-10-11T23:12:24. --> | ||
<qtcreator> | ||
<data> | ||
<variable>EnvironmentId</variable> | ||
<value type="QByteArray">{3a173038-2ce5-4dea-8eda-52e75c665fd7}</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.ActiveTarget</variable> | ||
<value type="int">0</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.EditorSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value> | ||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | ||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | ||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | ||
<value type="QString" key="language">Cpp</value> | ||
<valuemap type="QVariantMap" key="value"> | ||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | ||
</valuemap> | ||
</valuemap> | ||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | ||
<value type="QString" key="language">QmlJS</value> | ||
<valuemap type="QVariantMap" key="value"> | ||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | ||
</valuemap> | ||
</valuemap> | ||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | ||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | ||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | ||
<value type="int" key="EditorConfiguration.IndentSize">4</value> | ||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | ||
<value type="int" key="EditorConfiguration.MarginColumn">80</value> | ||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value> | ||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | ||
<value type="int" key="EditorConfiguration.PaddingMode">1</value> | ||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | ||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value> | ||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | ||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> | ||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | ||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | ||
<value type="int" key="EditorConfiguration.TabSize">8</value> | ||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value> | ||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | ||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | ||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | ||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | ||
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value> | ||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | ||
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks"> | ||
<value type="bool" key="AutoTest.Framework.Boost">true</value> | ||
<value type="bool" key="AutoTest.Framework.Catch">true</value> | ||
<value type="bool" key="AutoTest.Framework.GTest">true</value> | ||
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value> | ||
<value type="bool" key="AutoTest.Framework.QtTest">true</value> | ||
</valuemap> | ||
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/> | ||
<value type="int" key="AutoTest.RunAfterBuild">0</value> | ||
<value type="bool" key="AutoTest.UseGlobal">true</value> | ||
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"> | ||
<value type="QString">-fno-delayed-template-parsing</value> | ||
</valuelist> | ||
<value type="bool" key="ClangCodeModel.UseGlobalConfig">false</value> | ||
<value type="QString" key="ClangCodeModel.WarningConfigId">{63bde9bf-667f-4a79-b205-0859ae65f523}</value> | ||
<valuemap type="QVariantMap" key="ClangTools"> | ||
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value> | ||
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value> | ||
<value type="int" key="ClangTools.ParallelJobs">4</value> | ||
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/> | ||
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/> | ||
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/> | ||
<value type="bool" key="ClangTools.UseGlobalSettings">true</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.Target.0</variable> | ||
<valuemap type="QVariantMap"> | ||
<value type="QString" key="DeviceType">Desktop</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Maya 2020 kit</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Maya 2020 kit</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{cd1b8d53-d162-4f2f-966d-73b6ca58318d}</value> | ||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | ||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | ||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | ||
<value type="QString" key="CMake.Initial.Parameters">-GNinja | ||
-DCMAKE_BUILD_TYPE:String=Release | ||
-DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable} | ||
-DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX} | ||
-DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C} | ||
-DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}</value> | ||
<value type="int" key="EnableQmlDebugging">2</value> | ||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\GIT\rokoko-studio-live-maya\release</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
<value type="QString" key="CMakeProjectManager.MakeStep.AdditionalArguments"></value> | ||
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets"> | ||
<value type="QString">all</value> | ||
</valuelist> | ||
<value type="QString" key="CMakeProjectManager.MakeStep.CMakeArguments"></value> | ||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | ||
</valuemap> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
<value type="QString" key="CMakeProjectManager.MakeStep.AdditionalArguments"></value> | ||
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets"> | ||
<value type="QString">clean</value> | ||
</valuelist> | ||
<value type="QString" key="CMakeProjectManager.MakeStep.CMakeArguments"></value> | ||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | ||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | ||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/> | ||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/> | ||
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | ||
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value> | ||
<valuelist type="QVariantList" key="Analyzer.Perf.Events"> | ||
<value type="QString">cpu-cycles</value> | ||
</valuelist> | ||
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/> | ||
<value type="int" key="Analyzer.Perf.Frequency">250</value> | ||
<valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments"> | ||
<value type="QString">-e</value> | ||
<value type="QString">cpu-cycles</value> | ||
<value type="QString">--call-graph</value> | ||
<value type="QString">dwarf,4096</value> | ||
<value type="QString">-F</value> | ||
<value type="QString">250</value> | ||
</valuelist> | ||
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value> | ||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | ||
<value type="int" key="Analyzer.Perf.StackSize">4096</value> | ||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | ||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | ||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | ||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | ||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | ||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | ||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | ||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | ||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | ||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | ||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | ||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | ||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | ||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | ||
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value> | ||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | ||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | ||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | ||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | ||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | ||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | ||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | ||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | ||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | ||
<value type="int">0</value> | ||
<value type="int">1</value> | ||
<value type="int">2</value> | ||
<value type="int">3</value> | ||
<value type="int">4</value> | ||
<value type="int">5</value> | ||
<value type="int">6</value> | ||
<value type="int">7</value> | ||
<value type="int">8</value> | ||
<value type="int">9</value> | ||
<value type="int">10</value> | ||
<value type="int">11</value> | ||
<value type="int">12</value> | ||
<value type="int">13</value> | ||
<value type="int">14</value> | ||
</valuelist> | ||
<valuelist type="QVariantList" key="CustomOutputParsers"/> | ||
<value type="int" key="PE.EnvironmentAspect.Base">2</value> | ||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | ||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | ||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey"></value> | ||
<value type="QString" key="RunConfiguration.Arguments"></value> | ||
<value type="bool" key="RunConfiguration.Arguments.multi">false</value> | ||
<value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value> | ||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | ||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | ||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | ||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | ||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | ||
<value type="QString" key="RunConfiguration.WorkingDirectory"></value> | ||
<value type="QString" key="RunConfiguration.WorkingDirectory.default"></value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.TargetCount</variable> | ||
<value type="int">1</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable> | ||
<value type="int">22</value> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
Oops, something went wrong.