backbone.ts 1.3 KB

1234567891011121314151617181920212223242526272829
  1. // /**
  2. // * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. // *
  4. // * @author Alexander Rose <alexander.rose@weirdbyte.de>
  5. // */
  6. // import { PolymerBackboneVisual, PolymerBackboneParams } from '../visual/polymer-backbone-cylinder';
  7. // import { ParamDefinition as PD } from 'mol-util/param-definition';
  8. // import { UnitsRepresentation } from '../units-representation';
  9. // import { StructureRepresentation } from '../representation';
  10. // import { Representation } from 'mol-repr/representation';
  11. // import { ThemeRegistryContext } from 'mol-theme/theme';
  12. // import { Structure } from 'mol-model/structure';
  13. // export const BackboneParams = {
  14. // ...PolymerBackboneParams,
  15. // }
  16. // export function getBackboneParams(ctx: ThemeRegistryContext, structure: Structure) {
  17. // return BackboneParams // TODO return copy
  18. // }
  19. // export type BackboneProps = PD.DefaultValues<typeof BackboneParams>
  20. // export type BackboneRepresentation = StructureRepresentation<BackboneProps>
  21. // export function BackboneRepresentation(defaultProps: BackboneProps): BackboneRepresentation {
  22. // return Representation.createMulti('Backbone', defaultProps, [
  23. // UnitsRepresentation('Polymer backbone cylinder', defaultProps, PolymerBackboneVisual)
  24. // ])
  25. // }