├── .gitattributes ├── .gitignore ├── App.config ├── App.xaml ├── App.xaml.cs ├── FiveTwoFiveTwo ├── KinectMathHelpers.cs └── XAMLValueConverters.cs ├── Images ├── JackOLantern.png ├── Kinect.ico ├── ScreenshotHover.png ├── ScreenshotNormal.png └── Status.png ├── K4WJointVisualizer.csproj ├── K4WJointVisualizer.sln ├── LICENSE ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── README.md ├── Settings.cs ├── ViewModels ├── KinectBaseViewModel.cs └── ViewModelBase.cs ├── packages.config └── packages └── Microsoft.Kinect.Tools.x64.2.0.1409-publicpreview-10000 └── lib └── net45 ├── Microsoft.Kinect.Tools.dll └── Microsoft.Kinect.Tools.xml /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | [Dd]ebug/ 11 | [Dd]ebugPublic/ 12 | [Rr]elease/ 13 | [Rr]eleases/ 14 | x64/ 15 | x86/ 16 | build/ 17 | bld/ 18 | [Bb]in/ 19 | [Oo]bj/ 20 | 21 | # Roslyn cache directories 22 | *.ide/ 23 | 24 | # MSTest test Results 25 | [Tt]est[Rr]esult*/ 26 | [Bb]uild[Ll]og.* 27 | 28 | #NUNIT 29 | *.VisualState.xml 30 | TestResult.xml 31 | 32 | # Build Results of an ATL Project 33 | [Dd]ebugPS/ 34 | [Rr]eleasePS/ 35 | dlldata.c 36 | 37 | *_i.c 38 | *_p.c 39 | *_i.h 40 | *.ilk 41 | *.meta 42 | *.obj 43 | *.pch 44 | *.pdb 45 | *.pgc 46 | *.pgd 47 | *.rsp 48 | *.sbr 49 | *.tlb 50 | *.tli 51 | *.tlh 52 | *.tmp 53 | *.tmp_proj 54 | *.log 55 | *.vspscc 56 | *.vssscc 57 | .builds 58 | *.pidb 59 | *.svclog 60 | *.scc 61 | 62 | # Chutzpah Test files 63 | _Chutzpah* 64 | 65 | # Visual C++ cache files 66 | ipch/ 67 | *.aps 68 | *.ncb 69 | *.opensdf 70 | *.sdf 71 | *.cachefile 72 | 73 | # Visual Studio profiler 74 | *.psess 75 | *.vsp 76 | *.vspx 77 | 78 | # TFS 2012 Local Workspace 79 | $tf/ 80 | 81 | # Guidance Automation Toolkit 82 | *.gpState 83 | 84 | # ReSharper is a .NET coding add-in 85 | _ReSharper*/ 86 | *.[Rr]e[Ss]harper 87 | *.DotSettings.user 88 | 89 | # JustCode is a .NET coding addin-in 90 | .JustCode 91 | 92 | # TeamCity is a build add-in 93 | _TeamCity* 94 | 95 | # DotCover is a Code Coverage Tool 96 | *.dotCover 97 | 98 | # NCrunch 99 | _NCrunch_* 100 | .*crunch*.local.xml 101 | 102 | # MightyMoose 103 | *.mm.* 104 | AutoTest.Net/ 105 | 106 | # Web workbench (sass) 107 | .sass-cache/ 108 | 109 | # Installshield output folder 110 | [Ee]xpress/ 111 | 112 | # DocProject is a documentation generator add-in 113 | DocProject/buildhelp/ 114 | DocProject/Help/*.HxT 115 | DocProject/Help/*.HxC 116 | DocProject/Help/*.hhc 117 | DocProject/Help/*.hhk 118 | DocProject/Help/*.hhp 119 | DocProject/Help/Html2 120 | DocProject/Help/html 121 | 122 | # Click-Once directory 123 | publish/ 124 | 125 | # Publish Web Output 126 | *.[Pp]ublish.xml 127 | *.azurePubxml 128 | # TODO: Comment the next line if you want to checkin your web deploy settings 129 | # but database connection strings (with potential passwords) will be unencrypted 130 | *.pubxml 131 | *.publishproj 132 | 133 | # NuGet Packages 134 | *.nupkg 135 | # The packages folder can be ignored because of Package Restore 136 | **/packages/* 137 | # except build/, which is used as an MSBuild target. 138 | !**/packages/build/ 139 | # If using the old MSBuild-Integrated Package Restore, uncomment this: 140 | #!**/packages/repositories.config 141 | 142 | # Windows Azure Build Output 143 | csx/ 144 | *.build.csdef 145 | 146 | # Windows Store app package directory 147 | AppPackages/ 148 | 149 | # Others 150 | sql/ 151 | *.Cache 152 | ClientBin/ 153 | [Ss]tyle[Cc]op.* 154 | ~$* 155 | *~ 156 | *.dbmdl 157 | *.dbproj.schemaview 158 | *.pfx 159 | *.publishsettings 160 | node_modules/ 161 | 162 | # RIA/Silverlight projects 163 | Generated_Code/ 164 | 165 | # Backup & report files from converting an old project file 166 | # to a newer Visual Studio version. Backup files are not needed, 167 | # because we have git ;-) 168 | _UpgradeReport_Files/ 169 | Backup*/ 170 | UpgradeLog*.XML 171 | UpgradeLog*.htm 172 | 173 | # SQL Server files 174 | *.mdf 175 | *.ldf 176 | 177 | # Business Intelligence projects 178 | *.rdl.data 179 | *.bim.layout 180 | *.bim_*.settings 181 | 182 | # Microsoft Fakes 183 | FakesAssemblies/ 184 | -------------------------------------------------------------------------------- /App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace K4WJointVisualizer 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /FiveTwoFiveTwo/KinectMathHelpers.cs: -------------------------------------------------------------------------------- 1 |  2 | using System; 3 | using System.Windows; 4 | using Microsoft.Kinect; 5 | 6 | 7 | namespace FiveTwoFiveTwo.KinectMathHelpers 8 | { 9 | 10 | public static class MathHelpers 11 | { 12 | public struct Vector3 13 | { 14 | public double X { get; set; } 15 | public double Y { get; set; } 16 | public double Z { get; set; } 17 | public static Vector3 Zero 18 | { 19 | get 20 | { 21 | return new Vector3() { X = 0, Y = 0, Z = 0 }; 22 | } 23 | } 24 | } 25 | /// 26 | /// The function converts a Quaternion into a Vector3 27 | /// 28 | /// The Quaternion to convert 29 | /// An equivalent Vector3 30 | /// 31 | /// This function was extrapolated by reading the work of Martin John Baker. 32 | /// All credit for this function goes to Martin John. 33 | /// http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm 34 | /// 35 | public static Vector3 QuaternionToEuler(Vector4 q) 36 | { 37 | Vector3 v = Vector3.Zero; 38 | v.X = Math.Atan2(2 * q.Y * q.W - 2 * q.X * q.Z, 39 | 1 - 2 * Math.Pow(q.Y, 2) - 2 * Math.Pow(q.Z, 2)); 40 | 41 | v.Z = Math.Asin(2 * q.X * q.Y + 2 * q.Z * q.W); 42 | 43 | v.Y = Math.Atan2(2 * q.X * q.W - 2 * q.Y * q.Z, 44 | 1 - 2 * Math.Pow(q.X, 2) - 2 * Math.Pow(q.Z, 2)); 45 | 46 | if (q.X * q.Y + q.Z * q.W == 0.5) 47 | { 48 | v.X = (2 * Math.Atan2(q.X, q.W)); 49 | v.Y = 0; 50 | } 51 | else if (q.X * q.Y + q.Z * q.W == -0.5) 52 | { 53 | v.X = (-2 * Math.Atan2(q.X, q.W)); 54 | v.Y = 0; 55 | } 56 | 57 | v.X = RadianToDegree(v.X); 58 | v.Y = RadianToDegree(v.Y); 59 | v.Z = RadianToDegree(v.Z); 60 | return v; 61 | } 62 | 63 | /// 64 | /// Converts a Vector4 quaternion to a Vector3 CameraSpacePoint. 65 | /// 66 | /// The Vector4 quaternion. 67 | /// A Vector3 representation of the quaternion. 68 | public static CameraSpacePoint QuaternionToEuler3(this Vector4 orientation) 69 | { 70 | CameraSpacePoint point = new CameraSpacePoint(); 71 | 72 | point.X = (float)Math.Atan2 73 | ( 74 | 2 * orientation.Y * orientation.W - 2 * orientation.X * orientation.Z, 75 | 1 - 2 * Math.Pow(orientation.Y, 2) - 2 * Math.Pow(orientation.Z, 2) 76 | ); 77 | 78 | point.Y = (float)Math.Asin 79 | ( 80 | 2 * orientation.X * orientation.Y + 2 * orientation.Z * orientation.W 81 | ); 82 | 83 | point.Z = (float)Math.Atan2 84 | ( 85 | 2 * orientation.X * orientation.W - 2 * orientation.Y * orientation.Z, 86 | 1 - 2 * Math.Pow(orientation.X, 2) - 2 * Math.Pow(orientation.Z, 2) 87 | ); 88 | 89 | if (orientation.X * orientation.Y + orientation.Z * orientation.W == 0.5) 90 | { 91 | point.X = (float)(2 * Math.Atan2(orientation.X, orientation.W)); 92 | point.Z = 0; 93 | } 94 | 95 | else if (orientation.X * orientation.Y + orientation.Z * orientation.W == -0.5) 96 | { 97 | point.X = (float)(-2 * Math.Atan2(orientation.X, orientation.W)); 98 | point.Z = 0; 99 | } 100 | 101 | point.X = (float)RadianToDegree(point.X); 102 | point.Y = (float)RadianToDegree(point.Y); 103 | point.Z = (float)RadianToDegree(point.Z); 104 | return point; 105 | } 106 | 107 | 108 | private static double RadianToDegree(double angle) 109 | {//Return degrees (0->360) from radians 110 | return angle * (180.0 / Math.PI) + 180; 111 | } 112 | public static Vector3 QuaternionToYawPitchRoll(Vector4 q) 113 | { 114 | const double Epsilon = 0.0009765625f; 115 | const double Threshold = 0.5f - Epsilon; 116 | 117 | double yaw; 118 | double pitch; 119 | double roll; 120 | 121 | double XY = q.X * q.Y; 122 | double ZW = q.Z * q.W; 123 | 124 | double TEST = XY + ZW; 125 | 126 | if (TEST < -Threshold || TEST > Threshold) 127 | { 128 | 129 | int sign = Math.Sign(TEST); 130 | 131 | yaw = sign * 2 * (double)Math.Atan2(q.X, q.W); 132 | 133 | pitch = sign * (Math.PI / 2.0d); 134 | 135 | roll = 0; 136 | 137 | } 138 | else 139 | { 140 | 141 | double XX = q.X * q.X; 142 | double XZ = q.X * q.Z; 143 | double XW = q.X * q.W; 144 | 145 | double YY = q.Y * q.Y; 146 | double YW = q.Y * q.W; 147 | double YZ = q.Y * q.Z; 148 | 149 | double ZZ = q.Z * q.Z; 150 | 151 | yaw = (double)Math.Atan2(2 * YW - 2 * XZ, 1 - 2 * YY - 2 * ZZ); 152 | 153 | pitch = (double)Math.Atan2(2 * XW - 2 * YZ, 1 - 2 * XX - 2 * ZZ); 154 | 155 | roll = (double)Math.Asin(2 * TEST); 156 | 157 | }//if 158 | 159 | return new Vector3() { X = yaw, Y = pitch, Z = roll }; 160 | 161 | }//method 162 | public static double AngleBetweenPoints(Point p1, Point p2) 163 | { 164 | double retval; 165 | double xDiff = p1.X - p2.X; 166 | double yDiff = p1.Y - p2.Y; 167 | retval = (double)Math.Atan2(yDiff, xDiff) * (double)(180 / Math.PI); 168 | return retval; 169 | } 170 | 171 | 172 | } 173 | public class Quaternion 174 | { 175 | public Quaternion(float w_, float xi, float yj, float zk) 176 | { 177 | w = w_; 178 | x = xi; 179 | y = yj; 180 | z = zk; 181 | } 182 | private float w; 183 | public float W 184 | { 185 | set 186 | { w = value; } 187 | get 188 | { return w; } 189 | } 190 | private float x; 191 | public float X 192 | { 193 | set { x = value; } 194 | get { return x; } 195 | } 196 | private float y; 197 | public float Y 198 | { 199 | set { y = value; } 200 | get { return y; } 201 | } 202 | private float z; 203 | public float Z 204 | { 205 | set { z = value; } 206 | get { return z; } 207 | } 208 | /// 209 | /// Euclidean norm 210 | /// 211 | public float Norm 212 | { 213 | get { return (float)Math.Sqrt(w * w + x * x + y * y + z * z); } 214 | } 215 | /// 216 | /// Conjugate 217 | /// 218 | public Quaternion Conj 219 | { 220 | get { return new Quaternion(w, -x, -y, -z); } 221 | } 222 | public static Quaternion operator +(Quaternion q1, Quaternion q2) 223 | { 224 | return new Quaternion(q1.W + q2.W, q1.X + q2.X, q1.Y + q2.Y, q1.Z + q2.Z); 225 | } 226 | public static Quaternion operator -(Quaternion q1, Quaternion q2) 227 | { 228 | return new Quaternion(q1.W - q2.W, q1.X - q2.X, q1.Y - q2.Y, q1.Z - q2.Z); 229 | } 230 | /// 231 | /// product of two quaterions 232 | /// 233 | /// Quaternion1 234 | /// Quaternion2 235 | /// Quaternion1*Quaternion2 236 | public static Quaternion operator *(Quaternion q1, Quaternion q2) 237 | { 238 | return new Quaternion(q1.w * q2.w - q1.x * q2.x - q1.y * q2.y - q1.z * q2.z 239 | , q1.w * q2.x + q1.x * q2.w + q1.y * q2.z - q1.z * q2.y 240 | , q1.w * q2.y + q1.y * q2.w + q1.z * q2.x - q1.x * q2.z 241 | , q1.w * q2.z + q1.z * q2.w + q1.x * q2.y - q1.y * q2.x); 242 | } 243 | public static Quaternion operator *(float f, Quaternion q) 244 | { 245 | return new Quaternion(f * q.w, f * q.x, f * q.y, f * q.z); 246 | } 247 | public static Quaternion operator *(Quaternion q, float f) 248 | { 249 | return new Quaternion(f * q.w, f * q.x, f * q.y, f * q.z); 250 | } 251 | public static Quaternion operator /(Quaternion q, float f) 252 | { 253 | if (f == 0.0f) { throw new DivideByZeroException(); } 254 | return new Quaternion(1 / f * q.w, 1 / f * q.x, 1 / f * q.y, 1 / f * q.z); 255 | } 256 | public static Quaternion operator /(float f, Quaternion q) 257 | { 258 | if (q.Norm == 0.0f) { throw new DivideByZeroException(); } 259 | return f / (q.Norm * q.Norm) * q.Conj; 260 | } 261 | public static Quaternion operator /(Quaternion q1, Quaternion q2) 262 | { 263 | return q1 * q2.Conj / (q2.Norm * q2.Norm); 264 | } 265 | public static bool operator ==(Quaternion q1, Quaternion q2) 266 | { 267 | if (Math.Abs(q1.w - q2.w) < 0.00001f 268 | && Math.Abs(q1.x - q2.x) < 0.00001f 269 | && Math.Abs(q1.y - q2.y) < 0.00001f 270 | && Math.Abs(q1.z - q2.z) < 0.00001f) 271 | { 272 | return true; 273 | } 274 | return false; 275 | } 276 | public static bool operator !=(Quaternion q1, Quaternion q2) 277 | { 278 | if (q1.w == q2.w && q1.x == q2.x && q1.y == q2.y && q1.z == q2.z) 279 | { 280 | return false; 281 | } 282 | return true; 283 | } 284 | public override bool Equals(object obj) 285 | { 286 | Quaternion q = obj as Quaternion; 287 | return q == this; 288 | } 289 | public override int GetHashCode() 290 | { 291 | return this.w.GetHashCode() ^ (this.x.GetHashCode() * this.y.GetHashCode() * this.z.GetHashCode()); 292 | } 293 | public float[] Rotate(float x1, float y1, float z1) 294 | { 295 | Quaternion q = new Quaternion(0.0f, x1, y1, z1); 296 | Quaternion r = this * q * this.Conj; 297 | return new float[3] { r.X, r.Y, r.Z }; 298 | } 299 | } 300 | 301 | public static class KinectHelpers 302 | { 303 | // returns the parent joint of the given joint 304 | public static JointType GetParentJoint(JointType joint) 305 | { 306 | switch (joint) 307 | { 308 | case JointType.SpineBase: 309 | return JointType.SpineBase; 310 | 311 | case JointType.Neck: 312 | return JointType.SpineShoulder; 313 | 314 | case JointType.SpineShoulder: 315 | return JointType.SpineBase; 316 | 317 | case JointType.ShoulderLeft: 318 | case JointType.ShoulderRight: 319 | return JointType.SpineShoulder; 320 | 321 | case JointType.HipLeft: 322 | case JointType.HipRight: 323 | return JointType.SpineBase; 324 | 325 | case JointType.HandTipLeft: 326 | case JointType.ThumbLeft: 327 | return JointType.HandLeft; 328 | 329 | case JointType.HandTipRight: 330 | case JointType.ThumbRight: 331 | return JointType.HandRight; 332 | } 333 | 334 | return (JointType)((int)joint - 1); 335 | } 336 | } 337 | } 338 | 339 | 340 | 341 | -------------------------------------------------------------------------------- /FiveTwoFiveTwo/XAMLValueConverters.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows.Data; 7 | using System.Windows.Markup; 8 | 9 | namespace FiveTwoFiveTwo.XAMLHelpers 10 | { 11 | public abstract class BaseConverter : MarkupExtension 12 | { 13 | public override object ProvideValue(IServiceProvider serviceProvider) 14 | { 15 | return this; 16 | } 17 | } 18 | [ValueConversion(typeof(object), typeof(string))] 19 | public class StringFormatConverter : BaseConverter, IValueConverter 20 | { 21 | public object Convert(object value, Type targetType, object parameter, 22 | System.Globalization.CultureInfo culture) 23 | { 24 | string format = parameter as string; 25 | if (!string.IsNullOrEmpty(format)) 26 | { 27 | return string.Format(culture, format, value); 28 | } 29 | else 30 | { 31 | return value.ToString(); 32 | } 33 | } 34 | 35 | public object ConvertBack(object value, Type targetType, object parameter, 36 | System.Globalization.CultureInfo culture) 37 | { 38 | return null; 39 | } 40 | } 41 | [ValueConversion(typeof(double), typeof(double))] 42 | public class SubtractConverter : BaseConverter, IValueConverter 43 | { 44 | public object Convert(object value, Type targetType, object parameter, 45 | System.Globalization.CultureInfo culture) 46 | { 47 | double param = System.Convert.ToDouble(parameter); 48 | return (double)value - param; 49 | } 50 | 51 | public object ConvertBack(object value, Type targetType, object parameter, 52 | System.Globalization.CultureInfo culture) 53 | { 54 | return null; 55 | } 56 | } 57 | [ValueConversion(typeof(Decimal), typeof(Double))] 58 | public class D2PConverter : BaseConverter, IMultiValueConverter 59 | { 60 | public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 61 | { 62 | Double foo = System.Convert.ToDouble(values[0]); 63 | Double bar = System.Convert.ToDouble(values[1]); 64 | if(foo > bar) 65 | { 66 | return 100.0d; 67 | } 68 | if(foo < 0 || bar < 0) 69 | { 70 | return 0.0d; 71 | } 72 | 73 | 74 | return ((foo / bar) * 100.0d); 75 | } 76 | 77 | public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) 78 | { 79 | throw new NotImplementedException(); 80 | } 81 | } 82 | 83 | 84 | [ValueConversion(typeof(double), typeof(double))] 85 | public class DoubleDividerConverter : BaseConverter, IValueConverter 86 | { 87 | public object Convert(object value, Type targetType, object parameter, 88 | System.Globalization.CultureInfo culture) 89 | { 90 | try 91 | { 92 | double doubleParam = System.Convert.ToDouble(parameter); 93 | double doubleValue = System.Convert.ToDouble(value); 94 | return doubleValue / doubleParam; 95 | 96 | } 97 | catch (Exception) 98 | { 99 | 100 | throw; 101 | } 102 | 103 | } 104 | 105 | public object ConvertBack(object value, Type targetType, object parameter, 106 | System.Globalization.CultureInfo culture) 107 | { 108 | return null; 109 | } 110 | } 111 | } 112 | -------------------------------------------------------------------------------- /Images/JackOLantern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IntStarFoo/KinectJointVisualizer/3839e37fa446e5e2c396b36dc5994b9a167a02e8/Images/JackOLantern.png -------------------------------------------------------------------------------- /Images/Kinect.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IntStarFoo/KinectJointVisualizer/3839e37fa446e5e2c396b36dc5994b9a167a02e8/Images/Kinect.ico -------------------------------------------------------------------------------- /Images/ScreenshotHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IntStarFoo/KinectJointVisualizer/3839e37fa446e5e2c396b36dc5994b9a167a02e8/Images/ScreenshotHover.png -------------------------------------------------------------------------------- /Images/ScreenshotNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IntStarFoo/KinectJointVisualizer/3839e37fa446e5e2c396b36dc5994b9a167a02e8/Images/ScreenshotNormal.png -------------------------------------------------------------------------------- /Images/Status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IntStarFoo/KinectJointVisualizer/3839e37fa446e5e2c396b36dc5994b9a167a02e8/Images/Status.png -------------------------------------------------------------------------------- /K4WJointVisualizer.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250} 8 | WinExe 9 | Properties 10 | K4WJointVisualizer 11 | K4WJointVisualizer 12 | v4.5 13 | 512 14 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 15 | 4 16 | 17 | 18 | x64 19 | true 20 | full 21 | false 22 | bin\Debug\ 23 | DEBUG;TRACE 24 | prompt 25 | 4 26 | false 27 | 28 | 29 | AnyCPU 30 | pdbonly 31 | true 32 | bin\Release\ 33 | TRACE 34 | prompt 35 | 4 36 | 37 | 38 | 39 | False 40 | C:\Program Files\Microsoft SDKs\Kinect\v2.0-PublicPreview1409\Assemblies\Microsoft.Kinect.dll 41 | 42 | 43 | ..\packages\Microsoft.Kinect.Tools.x64.2.0.1409-publicpreview-10000\lib\net45\Microsoft.Kinect.Tools.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 4.0 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | MSBuild:Compile 63 | Designer 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | MSBuild:Compile 72 | Designer 73 | 74 | 75 | App.xaml 76 | Code 77 | 78 | 79 | MainWindow.xaml 80 | Code 81 | 82 | 83 | 84 | 85 | Code 86 | 87 | 88 | True 89 | True 90 | Resources.resx 91 | 92 | 93 | True 94 | Settings.settings 95 | True 96 | 97 | 98 | PublicResXFileCodeGenerator 99 | Resources.Designer.cs 100 | 101 | 102 | 103 | PublicSettingsSingleFileGenerator 104 | Settings.Designer.cs 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 128 | -------------------------------------------------------------------------------- /K4WJointVisualizer.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.30723.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "K4WJointVisualizer", "K4WJointVisualizer.csproj", "{F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {F1E8B2C6-6FE2-4FD5-A9FE-EED3572B9250}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 John A. Berry 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 78 | 81 | 84 | 85 |