Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultiObjectsStorage

This class can be used when parsing files containing objects of different type (e.g., coarse-grained structure and all-atomistic one) which should result in multiple components being created.

Hierarchy

  • MultiObjectsStorage

Index

Constructors

constructor

Properties

Private _componentTransformations

_componentTransformations: (undefined | Matrix4)[]

Private _storedObjects

_storedObjects: TObj[]

Private _visibilityStatus

_visibilityStatus: (undefined | false | true)[]

Private _visualizationProperties

_visualizationProperties: (undefined | VisualizationProperties)[]

Accessors

storedObjects

  • get storedObjects(): TObj[]
  • set storedObjects(objects: TObj[]): void

type

  • get type(): string

Methods

applyStoredDataToComponent

  • applyStoredDataToComponent(srcObject: TObj, index: number, newComp: Component): void

getComponentTransformation

  • getComponentTransformation(i: number): Matrix4 | undefined

getComponentVisibility

  • getComponentVisibility(i: number): boolean | undefined

getVisualizationProperties

setComponentTransformation

  • setComponentTransformation(i: number, position: Vector3, rotation: Quaternion): void

setComponentVisibility

  • setComponentVisibility(i: number, isVisible: boolean): void

setVisualizationProperties

Generated using TypeDoc