From 15ae3675b4f936f1c312751de67b44621a0d2a41 Mon Sep 17 00:00:00 2001 From: Robin Engman Date: Tue, 28 Jan 2014 13:39:15 +0100 Subject: [PATCH] Updated UML with functions --- Code/Dokumentation/Physics_Sprint3.uxf | 756 +++++++++++++------------ 1 file changed, 395 insertions(+), 361 deletions(-) diff --git a/Code/Dokumentation/Physics_Sprint3.uxf b/Code/Dokumentation/Physics_Sprint3.uxf index 0462e35c..6b74de3e 100644 --- a/Code/Dokumentation/Physics_Sprint3.uxf +++ b/Code/Dokumentation/Physics_Sprint3.uxf @@ -6,7 +6,7 @@ com.umlet.element.Class 357 - 609 + 518 252 406 @@ -34,7 +34,7 @@ Forcefield( .. ) : Float com.umlet.element.Class 364 - 819 + 728 238 189 @@ -60,7 +60,7 @@ Cylinder( .. ) : Matrix com.umlet.element.Class 616 - 609 + 518 210 35 @@ -73,7 +73,7 @@ Update_LeapFrog( deltatime : Float ) : void com.umlet.element.Class 616 - 672 + 581 210 203 @@ -101,7 +101,7 @@ CalculateAngularMomentum( .. ) : Vector com.umlet.element.Class 728 - 938 + 847 98 21 @@ -112,7 +112,7 @@ CalculateAngularMomentum( .. ) : Vector com.umlet.element.Class 728 - 966 + 875 98 21 @@ -123,7 +123,7 @@ CalculateAngularMomentum( .. ) : Vector com.umlet.element.Class 728 - 994 + 903 98 21 @@ -134,7 +134,7 @@ CalculateAngularMomentum( .. ) : Vector com.umlet.element.Relation 644 - 623 + 532 132 62 @@ -146,7 +146,7 @@ CalculateAngularMomentum( .. ) : Vector com.umlet.element.Class 350 - 574 + 483 483 448 @@ -157,31 +157,30 @@ bg=green - - - com.umlet.element.Class - - 560 - 511 - 161 - 49 - - Constant : <<namespace>> + + com.umlet.element.Class + + 560 + 420 + 161 + 49 + + Constant : <<namespace>> <<extern>> -- gravity_constant : const Float - - - - com.umlet.element.Class - - 224 - 476 - 329 - 84 - - Default : <<namespace>> + + + + com.umlet.element.Class + + 224 + 385 + 329 + 84 + + Default : <<namespace>> <<intern>> -- EventAction_Destruction : <<PhysicsAPI::EventAction_Destruction>> @@ -189,45 +188,61 @@ EventAction_Collision : <<ICustomBody::EventAction_Collision>> EventAction_CollisionResponse : <<ICustomBody::EventAction_Collision>> EventAction_Move : <<ICustomBody::EventAction_Collision>> - - - - com.umlet.element.Class - - 224 - 161 - 224 - 35 - - API : <<interface>> + + + + com.umlet.element.Class + + 245 + 63 + 224 + 196 + + API : <<interface>> -- {innerclass EventAction_Destruction : <<FunctionPointer>> -innerclass} - - - - com.umlet.element.Class - - 259 - 217 - 133 - 28 - - API_Impl : <<class>> +innerclass} + +Init( .. ) : void +SetFrameTimeLength( .. ) : void +SetGravityConstant( .. ) : void +SetSubscription( .. ) : void +Update() : void +IsInLimbo( .. ) : bool +MoveToLimbo( .. ) : void +ReleaseFromLimbo( .. ) : void +AddObject( .. ) : void +ExtractObject( .. ) : ICustomBody* +DestroyObject( .. ) : void +AddGravity( .. ) : void +RemoveGravity( .. ) : void +ApplyEffect( .. ) : void +CreateRigidBody( .. ) : ICustomBody* + + + + com.umlet.element.Class + + 273 + 280 + 133 + 28 + + API_Impl : <<class>> -- <<uses>> OctTree : class - - - - com.umlet.element.Class - - 455 - 161 - 280 - 84 - - ICustomBody : <<interface>> + + + + com.umlet.element.Class + + 476 + 63 + 280 + 287 + + ICustomBody : <<interface>> {innerclass SubscriptMessage : Enum @@ -243,58 +258,78 @@ innerclass} {innerclass EventAction_Move : <<Subscription : void>> -innerclass} - - - - com.umlet.element.Class - - 259 - 252 - 175 - 35 - - SimpleRigidBody : <<class>> +innerclass} + +Clone() : ICustomBody* +CallSubscription_Collision( .. ) : SubscriptMessage +CallSubscription_CollisionResponse( .. ) : void +CallSubscription_Move() : void +GetState( .. ) : State +SetState( .. ) : void +IsAffectedByGravity() : bool +Intersects( .. ) : bool +GetBoundingSphere : Sphere +GetNormalAt( .. ) : Vector +GetGravityNormal( .. ) : Vector +GetCustomTag() : void* +Update( .. ) : UpdateState +Predict( .. ) : void +SetScene( .. ) : void +SetSubscription( .. ) : void +SetGravity( .. ) : void +SetGravityNormal( .. ) : void +SetCustomTag( .. ) : void + + + + com.umlet.element.Class + + 273 + 315 + 175 + 28 + + SimpleRigidBody : <<class>> -- <<uses>> Physics3D::RigidBody : struct - - - - com.umlet.element.Class - - 259 - 294 - 175 - 35 - - SphericalRigidBody : <<class>> + + + + com.umlet.element.Class + + 273 + 350 + 175 + 28 + + SphericalRigidBody : <<class>> -- <<uses>> Physics3D::RigidBody : struct - - - - com.umlet.element.Class - - 21 - 364 - 196 - 196 - - Formula : <<namespace>> + + + + com.umlet.element.Class + + 21 + 273 + 196 + 196 + + Formula : <<namespace>> <<intern>> -- - - - - com.umlet.element.Class - - 28 - 399 - 175 - 84 - - MomentOfInertia : <<namespace>> + + + + com.umlet.element.Class + + 28 + 308 + 175 + 84 + + MomentOfInertia : <<namespace>> <<intern>> -- CreateSphereMatrix( .. ) : Matrix @@ -302,138 +337,138 @@ CreateHollowSphereMatrix( .. ) : Matrix CreateCuboidMatrix( .. ) : Matrix CreateCylinderMatrix( .. ) : Matrix CreateRodMatrix( .. ) : Matrix - - - - com.umlet.element.Class - - 28 - 497 - 175 - 56 - - CollisionResponse : <<namespace>> + + + + com.umlet.element.Class + + 28 + 406 + 175 + 56 + + CollisionResponse : <<namespace>> <<intern>> -- Bounce( .. ) : Float Friction( .. ) : Vector - - - - com.umlet.element.Relation - - 294 - 175 - 34 - 55 - - lt=<<. - 21;21;21;42 - - - com.umlet.element.Relation - - 413 - 224 - 90 - 55 - - lt=<<. - 77;21;77;42;21;42 - - - com.umlet.element.Class - - 525 - 350 - 203 - 42 - - OctTree : <<class>> + + + + com.umlet.element.Relation + + 308 + 238 + 34 + 55 + + lt=<<. + 21;21;21;42 + + + com.umlet.element.Relation + + 427 + 308 + 97 + 76 + + lt=<<. + 84;42;84;63;35;63;35;21;21;21 + + + com.umlet.element.Class + + 560 + 371 + 203 + 42 + + OctTree : <<class>> -- <<uses>> Collision3D::Sphere : struct <<uses>> Collision3D::BoxAxisAligned : struct - - - - com.umlet.element.Relation - - 546 - 224 - 118 - 139 - - lt=<- -m2= <<uses>> - 105;21;105;112;28;112;28;126 - - - com.umlet.element.Relation - - 413 - 245 - 90 - 69 - - lt=. - 77;21;77;56;21;56 - - - com.umlet.element.Class - - 21 - 161 - 182 - 196 - - Struct : <<namespace>> + + + + com.umlet.element.Relation + + 518 + 329 + 100 + 55 + + lt=<- + <<uses>> + 56;21;56;42 + + + com.umlet.element.Relation + + 427 + 329 + 97 + 55 + + lt=. + 84;21;84;42;21;42 + + + com.umlet.element.Class + + 21 + 63 + 182 + 196 + + Struct : <<namespace>> <<extern>> -- - - - - com.umlet.element.Class - - 28 - 301 - 168 - 14 - - SimpleBodyDescription : struct - - - - com.umlet.element.Class - - 28 - 329 - 168 - 14 - - SimpleSphericalDescription : struct - - - - com.umlet.element.Class - - 28 - 273 - 168 - 14 - - CustomBodyState : struct - - - - com.umlet.element.Class - - 28 - 189 - 168 - 63 - - Gravity : struct + + + + com.umlet.element.Class + + 28 + 203 + 168 + 14 + + SimpleBodyDescription : struct + + + + com.umlet.element.Class + + 28 + 231 + 168 + 14 + + SimpleSphericalDescription : struct + + + + com.umlet.element.Class + + 28 + 175 + 168 + 14 + + CustomBodyState : struct + + + + com.umlet.element.Class + + 28 + 91 + 168 + 63 + + Gravity : struct {innerclass GravityWell innerclass} @@ -443,98 +478,97 @@ innerclass} {innerclass GravityDirectedField innerclass} - - - - com.umlet.element.Relation - - 182 - 189 - 90 - 49 - - lt=<- + + + + com.umlet.element.Relation + + 182 + 105 + 104 + 195 + + lt=<- + <<uses>> + 21;21;56;21;56;168;91;168;91;182 + + + com.umlet.element.Relation + + 182 + 161 + 104 + 139 + + lt=<- + 21;21;56;21;56;112;91;112;91;126 + + + com.umlet.element.Relation + + 385 + 252 + 104 + 49 + + lt=<- <<uses>> - 21;35;77;35 - - - com.umlet.element.Relation - - 182 - 203 - 90 - 83 - - lt=<- - 21;70;42;70;42;21;77;21 - - - com.umlet.element.Relation - - 371 - 189 - 97 - 49 - - lt=<- -<<uses>> - 84;35;21;35 - - - com.umlet.element.Relation - - 182 - 266 - 90 - 49 - - lt=<- -<<uses>> - 21;35;77;35 - - - com.umlet.element.Relation - - 182 - 280 - 90 - 62 - - lt=<- - 21;49;42;49;42;21;77;21 - - - com.umlet.element.Relation - - 231 - 238 - 41 - 76 - - lt=- - 28;21;21;21;21;63 - - - com.umlet.element.Class - - 14 - 126 - 728 - 441 - - Physics : <<namespace>> + 91;35;21;35 + + + com.umlet.element.Relation + + 182 + 189 + 104 + 181 + + lt=<- + 21;21;42;21;42;168;91;168 + + + com.umlet.element.Relation + + 175 + 217 + 111 + 153 + + lt=<- + <<uses>> + 28;21;49;21;49;140;98;140 + + + com.umlet.element.Relation + + 231 + 301 + 55 + 69 + + lt=- + 42;21;42;21;21;21;21;56 + + + com.umlet.element.Class + + 14 + 35 + 756 + 441 + + Physics : <<namespace>> <<extern>> bg=green -- - - - + + com.umlet.element.Class 0 - 91 + 0 847 945 @@ -551,7 +585,7 @@ bg=orange com.umlet.element.Class 175 - 637 + 546 126 21 @@ -562,7 +596,7 @@ bg=orange com.umlet.element.Class 175 - 609 + 518 126 21 @@ -573,7 +607,7 @@ bg=orange com.umlet.element.Class 175 - 665 + 574 126 21 @@ -584,7 +618,7 @@ bg=orange com.umlet.element.Class 175 - 693 + 602 126 21 @@ -595,7 +629,7 @@ bg=orange com.umlet.element.Class 175 - 721 + 630 126 21 @@ -606,7 +640,7 @@ bg=orange com.umlet.element.Class 175 - 861 + 770 126 21 @@ -617,7 +651,7 @@ bg=orange com.umlet.element.Class 175 - 749 + 658 126 21 @@ -628,7 +662,7 @@ bg=orange com.umlet.element.Class 175 - 791 + 700 126 21 @@ -639,7 +673,7 @@ bg=orange com.umlet.element.Class 175 - 819 + 728 126 21 @@ -650,7 +684,7 @@ bg=orange com.umlet.element.Class 175 - 889 + 798 126 21 @@ -661,7 +695,7 @@ bg=orange com.umlet.element.Class 21 - 609 + 518 126 70 @@ -677,7 +711,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 595 + 504 55 321 @@ -688,7 +722,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 812 + 721 55 34 @@ -699,7 +733,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 784 + 693 55 34 @@ -710,7 +744,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 742 + 651 55 34 @@ -721,7 +755,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 854 + 763 55 34 @@ -732,7 +766,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 714 + 623 55 34 @@ -743,7 +777,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 686 + 595 55 34 @@ -754,7 +788,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 658 + 567 55 34 @@ -765,7 +799,7 @@ Contain( .. ) : bool com.umlet.element.Relation 280 - 630 + 539 55 34 @@ -776,7 +810,7 @@ Contain( .. ) : bool com.umlet.element.Relation 196 - 749 + 658 83 55 @@ -788,7 +822,7 @@ Contain( .. ) : bool com.umlet.element.Relation 35 - 658 + 567 153 84 @@ -800,7 +834,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 595 + 504 55 286 @@ -811,7 +845,7 @@ Contain( .. ) : bool com.umlet.element.Relation 196 - 819 + 728 83 55 @@ -823,7 +857,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 805 + 714 55 34 @@ -834,7 +868,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 735 + 644 55 34 @@ -845,7 +879,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 679 + 588 55 34 @@ -856,7 +890,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 651 + 560 55 34 @@ -867,7 +901,7 @@ Contain( .. ) : bool com.umlet.element.Relation 133 - 623 + 532 55 34 @@ -878,7 +912,7 @@ Contain( .. ) : bool com.umlet.element.Class 14 - 574 + 483 329 343 @@ -894,7 +928,7 @@ bg=green com.umlet.element.Class 938 - 168 + 77 98 28 @@ -907,7 +941,7 @@ bg=green com.umlet.element.Class 896 - 266 + 175 42 21 @@ -919,7 +953,7 @@ bg=green com.umlet.element.Class 952 - 266 + 175 70 21 @@ -931,7 +965,7 @@ bg=green com.umlet.element.Relation 896 - 189 + 98 34 90 @@ -942,9 +976,9 @@ bg=green com.umlet.element.Relation 966 - 189 - 34 - 90 + 98 + 28 + 84 lt=()) 21;77;21;21 @@ -953,7 +987,7 @@ bg=green com.umlet.element.Class 896 - 119 + 28 161 28 @@ -966,7 +1000,7 @@ bg=green com.umlet.element.Relation 896 - 126 + 35 48 97 @@ -977,7 +1011,7 @@ bg=green com.umlet.element.Class 889 - 91 + 0 175 133 @@ -990,7 +1024,7 @@ bg=blue com.umlet.element.Relation 910 - 175 + 84 90 48 @@ -1001,9 +1035,9 @@ bg=blue com.umlet.element.Relation 1036 - 112 - 111 - 34 + 21 + 105 + 28 lt=<() r1=provide @@ -1013,9 +1047,9 @@ r1=provide com.umlet.element.Relation 1015 - 161 - 132 - 34 + 70 + 126 + 28 lt=<() r1=provide