71 |
|
/** Returns the number of frames in the dump file*/ |
72 |
|
int getNFrames(); |
73 |
|
|
74 |
+ |
void setNeedCOMprops(bool ncp) { |
75 |
+ |
needCOMprops_ = ncp; |
76 |
+ |
} |
77 |
|
|
78 |
|
void readFrame(int whichFrame); |
79 |
|
|
87 |
|
|
88 |
|
void readFrameProperties(std::istream& inputStream); |
89 |
|
|
90 |
< |
void readStuntDoubles(std::istream& inputStream); |
88 |
< |
|
90 |
> |
void readStuntDoubles(std::istream& inputStream); |
91 |
|
|
92 |
|
SimInfo* info_; |
93 |
|
|
103 |
|
bool needPos_; |
104 |
|
bool needVel_; |
105 |
|
bool needQuaternion_; |
106 |
< |
bool needAngMom_; |
106 |
> |
bool needAngMom_; |
107 |
> |
bool needCOMprops_; |
108 |
|
|
109 |
|
const static int bufferSize = 4096; |
110 |
|
char buffer[bufferSize]; |