C# Class Qyoto.QGLWidget

Inheritance: QWidget, IDisposable
Datei anzeigen Open project: 0xd34df00d/Qross Class Usage Examples

Public Methods

Method Description
BindTexture ( QImage image ) : uint
BindTexture ( QImage image, int target ) : uint
BindTexture ( QImage image, int target, int format ) : uint
BindTexture ( QImage image, int target, int format, uint options ) : uint
BindTexture ( QPixmap pixmap ) : uint
BindTexture ( QPixmap pixmap, int target ) : uint
BindTexture ( QPixmap pixmap, int target, int format ) : uint
BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
BindTexture ( string fileName ) : uint
Colormap ( ) : Qyoto.QGLColormap
Context ( ) : QGLContext
ConvertToGLFormat ( QImage img ) : QImage
DeleteTexture ( uint tx_id ) : void
Dispose ( ) : void
DoneCurrent ( ) : void
DoubleBuffer ( ) : bool
DrawTexture ( QPointF point, uint textureId ) : void
DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
Format ( ) : QGLFormat
GrabFrameBuffer ( ) : QImage
GrabFrameBuffer ( bool withAlpha ) : QImage
IsSharing ( ) : bool
IsValid ( ) : bool
MakeCurrent ( ) : void
MakeOverlayCurrent ( ) : void
OverlayContext ( ) : QGLContext
QGLWidget ( QGLContext context ) : System
QGLWidget ( QGLContext context, QWidget parent ) : System
QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget ) : System
QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget, uint f ) : System
QGLWidget ( QGLFormat format ) : System
QGLWidget ( QGLFormat format, QWidget parent ) : System
QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget ) : System
QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget, uint f ) : System
QGLWidget ( QWidget parent ) : System
QGLWidget ( QWidget parent, QGLWidget shareWidget ) : System
QGLWidget ( QWidget parent, QGLWidget shareWidget, uint f ) : System
QglClearColor ( QColor c ) : void
QglColor ( QColor c ) : void
RenderPixmap ( ) : QPixmap
RenderPixmap ( int w ) : QPixmap
RenderPixmap ( int w, int h ) : QPixmap
RenderPixmap ( int w, int h, bool useContext ) : QPixmap
RenderText ( double x, double y, double z, string str ) : void
RenderText ( double x, double y, double z, string str, QFont fnt ) : void
RenderText ( double x, double y, double z, string str, QFont fnt, int listBase ) : void
RenderText ( int x, int y, string str ) : void
RenderText ( int x, int y, string str, QFont fnt ) : void
RenderText ( int x, int y, string str, QFont fnt, int listBase ) : void
SetColormap ( Qyoto.QGLColormap map ) : void
SetContext ( QGLContext context ) : void
SetContext ( QGLContext context, QGLContext shareContext ) : void
SetContext ( QGLContext context, QGLContext shareContext, bool deleteOldContext ) : void
SetFormat ( QGLFormat format ) : void
SetMouseTracking ( bool enable ) : void
SwapBuffers ( ) : void
Tr ( string s ) : string
Tr ( string s, string c ) : string

Protected Methods

Method Description
AutoBufferSwap ( ) : bool
CreateProxy ( ) : void
FontDisplayListBase ( QFont fnt ) : int
FontDisplayListBase ( QFont fnt, int listBase ) : int
QGLWidget ( Type dummy ) : System
SetAutoBufferSwap ( bool on ) : void

Private Methods

Method Description
Event ( Qyoto.QEvent arg1 ) : bool
GlDraw ( ) : void
GlInit ( ) : void
InitializeGL ( ) : void
InitializeOverlayGL ( ) : void
PaintEngine ( ) : QPaintEngine
PaintEvent ( Qyoto.QPaintEvent arg1 ) : void
PaintGL ( ) : void
PaintOverlayGL ( ) : void
QGLWidget ( ) : System
ResizeEvent ( Qyoto.QResizeEvent arg1 ) : void
ResizeGL ( int w, int h ) : void
ResizeOverlayGL ( int w, int h ) : void
UpdateGL ( ) : void
UpdateOverlayGL ( ) : void

Method Details

AutoBufferSwap() protected method

protected AutoBufferSwap ( ) : bool
return bool

BindTexture() public method

public BindTexture ( QImage image ) : uint
image QImage
return uint

BindTexture() public method

public BindTexture ( QImage image, int target ) : uint
image QImage
target int
return uint

BindTexture() public method

public BindTexture ( QImage image, int target, int format ) : uint
image QImage
target int
format int
return uint

BindTexture() public method

public BindTexture ( QImage image, int target, int format, uint options ) : uint
image QImage
target int
format int
options uint
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap ) : uint
pixmap QPixmap
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target ) : uint
pixmap QPixmap
target int
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target, int format ) : uint
pixmap QPixmap
target int
format int
return uint

BindTexture() public method

public BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
pixmap QPixmap
target int
format int
options uint
return uint

BindTexture() public method

public BindTexture ( string fileName ) : uint
fileName string
return uint

Colormap() public method

public Colormap ( ) : Qyoto.QGLColormap
return Qyoto.QGLColormap

Context() public method

public Context ( ) : QGLContext
return QGLContext

ConvertToGLFormat() public static method

public static ConvertToGLFormat ( QImage img ) : QImage
img QImage
return QImage

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DeleteTexture() public method

public DeleteTexture ( uint tx_id ) : void
tx_id uint
return void

Dispose() public method

public Dispose ( ) : void
return void

DoneCurrent() public method

public DoneCurrent ( ) : void
return void

DoubleBuffer() public method

public DoubleBuffer ( ) : bool
return bool

DrawTexture() public method

public DrawTexture ( QPointF point, uint textureId ) : void
point QPointF
textureId uint
return void

DrawTexture() public method

public DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
point QPointF
textureId uint
textureTarget int
return void

DrawTexture() public method

public DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
target Qyoto.QRectF
textureId uint
return void

DrawTexture() public method

public DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
target Qyoto.QRectF
textureId uint
textureTarget int
return void

FontDisplayListBase() protected method

protected FontDisplayListBase ( QFont fnt ) : int
fnt QFont
return int

FontDisplayListBase() protected method

protected FontDisplayListBase ( QFont fnt, int listBase ) : int
fnt QFont
listBase int
return int

Format() public method

public Format ( ) : QGLFormat
return QGLFormat

GrabFrameBuffer() public method

public GrabFrameBuffer ( ) : QImage
return QImage

GrabFrameBuffer() public method

public GrabFrameBuffer ( bool withAlpha ) : QImage
withAlpha bool
return QImage

IsSharing() public method

public IsSharing ( ) : bool
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

MakeCurrent() public method

public MakeCurrent ( ) : void
return void

MakeOverlayCurrent() public method

public MakeOverlayCurrent ( ) : void
return void

OverlayContext() public method

public OverlayContext ( ) : QGLContext
return QGLContext

QGLWidget() public method

public QGLWidget ( QGLContext context ) : System
context QGLContext
return System

QGLWidget() public method

public QGLWidget ( QGLContext context, QWidget parent ) : System
context QGLContext
parent QWidget
return System

QGLWidget() public method

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
return System

QGLWidget() public method

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget, uint f ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
f uint
return System

QGLWidget() public method

public QGLWidget ( QGLFormat format ) : System
format QGLFormat
return System

QGLWidget() public method

public QGLWidget ( QGLFormat format, QWidget parent ) : System
format QGLFormat
parent QWidget
return System

QGLWidget() public method

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
return System

QGLWidget() public method

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget, uint f ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
f uint
return System

QGLWidget() public method

public QGLWidget ( QWidget parent ) : System
parent QWidget
return System

QGLWidget() public method

public QGLWidget ( QWidget parent, QGLWidget shareWidget ) : System
parent QWidget
shareWidget QGLWidget
return System

QGLWidget() public method

public QGLWidget ( QWidget parent, QGLWidget shareWidget, uint f ) : System
parent QWidget
shareWidget QGLWidget
f uint
return System

QGLWidget() protected method

protected QGLWidget ( Type dummy ) : System
dummy System.Type
return System

QglClearColor() public method

public QglClearColor ( QColor c ) : void
c QColor
return void

QglColor() public method

public QglColor ( QColor c ) : void
c QColor
return void

RenderPixmap() public method

public RenderPixmap ( ) : QPixmap
return QPixmap

RenderPixmap() public method

public RenderPixmap ( int w ) : QPixmap
w int
return QPixmap

RenderPixmap() public method

public RenderPixmap ( int w, int h ) : QPixmap
w int
h int
return QPixmap

RenderPixmap() public method

public RenderPixmap ( int w, int h, bool useContext ) : QPixmap
w int
h int
useContext bool
return QPixmap

RenderText() public method

public RenderText ( double x, double y, double z, string str ) : void
x double
y double
z double
str string
return void

RenderText() public method

public RenderText ( double x, double y, double z, string str, QFont fnt ) : void
x double
y double
z double
str string
fnt QFont
return void

RenderText() public method

public RenderText ( double x, double y, double z, string str, QFont fnt, int listBase ) : void
x double
y double
z double
str string
fnt QFont
listBase int
return void

RenderText() public method

public RenderText ( int x, int y, string str ) : void
x int
y int
str string
return void

RenderText() public method

public RenderText ( int x, int y, string str, QFont fnt ) : void
x int
y int
str string
fnt QFont
return void

RenderText() public method

public RenderText ( int x, int y, string str, QFont fnt, int listBase ) : void
x int
y int
str string
fnt QFont
listBase int
return void

SetAutoBufferSwap() protected method

protected SetAutoBufferSwap ( bool on ) : void
on bool
return void

SetColormap() public method

public SetColormap ( Qyoto.QGLColormap map ) : void
map Qyoto.QGLColormap
return void

SetContext() public method

public SetContext ( QGLContext context ) : void
context QGLContext
return void

SetContext() public method

public SetContext ( QGLContext context, QGLContext shareContext ) : void
context QGLContext
shareContext QGLContext
return void

SetContext() public method

public SetContext ( QGLContext context, QGLContext shareContext, bool deleteOldContext ) : void
context QGLContext
shareContext QGLContext
deleteOldContext bool
return void

SetFormat() public method

public SetFormat ( QGLFormat format ) : void
format QGLFormat
return void

SetMouseTracking() public method

public SetMouseTracking ( bool enable ) : void
enable bool
return void

SwapBuffers() public method

public SwapBuffers ( ) : void
return void

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string