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

Function buildRig

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

Source from the content-addressed store, hash-verified

95}
96
97export function buildRig(overrides: Partial<Rig> = {}): Rig {
98 const refSensorId = overrides.refSensorId ?? { type: SensorType.CAMERA, id: 1 };
99
100 return {
101 rigId: 1,
102 refSensorId,
103 sensors: [{ sensorId: refSensorId, hasPose: false }],
104 ...overrides,
105 };
106}
107
108export function buildFrame(overrides: Partial<Frame> = {}): Frame {
109 return {

Callers 2

buildRigDataFunction · 0.85
builders.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected