Module: @cognite/reveal
Enumerations
- NodeOutlineColor
- PotreePointColorType
- PotreePointShape
- PotreePointSizeType
- WellKnownAsprsPointClassCodes
Classes
- AssetNodeCollection
- BoundingBoxClipper
- CameraManagerHelper
- ClusteredAreaCollection
- Cognite3DModel
- Cognite3DViewer
- CognitePointCloudModel
- ComboControls
- DefaultCameraManager
- IndexSet
- IntersectionNodeCollection
- InvertedNodeCollection
- NodeAppearanceProvider
- NodeCollection
- NumericRange
- PropertyFilterNodeCollection
- SinglePropertyFilterNodeCollection
- TreeIndexNodeCollection
- UnionNodeCollection
Interfaces
- AddModelOptions
- AreaCollection
- CameraManager
- CdfModelNodeCollectionDataProvider
- Cognite3DViewerOptions
- CogniteModelBase
- IntersectionFromPixelOptions
Type Aliases
CadIntersection
Ƭ CadIntersection: Object
Type declaration
Name | Type | Description |
---|---|---|
distanceToCamera | number | Distance from the camera to the intersection. |
model | Cognite3DModel | The model that was intersected. |
point | THREE.Vector3 | Coordinate of the intersection. |
treeIndex | number | Tree index of the intersected 3D node. |
type | "cad" | The intersection type. |
Defined in
packages/api/src/public/migration/types.ts:179
CadModelBudget
Ƭ CadModelBudget: Object
Represents a measurement of how much geometry can be loaded.
Type declaration
Name | Type | Description |
---|---|---|
highDetailProximityThreshold | number | Sectors within this distance from the camera will always be loaded in high details. deprecated This is only used for 3D models processed prior to the Reveal 3.0 release (Q1 2022). |
maximumRenderCost | number | Maximum render cost. This number can be thought of as triangle count, although the number doesn't match this directly. |
Defined in
packages/cad-geometry-loaders/src/CadModelBudget.ts:10
CameraChangeDelegate
Ƭ CameraChangeDelegate: (position
: THREE.Vector3
, target
: THREE.Vector3
) => void
Type declaration
▸ (position
, target
): void
Parameters
Name | Type |
---|---|
position | THREE.Vector3 |
target | THREE.Vector3 |
Returns
void
Defined in
packages/camera-manager/src/types.ts:85
CameraConfiguration
Ƭ CameraConfiguration: Object
Represents a camera configuration, consisting of a camera position and target.
Type declaration
Name | Type |
---|---|
position | THREE.Vector3 |
target | THREE.Vector3 |
Defined in
packages/utilities/src/CameraConfiguration.ts:8
CameraControlsOptions
Ƭ CameraControlsOptions: Object
Type declaration
Name | Type | Description |
---|---|---|
changeCameraTargetOnClick? | boolean | Enables or disables change of camera target on mouse click. New target is then set to the point of the model under current cursor position. Default is false. |
mouseWheelAction? | "zoomToTarget" | "zoomPastCursor" | "zoomToCursor" | Sets mouse wheel initiated action. Modes: 'zoomToTarget' - zooms just to the current target (center of the screen) of the camera. 'zoomPastCursor' - zooms in the direction of the ray coming from camera through cursor screen position, allows going through objects. 'zoomToCursor' - mouse wheel scroll zooms towards the point on the model where cursor is hovering over, doesn't allow going through objects. Default is 'zoomPastCursor'. |
Defined in
packages/camera-manager/src/types.ts:5
CameraState
Ƭ CameraState: Object
Type declaration
Name | Type | Description |
---|---|---|
position? | THREE.Vector3 | Camera position in world space. |
rotation? | THREE.Quaternion | Camera local rotation in quaternion form. |
target? | THREE.Vector3 | Camera target in world space. |