vim-webgl-component
Version:
A demonstration app built on top of the vim-webgl-viewer
41 lines (40 loc) • 1.45 kB
TypeScript
/**
* @module viw-webgl-component
*/
import React from 'react';
import * as VIM from 'vim-webgl-viewer/';
import { TreeActionRef } from './bimTree';
import { Isolation } from '../helpers/isolation';
import { ComponentCamera } from '../helpers/camera';
import { ViewerState } from '../webgl/viewerState';
import { ComponentSettings } from '../settings/settings';
import { BimInfoPanelRef } from './bimInfoData';
export declare function OptionalBimPanel(props: {
viewer: VIM.Viewer;
camera: ComponentCamera;
viewerState: ViewerState;
isolation: Isolation;
visible: boolean;
settings: ComponentSettings;
treeRef: React.MutableRefObject<TreeActionRef | undefined>;
bimInfoRef: BimInfoPanelRef;
}): JSX.Element;
/**
* Returns a jsx component representing most data of a vim object or vim document.
* @param viewer viewer helper
* @param vim Vim from which to get the data.
* @param selection Current viewer selection.
* @param isolation Isolation object.
* @param visible will only render if this is true.
* @returns
*/
export declare function BimPanel(props: {
viewer: VIM.Viewer;
camera: ComponentCamera;
viewerState: ViewerState;
isolation: Isolation;
visible: boolean;
settings: ComponentSettings;
treeRef: React.MutableRefObject<TreeActionRef | undefined>;
bimInfoRef: BimInfoPanelRef;
}): import("react/jsx-runtime").JSX.Element;