/dports/misc/ezc3d/ezc3d-Release_1.4.6/test/python3/ |
H A D | test_binder_python.py | 14 c3d = ezc3d.c3d() 104 c3d = ezc3d.c3d() 162 c3d = ezc3d.c3d() 289 c3d = ezc3d.c3d() 324 c3d = ezc3d.c3d("test/c3dTestFiles/Optotrak.c3d") 325 c3d.add_event( 334 c3d.add_event([0, 0.2]) 349 c3d = c3d_to_compare 350 c3d.add_event( 380 c3d = ezc3d.c3d("test/c3dTestFiles/Vicon.c3d") [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/examples/from_users/python3/ |
H A D | btk_like_example.py | 9 from ezc3d import c3d 81 self.c3d = c3d(os.path.join(fullPath)) 93 if "header" in self.c3d: 114 if "SUBJECTS" in self.c3d["parameters"]: 122 if "POINT" in self.c3d["parameters"]: 162 if "ANALOG" in self.c3d["parameters"]: 183 if "ANALYSIS" in self.c3d["parameters"]: 190 if "PROCESSING" in self.c3d["parameters"]: 205 data = self.c3d["data"]["analogs"] 213 data = self.c3d["data"]["points"] [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/test/matlab/ |
H A D | test_binder_matlab.m | 6 % Load an empty c3d structure 8 c3d = ezc3dRead(); variable 11 assert(c3d.header.points.size == 0) 85 c3d.data.points = pointData; 100 ezc3dWrite('temporary.c3d', c3d); 185 ezc3dWrite('temporary.c3d', c3d); 197 c3d = ezc3dAddEvent(c3d, [0, 0.2]); variable 198 ezc3dWrite('temporary.c3d', c3d); 214 c3d = c3dToCompare; variable 216 c3d = ezc3dAddEvent(c3d, [0, 0.4]); variable [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/test/ |
H A D | test_ezc3d.cpp | 26 ezc3d::c3d c3d; member 111 c3dStruc.c3d.frame(frame); in fillC3D() 179 void compareHeader(const ezc3d::c3d& c3d1, const ezc3d::c3d& c3d2){ in compareHeader() 196 void compareData(const ezc3d::c3d& c3d1, const ezc3d::c3d& c3d2 in compareData() 306 ezc3d::c3d new_c3d; in TEST() 330 ezc3d::c3d new_c3d; in TEST() 349 ezc3d::c3d new_c3d; in TEST() 379 ezc3d::c3d new_c3d; in TEST() 620 new_c3d.c3d.write(savepath); in TEST() 621 ezc3d::c3d c3dBis(savepath); in TEST() [all …]
|
H A D | test_modules.cpp | 7 ezc3d::c3d c3d("c3dTestFiles/Vicon.c3d"); in TEST() local 13 ezc3d::c3d c3d("c3dTestFiles/FP_Type1.c3d"); in TEST() local 20 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() 22 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() 72 ezc3d::c3d c3d("c3dTestFiles/Qualisys.c3d"); in TEST() local 79 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() 81 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() 161 ezc3d::c3d c3d("c3dTestFiles/FP_Type3.c3d"); in TEST() local 168 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() 170 c3d.header().nbFrames() * c3d.header().nbAnalogByFrame()); in TEST() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/src/ |
H A D | Data.cpp | 18 ezc3d::c3d &c3d, std::fstream &file) { in Data() argument 24 if (c3d.header().nb3dPoints() > 0) in Data() 25 pointNames = c3d.parameters() in Data() 29 if (c3d.header().nbAnalogs() > 0) in Data() 30 analogNames = c3d.parameters() in Data() 37 if (c3d.header().nb3dPoints()) in Data() 38 pointScaleFactor = c3d.parameters() in Data() 42 if (c3d.header().nbAnalogs()) in Data() 88 c3d.readInt( in Data() 92 c3d.readInt( in Data() [all …]
|
H A D | Header.cpp | 40 ezc3d::c3d &c3d, in Header() argument 65 read(c3d, file); in Header() 177 void ezc3d::Header::read(ezc3d::c3d &c3d, std::fstream &file) in read() argument 204 _nb3dPoints = c3d.readUint(processorType, file, in read() 210 _firstFrame = c3d.readUint(processorType, file, in read() 227 _dataStart = c3d.readUint(processorType, file, in read() 244 _nbEvents = c3d.readUint(processorType, file, in read() 256 _eventsLabel[i] = c3d.readString(file, in read() 271 c3d &c3d, std::fstream &file) { in readProcessorType() argument 277 c3d.readUint( in readProcessorType() [all …]
|
H A D | ezc3d.cpp | 33 ezc3d::c3d::c3d(): in c3d() function in ezc3d::c3d 48 ezc3d::c3d::c3d( in c3d() function in ezc3d::c3d 89 void ezc3d::c3d::write( in write() 122 void ezc3d::c3d::readFile( in readFile() 144 int ezc3d::c3d::hex2int( in hex2int() 182 int ezc3d::c3d::readInt( in readInt() 505 void ezc3d::c3d::frame( in frame() 566 void ezc3d::c3d::point( in point() 583 void ezc3d::c3d::point( in point() 591 void ezc3d::c3d::point( in point() [all …]
|
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/examples/ |
H A D | c3dExport.m | 35 c3d = osimC3D(c3dpath,1); variable 41 rMakers = c3d.getRate_marker(); 43 nForces = c3d.getNumForces(); 45 rForces = c3d.getRate_force(); 48 t0 = c3d.getStartTime(); 49 tn = c3d.getEndTime(); 52 c3d.rotateData('x',-90) 67 % c3d.writeTRC() Write to dir of input c3d. 68 % c3d.writeTRC('Walking.trc') Write to dir of input c3d with defined file name. 73 % c3d.writeMOT() Write to dir of input c3d. [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/examples/python3/ |
H A D | create_and_read.py | 6 c3d = ezc3d.c3d() variable 9 c3d["parameters"]["POINT"]["RATE"]["value"] = [100] 10 c3d["parameters"]["POINT"]["LABELS"]["value"] = ("point1", "point2", "point3", "point4", "point5") 11 c3d["data"]["points"] = np.random.rand(3, 5, 100) 13 c3d["parameters"]["ANALOG"]["RATE"]["value"] = [1000] 14 c3d["parameters"]["ANALOG"]["LABELS"]["value"] = ("analog1", "analog2", "analog3", "analog4", "anal… 15 c3d["data"]["analogs"] = np.random.rand(1, 6, 1000) 18 c3d.add_parameter("POINT", "NewParam", [1, 2, 3]) 21 c3d.add_parameter("NewGroup", "NewParam", ["MyParam1", "MyParam2"]) 24 c3d.write("temporary.c3d") [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/binding/matlab/ |
H A D | ezc3dAddEvent.m | 1 function c3d = ezc3dAddEvent(c3d, time, context, label, description, subject, icon_id, generic_flag) 4 % c3d: The C3D struct to add the event to 40 if ~isfield(c3d.parameters, 'EVENT') 52 c3d.parameters.EVENT.USED.DATA = c3d.parameters.EVENT.USED.DATA + 1; 53 c3d.parameters.EVENT.TIMES.DATA = [c3d.parameters.EVENT.TIMES.DATA, time]; 54 c3d.parameters.EVENT.CONTEXTS.DATA = [c3d.parameters.EVENT.CONTEXTS.DATA, {context}]; 55 c3d.parameters.EVENT.LABELS.DATA = [c3d.parameters.EVENT.LABELS.DATA, {label}]; 56 … c3d.parameters.EVENT.DESCRIPTIONS.DATA = [c3d.parameters.EVENT.DESCRIPTIONS.DATA, {description}]; 57 c3d.parameters.EVENT.SUBJECTS.DATA = [c3d.parameters.EVENT.SUBJECTS.DATA, {subject}]; 58 c3d.parameters.EVENT.ICON_IDS.DATA = [c3d.parameters.EVENT.ICON_IDS.DATA, icon_id]; [all …]
|
H A D | ezc3dRead.cpp | 44 ezc3d::c3d *c3d; in mexFunction() local 52 c3d = new ezc3d::c3d; in mexFunction() 55 c3d = new ezc3d::c3d(path); in mexFunction() 102 c3d->header().nbAnalogByFrame() in mexFunction() 105 c3d->header().nbAnalogByFrame() in mexFunction() 129 size_t nbGroups(c3d->parameters().nbGroups()); in mexFunction() 151 c3d->parameters().group(g)); in mexFunction() 237 size_t nAnalogs(c3d->header().nbAnalogs()); in mexFunction() 344 size_t nFrames(c3d->header().nbFrames() * c3d->header().nbAnalogByFrame()); in mexFunction() 371 delete c3d; in mexFunction() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/binding/octave/ |
H A D | ezc3dAddEvent.m | 1 function c3d = ezc3dAddEvent(c3d, time, context, label, description, subject, icon_id, generic_flag) 4 % c3d: The C3D struct to add the event to 40 if ~isfield(c3d.parameters, 'EVENT') 52 c3d.parameters.EVENT.USED.DATA = c3d.parameters.EVENT.USED.DATA + 1; 53 c3d.parameters.EVENT.TIMES.DATA = [c3d.parameters.EVENT.TIMES.DATA, time]; 54 c3d.parameters.EVENT.CONTEXTS.DATA = [c3d.parameters.EVENT.CONTEXTS.DATA, {context}]; 55 c3d.parameters.EVENT.LABELS.DATA = [c3d.parameters.EVENT.LABELS.DATA, {label}]; 56 … c3d.parameters.EVENT.DESCRIPTIONS.DATA = [c3d.parameters.EVENT.DESCRIPTIONS.DATA, {description}]; 57 c3d.parameters.EVENT.SUBJECTS.DATA = [c3d.parameters.EVENT.SUBJECTS.DATA, {subject}]; 58 c3d.parameters.EVENT.ICON_IDS.DATA = [c3d.parameters.EVENT.ICON_IDS.DATA, icon_id]; [all …]
|
H A D | ezc3dRead.cpp | 48 ezc3d::c3d *c3d; in mexFunction() local 56 c3d = new ezc3d::c3d; in mexFunction() 59 c3d = new ezc3d::c3d(path); in mexFunction() 104 c3d->header().nbAnalogByFrame() in mexFunction() 107 c3d->header().nbAnalogByFrame() in mexFunction() 131 size_t nbGroups(c3d->parameters().nbGroups()); in mexFunction() 153 c3d->parameters().group(g)); in mexFunction() 239 size_t nAnalogs(c3d->header().nbAnalogs()); in mexFunction() 347 size_t nFrames(c3d->header().nbFrames() * c3d->header().nbAnalogByFrame()); in mexFunction() 374 delete c3d; in mexFunction() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/examples/ |
H A D | modify_c3d_example.cpp | 10 ezc3d::c3d c3d("c3dExampleFiles/Vicon.c3d"); in main() local 13 c3d.point("new_point1"); // Add empty in main() 21 for (size_t i=0; i<c3d.data().nbFrames(); ++i){ in main() 29 c3d.analog("new_analog1"); // add the empty in main() 39 for (size_t f=0; f<c3d.data().nbFrames(); ++f) in main() 41 c3d.analog("new_analogs2", frames_analog); in main() 65 c3d.frame(f); in main() 71 c3d.parameter("new_group_1", p1); in main() 74 c3d.parameter("new_group_1", p2); in main() 77 c3d.parameter("new_group_2", p3); in main() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/include/modules/ |
H A D | ForcePlatforms.h | 41 const ezc3d::c3d& c3d); 75 const ezc3d::c3d &c3d); 159 const ezc3d::c3d &c3d); 168 const ezc3d::c3d &c3d); 177 const ezc3d::c3d &c3d); 186 const ezc3d::c3d &c3d); 201 const ezc3d::c3d &c3d); 213 ForcePlatforms(const ezc3d::c3d& c3d);
|
/dports/misc/visp/visp-3.4.0/modules/vision/src/pose-estimation/ |
H A D | vpPoseDementhon.cpp | 123 c3d.clear(); in poseDementhonNonPlan() 167 …z = cMo[2][0] * c3d[i].get_oX() + cMo[2][1] * c3d[i].get_oY() + cMo[2][2] * c3d[i].get_oZ() + cMo[… in poseDementhonNonPlan() 187 …double eps = (cMo[2][0] * c3d[i].get_oX() + cMo[2][1] * c3d[i].get_oY() + cMo[2][2] * c3d[i].get_o… in poseDementhonNonPlan() 199 …z = cMo[2][0] * c3d[i].get_oX() + cMo[2][1] * c3d[i].get_oY() + cMo[2][2] * c3d[i].get_oZ() + cMo[… in poseDementhonNonPlan() 309 …z = cMo[2][0] * c3d[i].get_oX() + cMo[2][1] * c3d[i].get_oY() + cMo[2][2] * c3d[i].get_oZ() + cMo[… in calculArbreDementhon() 346 …z = cMo1[2][0] * c3d[i].get_oX() + cMo1[2][1] * c3d[i].get_oY() + cMo1[2][2] * c3d[i].get_oZ() + c… in calculArbreDementhon() 348 …z = cMo2[2][0] * c3d[i].get_oX() + cMo2[2][1] * c3d[i].get_oY() + cMo2[2][2] * c3d[i].get_oZ() + c… in calculArbreDementhon() 440 c3d.clear(); in poseDementhonPlan() 556 …double X = c3d[i].get_oX() * cMo[0][0] + c3d[i].get_oY() * cMo[0][1] + c3d[i].get_oZ() * cMo[0][2]… in computeResidualDementhon() 557 …double Y = c3d[i].get_oX() * cMo[1][0] + c3d[i].get_oY() * cMo[1][1] + c3d[i].get_oZ() * cMo[1][2]… in computeResidualDementhon() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/src/modules/ |
H A D | ForcePlatforms.cpp | 21 const ezc3d::c3d& c3d) in ForcePlatform() argument 24 extractUnits(c3d); in ForcePlatform() 25 extractType(idx, c3d); in ForcePlatform() 30 extractData(idx, c3d); in ForcePlatform() 49 const ezc3d::c3d &c3d) in extractUnits() argument 138 const ezc3d::c3d &c3d) in extractType() argument 186 const ezc3d::c3d &c3d) in ForcePlatforms() argument 197 const ezc3d::c3d &c3d) in extractCorners() argument 221 const ezc3d::c3d &c3d) in extractOrigin() argument 247 const ezc3d::c3d &c3d) in extractCalMatrix() argument [all …]
|
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/tests/ |
H A D | testOsimC3D.m | 3 c3dpath = fullfile(cd,'walking2.c3d'); 12 %% Get path to c3d file in tests. 40 c3d.rotateData('x',-90);c3d.rotateData('x',-90); 124 c3d.writeTRC() 126 error('c3d.writeTRC() did not write walking2.trc to c3d dir') 131 error('c3d.writeTRC(fileName) did not write testing.trc to c3d dir') 136 error('c3d.writeTRC(fullpath) did not write testing2.trc to c3d dir') 139 c3d.writeMOT() 141 error('c3d.writeMOT() did not write walking2.mot to c3d dir') 146 error('c3d.writeMOT(fileName) did not write testing.mot to c3d dir') [all …]
|
/dports/java/java3d/java3d-1.5.2/j3d-core/src/classes/win32/javax/media/j3d/ |
H A D | Win32NativeConfigTemplate3D.java | 208 boolean hasStereo(Canvas3D c3d) { in hasStereo() argument 209 return isStereoAvailable(c3d.fbConfig, c3d.offScreen); in hasStereo() 214 int getStencilSize(Canvas3D c3d) { in getStencilSize() argument 215 return getStencilSize(c3d.fbConfig, c3d.offScreen); in getStencilSize() 220 boolean hasDoubleBuffer(Canvas3D c3d) { in hasDoubleBuffer() argument 221 return isDoubleBufferAvailable(c3d.fbConfig, c3d.offScreen); in hasDoubleBuffer() 226 boolean hasSceneAntialiasingAccum(Canvas3D c3d) { in hasSceneAntialiasingAccum() argument 227 return isSceneAntialiasingAccumAvailable(c3d.fbConfig, c3d.offScreen); in hasSceneAntialiasingAccum() 232 boolean hasSceneAntialiasingMultisample(Canvas3D c3d) { in hasSceneAntialiasingMultisample() argument 233 GraphicsConfiguration gc = c3d.graphicsConfiguration; in hasSceneAntialiasingMultisample() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/IGESSelect/ |
H A D | IGESSelect_RemoveCurves.cxx | 61 Handle(IGESData_IGESEntity) cuv,c3d; in Edit() 63 c3d = cons->Curve3D(); in Edit() 65 if (UV && !c3d.IsNull()) { in Edit() 66 if (cuv.IsNull() || c3d.IsNull()) return Standard_False; // rien a faire in Edit() 72 c3d.Nullify(); in Edit() 76 cons->Init ( cons->CreationMode(), cons->Surface(), cuv, c3d, pref ); in Edit() 90 Handle(IGESData_IGESEntity) c3d = bndy->ModelSpaceCurve (i); in Edit() 92 if (cuv.IsNull() || c3d.IsNull()) continue; // rien a faire in Edit() 96 if (cuv.IsNull() || c3d.IsNull()) continue; // rien a faire in Edit() 97 c3d.Nullify(); in Edit() [all …]
|
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/universe/ |
H A D | ViewInfo.java | 1206 public void getEyeToVworld(Canvas3D c3d, in getEyeToVworld() argument 1265 public void getProjection(Canvas3D c3d, in getProjection() argument 2075 public void updateCanvas(Canvas3D c3d) { in updateCanvas() argument 2335 Canvas3D c3d = view.getCanvas3D(i) ; in getCanvases() local 2336 Screen3D s3d = c3d.getScreen3D() ; in getCanvases() 2358 this.newMap.put(c3d, ci) ; in getCanvases() 2860 private Canvas3D c3d = null ; field in ViewInfo.CanvasInfo 3006 this.c3d = c3d ; in CanvasInfo() 3008 c3d.hashCode()) ; in CanvasInfo() 3013 c3d.hashCode()) ; in getCanvasInfo() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/examples/matlab/ |
H A D | create_and_read.m | 6 % Load an empty c3d structure 7 c3d = ezc3dRead(); variable 11 c3d.parameters.POINT.RATE.DATA = 100; 12 c3d.parameters.POINT.LABELS.DATA = {'point1', 'point2', 'point3', ... 14 c3d.data.points = rand(3, 5, 100); 16 c3d.parameters.ANALOG.RATE.DATA = 1000; 17 c3d.parameters.ANALOG.LABELS.DATA = {'analog1', 'analog2', 'analog3', ... 19 c3d.data.analogs = rand(1000, 6); 22 c3d.parameters.POINT.NewParam = ezc3dNewParam([1, 2, 3; 4, 5, 6]); 28 ezc3dWrite('temporary.c3d', c3d); [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/binding/python3/ |
H A D | ezc3d_python.i | 23 PyObject * _get_points(const ezc3d::c3d& c3d, const std::vector<int>& points) in _get_points() argument 27 size_t nFrames(c3d.data().nbFrames()); in _get_points() 31 … const ezc3d::DataNS::Points3dNS::Point& point(c3d.data().frame(f).points().point(points[m])); in _get_points() 57 const ezc3d::c3d& c3d, in _get_point_residuals() argument 62 size_t nFrames(c3d.data().nbFrames()); in _get_point_residuals() 89 const ezc3d::c3d& c3d, in _get_point_camera_masks() argument 94 size_t nFrames(c3d.data().nbFrames()); in _get_point_camera_masks() 123 PyObject * _get_analogs(const ezc3d::c3d& c3d, const std::vector<int>& analogs) in _get_analogs() argument 127 size_t nFrames(c3d.data().nbFrames()); in _get_analogs() 128 int nSubframe(c3d.header().nbAnalogByFrame()); in _get_analogs() [all …]
|
/dports/misc/ezc3d/ezc3d-Release_1.4.6/ |
H A D | README.md | 162 ezc3d::c3d c3d; 168 ezc3d::c3d c3d("path/to/c3d.c3d"); 175 ezc3d::c3d c3d; 188 ezc3d::c3d c3d("path_to_c3d.c3d"); 199 ezc3d::c3d c3d; 210 ezc3d::c3d c3d; 220 ezc3d::c3d c3d("path_to_c3d.c3d"); 292 ezc3d::c3d c3d; 329 ezc3d::c3d c3d("my_c3d_with_force_plate_data.c3d"); 473 c = c3d('path_to_c3d.c3d') [all …]
|