12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /**
- * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
- *
- * @author Alexander Rose <alexander.rose@weirdbyte.de>
- * @author David Sehnal <david.sehnal@gmail.com>
- */
- import { Structure } from 'mol-model/structure';
- import { Representation, RepresentationProps, RepresentationProvider } from '../representation';
- import { ParamDefinition as PD } from 'mol-util/param-definition';
- import { Geometry } from 'mol-geo/geometry/geometry';
- import { Mesh } from 'mol-geo/geometry/mesh/mesh';
- import { Points } from 'mol-geo/geometry/points/points';
- import { Lines } from 'mol-geo/geometry/lines/lines';
- import { DirectVolume } from 'mol-geo/geometry/direct-volume/direct-volume';
- export interface StructureRepresentation<P extends RepresentationProps = {}> extends Representation<Structure, P> { }
- export type StructureRepresentationProvider<P extends PD.Params> = RepresentationProvider<Structure, P>
- //
- export const StructureParams = {
- ...Geometry.Params,
- }
- export type StructureParams = typeof StructureParams
- export const StructureMeshParams = {
- ...Mesh.Params,
- ...StructureParams,
- }
- export type StructureMeshParams = typeof StructureMeshParams
- export const StructurePointsParams = {
- ...Points.Params,
- ...StructureParams,
- }
- export type StructurePointsParams = typeof StructurePointsParams
- export const StructureLinesParams = {
- ...Lines.Params,
- ...StructureParams,
- }
- export type StructureLinesParams = typeof StructureLinesParams
- export const StructureDirectVolumeParams = {
- ...DirectVolume.Params,
- ...StructureParams,
- }
- export type StructureDirectVolumeParams = typeof StructureDirectVolumeParams
- export { ComplexRepresentation } from './complex-representation'
- export { UnitsRepresentation } from './units-representation'
- export { ComplexVisual } from './complex-visual'
- export { UnitsVisual } from './units-visual'
|