-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,244 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {BCFVector} from "./BCFVector"; | ||
|
||
/** | ||
* BCF bitmap. | ||
*/ | ||
export interface BCFBitmap { | ||
|
||
/** | ||
* BCF bitmap type. | ||
*/ | ||
bitmap_type: string, | ||
|
||
/** | ||
* BCF bitmap data. | ||
*/ | ||
bitmap_data: string, | ||
|
||
/** | ||
* BCF bitmap location. | ||
*/ | ||
location: BCFVector, | ||
|
||
/** | ||
* BCF bitmap normal direction. | ||
*/ | ||
normal: { x: 0, y: 0, z: -1 }, | ||
|
||
/** | ||
* BCF bitmap up direction. | ||
*/ | ||
up: { x: 0, y: -1, z: 0 }, | ||
|
||
/** | ||
* BCF bitmap height. | ||
*/ | ||
height: 24 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {BCFVector} from "./BCFVector"; | ||
|
||
/** | ||
* BCF clipping plane. | ||
*/ | ||
export interface BCFClippingPlane { | ||
|
||
/** | ||
* BCF clipping plane bitmap MIME type. | ||
*/ | ||
bitmap_type?: string, | ||
|
||
/** | ||
* BCF clipping plane bitmap data. | ||
*/ | ||
bitmap_data?: string, | ||
|
||
/** | ||
* BCF clipping plane location. | ||
*/ | ||
location: BCFVector, | ||
|
||
/** | ||
* BCF clipping plane direction. | ||
*/ | ||
direction: BCFVector, | ||
|
||
/** | ||
* BCF clipping plane up direction. | ||
*/ | ||
up: BCFVector, | ||
|
||
/** | ||
* BCF clipping plane height. | ||
*/ | ||
height: number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {BCFComponent} from "./BCFComponent"; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
export interface BCFColoringComponent { | ||
|
||
/** | ||
* TODO | ||
*/ | ||
components: BCFComponent[]; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
color: string; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* TODO | ||
*/ | ||
export interface BCFComponent { | ||
|
||
/** | ||
* TODO | ||
*/ | ||
"ifc_guid": string, | ||
|
||
/** | ||
* TODO | ||
*/ | ||
"originating_system"?: string, | ||
|
||
/** | ||
* TODO | ||
*/ | ||
"authoring_tool_id"?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import {BCFColoringComponent} from "./BCFColoringComponent"; | ||
import {BCFVisibilityComponent} from "./BCFVisibilityComponent"; | ||
import {BCFComponent} from "./BCFComponent"; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
export interface BCFComponents { | ||
|
||
/** | ||
* TODO | ||
*/ | ||
coloring: BCFColoringComponent[]; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
visibility?: BCFVisibilityComponent; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
selection?: BCFComponent[]; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
translucency: BCFComponent[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {BCFVector} from "./BCFVector"; | ||
|
||
/** | ||
* BCF line segment. | ||
*/ | ||
export interface BCFLine { | ||
|
||
/** | ||
* BCF line segment start point. | ||
*/ | ||
"start_point": BCFVector, | ||
|
||
/** | ||
* BCF line segment end point. | ||
*/ | ||
"end_point": BCFVector | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import {BCFVector} from "./BCFVector"; | ||
|
||
/** | ||
* BCF orthogonal camera. | ||
*/ | ||
export interface BCFOrthogonalCamera { | ||
|
||
/** | ||
* BCF orthogonal camera viewpoint. | ||
*/ | ||
camera_view_point: BCFVector; | ||
|
||
/** | ||
* BCF orthogonal camera direction. | ||
*/ | ||
camera_direction: BCFVector; | ||
|
||
/** | ||
* BCF orthogonal camera "up". | ||
*/ | ||
camera_up_vector: BCFVector; | ||
|
||
/** | ||
* BCF orthogonal camera view-to-world scale. | ||
*/ | ||
view_to_world_scale: number; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import {BCFVector} from "./BCFVector"; | ||
|
||
/** | ||
* BCF perspective camera. | ||
*/ | ||
export interface BCFPerspectiveCamera { | ||
|
||
/** | ||
* BCF perspective camera viewpoint. | ||
*/ | ||
camera_view_point: BCFVector, | ||
|
||
/** | ||
* BCF perspective camera direction. | ||
*/ | ||
camera_direction: BCFVector, | ||
|
||
/** | ||
* BCF perspective camera "up". | ||
*/ | ||
camera_up_vector: BCFVector, | ||
|
||
/** | ||
* BCF perspective camera field-of-view. | ||
*/ | ||
field_of_view: number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {BCFComponent} from "./BCFComponent"; | ||
|
||
/** | ||
* TODO | ||
*/ | ||
export interface BCFSelectionComponent { | ||
|
||
/** | ||
* TODO | ||
*/ | ||
default_selection: boolean, | ||
|
||
/** | ||
* TODO | ||
*/ | ||
exceptions: BCFComponent[] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* TODO | ||
*/ | ||
export interface BCFSnapshot { | ||
|
||
/** | ||
* TODO | ||
*/ | ||
snapshot_type: "png" | "jpeg", | ||
|
||
/** | ||
* TODO | ||
*/ | ||
snapshot_data: string | ||
} |
Oops, something went wrong.