ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/test/brains/RigidBody.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/test/brains/RigidBody.hpp (file contents):
Revision 1681 by tim, Tue Oct 26 17:28:53 2004 UTC vs.
Revision 1682 by tim, Thu Oct 28 22:34:01 2004 UTC

# Line 39 | Line 39 | namespace oopse{
39      class RigidBody : public Atom {
40          public:
41              RigidBody();
42 +
43 +           /**
44 +             * Sets  the previous rotation matrix of this stuntdouble
45 +             * @param a  new rotation matrix
46 +             */        
47 +           virtual void setPrevA(const RotMat3x3d& a);
48 +          
49 +           /**
50 +             * Sets  the current rotation matrix of this stuntdouble
51 +             * @param a  new rotation matrix
52 +             */        
53 +            virtual void setA(const RotMat3x3d& a);
54 +           /**
55 +             * Sets  the rotation matrix of this stuntdouble in specified snapshot
56 +             * @param a rotation matrix to be set
57 +             * @param snapshotNo
58 +             * @see #getA
59 +             */        
60 +            virtual void setA(const RotMat3x3d& a, int snapshotNo);
61 +
62              /**
63               * Returns the inertia tensor of this stuntdouble
64               * @return the inertia tensor of this stuntdouble
# Line 97 | Line 117 | namespace oopse{
117  
118          private:
119              
120 <            Mat3x3d inertiaTensor_;      
120 >            Mat3x3d inertiaTensor_;    
121 >            RotMat3x3d sU_;               /**< body fixed standard unit vector */
122 >            
123              vector<Atom*> atoms_;
124              vector<Vector3d> refCoords;
125      };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines