Table of Contents

Class Drawing

Namespace
HiDisp.Disp
Assembly
HiDisp.dll

The most efficient elemental 3D rendering unit.

public class Drawing : IDisplayee, IExpandToBox3d, IDisposable
Inheritance
Drawing
Implements
Inherited Members
Extension Methods

Constructors

Drawing(double[], Stamp, int)

Construct a Drawing.

public Drawing(double[] src, Stamp stamp, int glPrimitive)

Parameters

src double[]

src

stamp Stamp

stamp

glPrimitive int

gl primitive

Properties

GlPrimitive

OpenGL Primitive.

public int GlPrimitive { get; set; }

Property Value

int

KeyStamp

The only Stamp of this

public Stamp KeyStamp { get; }

Property Value

Stamp

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

Display(Bind, double[], Stamp, int)

Display by the given parameter.

public static void Display(Bind bind, double[] src, Stamp stamp, int glPrimitive)

Parameters

bind Bind

bind

src double[]

src

stamp Stamp

stamp

glPrimitive int

gl primitive

Display(Bind, int)

Display(Bind) with the forced gl primitive. Thread safe for Display(Bind), Display(Bind, int), ExpandToBox3d(Box3d) and Dispose().

public void Display(Bind bind, int forceGlPrimitive)

Parameters

bind Bind

bind

forceGlPrimitive int

forced gl primitive

Dispose()

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

ExpandToBox3d(Box3d)

Expand to Box. Thread safe for Display(Bind), Display(Bind, int), ExpandToBox3d(Box3d) and Dispose().

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

~Drawing()

protected ~Drawing()