Class SliceViewChunkSource<Spec, ChunkType>Abstract

License

Copyright 2016 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Type Parameters

Hierarchy

Implements

Constructors

Properties

RPC_TYPE_ID: string

Should be set to a constant specifying the SharedObject type identifier on the prototype of final derived owner classes. It is not used on counterpart (non-owner) classes.

chunkManager: ChunkManager
chunks: Map<string, ChunkType>
disposedStacks: any
immediateChunkUpdates: boolean = false

If set to true, chunk updates will be applied to this source immediately, rather than queueing them. Sources that dynamically update chunks and need to ensure a consistent order of processing relative to other messages between the frontend and worker should set this to true.

isOwner: undefined | boolean
key: any
refCount: number = 1
referencedGeneration: number
rpc: null | RPC = null
rpcId: null | number = null
spec: Spec
unreferencedGeneration: number
wasDisposed: undefined | boolean

Accessors

Methods

  • Parameters

    Returns {
        chunkDataSize: number[];
        lowerVoxelBound: number[];
        upperVoxelBound: number[];
    }

    • chunkDataSize: number[]
    • lowerVoxelBound: number[]
    • upperVoxelBound: number[]

Generated using TypeDoc