|
@@ -22,6 +22,7 @@ import { addBoundingBox } from 'mol-geo/mesh/builder/bounding-box';
|
|
import { PointRepresentation } from 'mol-geo/representation/structure/representation/point';
|
|
import { PointRepresentation } from 'mol-geo/representation/structure/representation/point';
|
|
import { StructureRepresentation } from 'mol-geo/representation/structure';
|
|
import { StructureRepresentation } from 'mol-geo/representation/structure';
|
|
import { BehaviorSubject } from 'rxjs';
|
|
import { BehaviorSubject } from 'rxjs';
|
|
|
|
+import { SpacefillRepresentation } from 'mol-geo/representation/structure/representation/spacefill';
|
|
|
|
|
|
export interface StructureView {
|
|
export interface StructureView {
|
|
readonly viewer: Viewer
|
|
readonly viewer: Viewer
|
|
@@ -66,6 +67,7 @@ export async function StructureView(viewer: Viewer, models: ReadonlyArray<Model>
|
|
point: false,
|
|
point: false,
|
|
ballAndStick: false,
|
|
ballAndStick: false,
|
|
carbohydrate: false,
|
|
carbohydrate: false,
|
|
|
|
+ spacefill: false,
|
|
symmetryAxes: false,
|
|
symmetryAxes: false,
|
|
polymerSphere: false,
|
|
polymerSphere: false,
|
|
}
|
|
}
|
|
@@ -75,6 +77,7 @@ export async function StructureView(viewer: Viewer, models: ReadonlyArray<Model>
|
|
point: PointRepresentation(),
|
|
point: PointRepresentation(),
|
|
ballAndStick: BallAndStickRepresentation(),
|
|
ballAndStick: BallAndStickRepresentation(),
|
|
carbohydrate: CarbohydrateRepresentation(),
|
|
carbohydrate: CarbohydrateRepresentation(),
|
|
|
|
+ spacefill: SpacefillRepresentation(),
|
|
}
|
|
}
|
|
|
|
|
|
const symmetryAxes = ShapeRepresentation()
|
|
const symmetryAxes = ShapeRepresentation()
|