MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / buildFrame

Function buildFrame

src/test/builders/colmapBuilders.ts:108–119  ·  view source on GitHub ↗
(overrides: Partial<Frame> = {})

Source from the content-addressed store, hash-verified

106}
107
108export function buildFrame(overrides: Partial<Frame> = {}): Frame {
109 return {
110 frameId: 1,
111 rigId: 1,
112 rigFromWorld: {
113 qvec: [1, 0, 0, 0],
114 tvec: [0, 0, 0],
115 },
116 dataIds: [{ sensorId: { type: SensorType.CAMERA, id: 1 }, dataId: 1 }],
117 ...overrides,
118 };
119}
120
121export function buildRigSensor(overrides: Partial<RigSensor> = {}): RigSensor {
122 return {

Callers 3

buildRigDataFunction · 0.85
builders.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected