ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/brains/Snapshot.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/brains/Snapshot.hpp (file contents):
Revision 1683, Thu Oct 28 22:34:02 2004 UTC vs.
Revision 1696 by tim, Tue Nov 2 15:23:46 2004 UTC

# Line 42 | Line 42 | namespace oopse{
42  
43   namespace oopse{
44  
45    class StuntDouble;
46    
45      /**
46       * @class Snapshot Snapshot.hpp "brains/Snapshot.hpp"
47       * @brief Snapshot class is a repository class for storing dynamic data during
# Line 74 | Line 72 | namespace oopse{
72                  id_ = id;
73              }
74  
77            //template<typename T>
78            //static typename T::ElemPointerType getArrayPointer(vector<T>& v) {
79            //    return v[0]->getArrayPointer();
80            //}
81
75              int getSize() {
76                  return atomData.getSize() + rigidbodyData.getSize();
77              }
# Line 106 | Line 99 | namespace oopse{
99  
100              /** Returns the inverse H-Matrix */
101              Mat3x3d getInvHmat() {
102 <                return invHmat_
102 >                return invHmat_;
103              }
104  
105              double getTimeStamp() {
# Line 117 | Line 110 | namespace oopse{
110                  timeStamp_ =timeStamp;
111              }
112  
120
113              DataStorage atomData;
114              DataStorage rigidbodyData;
115              
124            friend class StuntDouble;
125            
116          private:
117              double timeStamp_;
118              Mat3x3d hmat_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines