Table of Contents

Class PointTransformNfo

Namespace
SearchAThing.OpenGL.Core
Assembly
netcore-opengl-core.dll

Helper class used by SearchAThing.OpenGL.GUI.GLDevTool.
Given the vertex, size, gl matrixes it will update object, normal, local, world, eye, clip, screen transformed coordinates.

public class PointTransformNfo : INotifyPropertyChanged
Inheritance
PointTransformNfo
Implements
Inherited Members

Constructors

PointTransformNfo(GLControl, GLVertex, bool)

public PointTransformNfo(GLControl glControl, GLVertex vertex, bool deferredRecompute = false)

Parameters

glControl GLControl
vertex GLVertex
deferredRecompute bool

Properties

Clip

Clip

public Vector4 Clip { get; }

Property Value

Vector4

DeferredRecompute

public bool DeferredRecompute { get; }

Property Value

bool

Eye

Eye

public Vector3 Eye { get; }

Property Value

Vector3

GLControl

public GLControl? GLControl { get; }

Property Value

GLControl

Local

Local

public Vector3 Local { get; }

Property Value

Vector3

NDC

ClipW

public Vector3 NDC { get; }

Property Value

Vector3

Normal

Normal

public Vector3 Normal { get; }

Property Value

Vector3

Object

Object

public Vector3 Object { get; }

Property Value

Vector3

Screen

Screen

public Vector2 Screen { get; }

Property Value

Vector2

Vertex

public GLVertex Vertex { get; }

Property Value

GLVertex

World

World

public Vector3 World { get; }

Property Value

Vector3

Methods

Fmt(string)

public string Fmt(string prefix)

Parameters

prefix string

Returns

string

OnPropertyChanged(string?)

invoke this method to forward propertchanged event notification. note: not needed to specify propertyName set by compiler service to called property.

protected void OnPropertyChanged(string? propertyName = null)

Parameters

propertyName string

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler