Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Mesh<TrackGeometry, LineMaterial>
    • Track

Implements

Index

Constructors

constructor

Properties

Protected contextManager

contextManager: ContextManager

The ContextManager that will be subscribed to for WebGL rendering context events.

name

name: string

Readonly referenceAxis

referenceAxis: Readonly<R3>

The reference frame axis.

Readonly referenceMeridian

referenceMeridian: Readonly<R3>

The reference frame meridian.

Accessors

R

X

attitude

axis

  • get axis(): VectorE3
  • set axis(axis: VectorE3): void

color

  • get color(): Color
  • set color(color: Color): void

geometry

  • get geometry(): TrackGeometry
  • set geometry(geometry: TrackGeometry): void

gl

  • get gl(): WebGLRenderingContext

material

  • get material(): LineMaterial
  • set material(material: LineMaterial): void

meridian

  • get meridian(): VectorE3
  • set meridian(value: VectorE3): void

modelMatrixUniformName

  • get modelMatrixUniformName(): string
  • set modelMatrixUniformName(name: string): void

normalMatrixUniformName

  • get normalMatrixUniformName(): string
  • set normalMatrixUniformName(name: string): void

opacity

  • get opacity(): number
  • set opacity(newOpacity: number): void

pointSize

  • get pointSize(): number
  • set pointSize(newPointSize: number): void

position

texture

transparent

  • get transparent(): boolean
  • set transparent(transparent: boolean): void

visible

  • get visible(): boolean
  • set visible(visible: boolean): void

Methods

addPoint

  • addPoint(point: VectorE3): void

addRef

  • addRef(): number

bind

  • bind(): Drawable<TrackGeometry, LineMaterial>

cleanUp

  • cleanUp(): void

clear

  • clear(): void

contextFree

  • contextFree(): void

contextGain

  • contextGain(): void

contextLost

  • contextLost(): void

draw

  • draw(): Drawable<TrackGeometry, LineMaterial>

getFacet

  • getFacet(name: string): Facet

getLoggingName

  • getLoggingName(): string
  • Returns the name that was assigned by the call to the setLoggingName method.

    Returns string

isZombie

  • isZombie(): boolean
  • An object is a zombie if it has been released by all who have held references. In some cases it may be possible to recycle a zombie.

    Returns boolean

release

  • release(): number

removeFacet

  • removeFacet(name: string): Facet

render

  • render(ambients: Facet[]): Drawable<TrackGeometry, LineMaterial>
  • A convenience method for performing all of the methods required for rendering. The following methods are called in order. use() bind() setAmbients(ambients) setUniforms() draw() unbind() In particle simulations it may be useful to call the underlying methods directly.

    Parameters

    Returns Drawable<TrackGeometry, LineMaterial>

setAmbients

  • setAmbients(ambients: Facet[]): Drawable<TrackGeometry, LineMaterial>

setFacet

  • setFacet(name: string, facet: Facet): void

Protected setLoggingName

  • setLoggingName(name: string): void
  • This method is for use within constructors.

    Immediately after a call to the super class constructor, make a call to setLoggingName. This will have the effect of refining the name used for reporting reference counts.

    This method has the secondary purpose of enabling a tally of the number of classes in the constructor chain. This enables the runtime architecture to verify that destructor chains are consistent with constructor chains, which is a good practice for cleaning up resources.

    Notice that this method is intentionally protected to discourage it from being called outside of the constructor.

    Parameters

    • name: string

      This will usually be set to the name of the class.

    Returns void

setUniforms

  • setUniforms(): Drawable<TrackGeometry, LineMaterial>

synchUp

  • synchUp(): void

unbind

  • unbind(): Drawable<TrackGeometry, LineMaterial>

use

  • use(): Drawable<TrackGeometry, LineMaterial>

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Property
  • Method
  • Protected property
  • Protected method
  • Static property
  • Static method

Generated using TypeDoc