C# Class GtkGL.GLObjectBase

Inheritance: IGLObject
Show file Open project: mono/gtkglarea-sharp

Protected Properties

Property Type Description
GLAreaList ArrayList
alphaValue float
quat Quaternion
scale double[]
selected bool
shapeID int
translation double[]

Public Methods

Method Description
Draw ( ) : bool
GetEulerRotation ( ) : EulerRotation
GetQuaternion ( ) : Quaternion
GetTransformationMatrix ( ) : TransformationMatrix
Init ( ) : void
ResetRotation ( ) : void
ResetRotation ( bool doUpdate ) : void
Rotate ( GtkGL q ) : void
Scale ( double factor ) : void
Scale ( double xFactor, double yFactor, double zFactor ) : void
Translate ( double x, double y, double z ) : void
Translate ( float x, float y, float z ) : void

Protected Methods

Method Description
DrawObject ( ) : void

Method Details

Draw() public method

public Draw ( ) : bool
return bool

DrawObject() protected method

protected DrawObject ( ) : void
return void

GetEulerRotation() public method

public GetEulerRotation ( ) : EulerRotation
return EulerRotation

GetQuaternion() public method

public GetQuaternion ( ) : Quaternion
return Quaternion

GetTransformationMatrix() public method

public GetTransformationMatrix ( ) : TransformationMatrix
return TransformationMatrix

Init() public method

public Init ( ) : void
return void

ResetRotation() public method

public ResetRotation ( ) : void
return void

ResetRotation() public method

public ResetRotation ( bool doUpdate ) : void
doUpdate bool
return void

Rotate() public method

public Rotate ( GtkGL q ) : void
q GtkGL
return void

Scale() public method

public Scale ( double factor ) : void
factor double
return void

Scale() public method

public Scale ( double xFactor, double yFactor, double zFactor ) : void
xFactor double
yFactor double
zFactor double
return void

Translate() public method

public Translate ( double x, double y, double z ) : void
x double
y double
z double
return void

Translate() public method

public Translate ( float x, float y, float z ) : void
x float
y float
z float
return void

Property Details

GLAreaList protected property

protected ArrayList GLAreaList
return ArrayList

alphaValue protected property

protected float alphaValue
return float

quat protected property

protected Quaternion,GtkGL quat
return Quaternion

scale protected property

protected double[] scale
return double[]

selected protected property

protected bool selected
return bool

shapeID protected property

protected int shapeID
return int

translation protected property

protected double[] translation
return double[]