@ndmspc/ndmvr 1.0.1 → 1.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ndmvr.d.ts +6 -3
- package/dist/ndmvr.es.js +7154 -5731
- package/dist/ndmvr.umd.js +456 -29
- package/package.json +4 -4
package/dist/ndmvr.d.ts
CHANGED
|
@@ -92,10 +92,11 @@ export declare const HistogramContext: Context<any>;
|
|
|
92
92
|
|
|
93
93
|
export { histogramSubjectGet }
|
|
94
94
|
|
|
95
|
-
export declare function HistogramWrapper({ id }: HistogramWrapperProps): JSX.Element;
|
|
95
|
+
export declare function HistogramWrapper({ id, onHistogramModify }: HistogramWrapperProps): JSX.Element;
|
|
96
96
|
|
|
97
97
|
export declare interface HistogramWrapperProps {
|
|
98
98
|
id: string;
|
|
99
|
+
onHistogramModify?: (id: any, position: THREE.Vector3, scale: THREE.Vector3) => void;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
export declare const IframeCernboxService: ({ targetOrigin, onConfigLoad }: IframeServiceProps_2) => any;
|
|
@@ -186,7 +187,7 @@ export declare interface NdmvrConfig {
|
|
|
186
187
|
config?: object;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
export declare function NdmvrEnv({ children, currentConfig, onConfigChange, menu, help, showUIExternal, onUIStateChange, }: NdmvrEnvProps): JSX.Element;
|
|
190
|
+
export declare function NdmvrEnv({ children, currentConfig, onConfigChange, menu, help, showUIExternal, onUIStateChange, onHistogramModify, }: NdmvrEnvProps): JSX.Element;
|
|
190
191
|
|
|
191
192
|
export declare interface NdmvrEnvProps {
|
|
192
193
|
children?: React.ReactNode;
|
|
@@ -197,12 +198,14 @@ export declare interface NdmvrEnvProps {
|
|
|
197
198
|
help?: boolean;
|
|
198
199
|
showUIExternal?: boolean;
|
|
199
200
|
onUIStateChange?: (isVisible: boolean) => void;
|
|
201
|
+
onHistogramModify?: (id: any, position: THREE.Vector3, scale: THREE.Vector3) => void;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
export declare function NdmvrScene({ originRef }: NdmvrSceneProps): JSX.Element;
|
|
204
|
+
export declare function NdmvrScene({ originRef, onHistogramModify }: NdmvrSceneProps): JSX.Element;
|
|
203
205
|
|
|
204
206
|
export declare interface NdmvrSceneProps {
|
|
205
207
|
originRef: React.RefObject<THREE.Group>;
|
|
208
|
+
onHistogramModify?: (id: any, position: THREE.Vector3, scale: THREE.Vector3) => void;
|
|
206
209
|
}
|
|
207
210
|
|
|
208
211
|
export declare function RaycasterBridge({ rc, originRef, doubleClickMs, handedness, }: RaycasterBridgeProps): any;
|