Server
Default server client which loads content for a BIMViewer via HTTP from the file system.
A BIMViewer is instantiated with an instance of this class.
To load content from an alternative source, instantiate BIMViewer with your own custom implementation of this class.
Constructor Summary
| Public Constructor | ||
| public |
constructor(cfg: *) Constructs a Server. |
|
Method Summary
| Public Methods | ||
| public |
getGeometry(projectId: String, modelId: String, done: Function, error: Function) Gets geometry for a model within a project. |
|
| public |
Gets existing issues for a model within a project. |
|
| public |
getMetadata(projectId: String, modelId: String, done: Function, error: Function) Gets metadata for a model within a project. |
|
| public |
getObjectInfo(projectId: String, modelId: String, objectId: String, done: Function, error: Function) Gets metadata for an object within a model within a project. |
|
| public |
getProject(projectId: String, done: Function, error: Function) Gets information for a project. |
|
| public |
getProjects(done: Function, error: Function) Gets information on all available projects. |
|
Public Constructors
Public Methods
public getGeometry(projectId: String, modelId: String, done: Function, error: Function) source
Gets geometry for a model within a project.
public getIssues(projectId: String, modelId: String, done: Function, error: Function) source
Gets existing issues for a model within a project.
public getMetadata(projectId: String, modelId: String, done: Function, error: Function) source
Gets metadata for a model within a project.
public getObjectInfo(projectId: String, modelId: String, objectId: String, done: Function, error: Function) source
Gets metadata for an object within a model within a project.
Reference
Source
