C# Class Qyoto.QGLWidget

Inheritance: QWidget, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected AutoBufferSwap ( ) : bool
Résultat bool

BindTexture() public méthode

public BindTexture ( QImage image ) : uint
image QImage
Résultat uint

BindTexture() public méthode

public BindTexture ( QImage image, int target ) : uint
image QImage
target int
Résultat uint

BindTexture() public méthode

public BindTexture ( QImage image, int target, int format ) : uint
image QImage
target int
format int
Résultat uint

BindTexture() public méthode

public BindTexture ( QImage image, int target, int format, uint options ) : uint
image QImage
target int
format int
options uint
Résultat uint

BindTexture() public méthode

public BindTexture ( QPixmap pixmap ) : uint
pixmap QPixmap
Résultat uint

BindTexture() public méthode

public BindTexture ( QPixmap pixmap, int target ) : uint
pixmap QPixmap
target int
Résultat uint

BindTexture() public méthode

public BindTexture ( QPixmap pixmap, int target, int format ) : uint
pixmap QPixmap
target int
format int
Résultat uint

BindTexture() public méthode

public BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
pixmap QPixmap
target int
format int
options uint
Résultat uint

BindTexture() public méthode

public BindTexture ( string fileName ) : uint
fileName string
Résultat uint

Colormap() public méthode

public Colormap ( ) : Qyoto.QGLColormap
Résultat Qyoto.QGLColormap

Context() public méthode

public Context ( ) : QGLContext
Résultat QGLContext

ConvertToGLFormat() public static méthode

public static ConvertToGLFormat ( QImage img ) : QImage
img QImage
Résultat QImage

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

DeleteTexture() public méthode

public DeleteTexture ( uint tx_id ) : void
tx_id uint
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DoneCurrent() public méthode

public DoneCurrent ( ) : void
Résultat void

DoubleBuffer() public méthode

public DoubleBuffer ( ) : bool
Résultat bool

DrawTexture() public méthode

public DrawTexture ( QPointF point, uint textureId ) : void
point QPointF
textureId uint
Résultat void

DrawTexture() public méthode

public DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
point QPointF
textureId uint
textureTarget int
Résultat void

DrawTexture() public méthode

public DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
target Qyoto.QRectF
textureId uint
Résultat void

DrawTexture() public méthode

public DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
target Qyoto.QRectF
textureId uint
textureTarget int
Résultat void

FontDisplayListBase() protected méthode

protected FontDisplayListBase ( QFont fnt ) : int
fnt QFont
Résultat int

FontDisplayListBase() protected méthode

protected FontDisplayListBase ( QFont fnt, int listBase ) : int
fnt QFont
listBase int
Résultat int

Format() public méthode

public Format ( ) : QGLFormat
Résultat QGLFormat

GrabFrameBuffer() public méthode

public GrabFrameBuffer ( ) : QImage
Résultat QImage

GrabFrameBuffer() public méthode

public GrabFrameBuffer ( bool withAlpha ) : QImage
withAlpha bool
Résultat QImage

IsSharing() public méthode

public IsSharing ( ) : bool
Résultat bool

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool

MakeCurrent() public méthode

public MakeCurrent ( ) : void
Résultat void

MakeOverlayCurrent() public méthode

public MakeOverlayCurrent ( ) : void
Résultat void

OverlayContext() public méthode

public OverlayContext ( ) : QGLContext
Résultat QGLContext

QGLWidget() public méthode

public QGLWidget ( QGLContext context ) : System
context QGLContext
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLContext context, QWidget parent ) : System
context QGLContext
parent QWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget, uint f ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
f uint
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLFormat format ) : System
format QGLFormat
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLFormat format, QWidget parent ) : System
format QGLFormat
parent QWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget, uint f ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
f uint
Résultat System

QGLWidget() public méthode

public QGLWidget ( QWidget parent ) : System
parent QWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QWidget parent, QGLWidget shareWidget ) : System
parent QWidget
shareWidget QGLWidget
Résultat System

QGLWidget() public méthode

public QGLWidget ( QWidget parent, QGLWidget shareWidget, uint f ) : System
parent QWidget
shareWidget QGLWidget
f uint
Résultat System

QGLWidget() protected méthode

protected QGLWidget ( Type dummy ) : System
dummy System.Type
Résultat System

QglClearColor() public méthode

public QglClearColor ( QColor c ) : void
c QColor
Résultat void

QglColor() public méthode

public QglColor ( QColor c ) : void
c QColor
Résultat void

RenderPixmap() public méthode

public RenderPixmap ( ) : QPixmap
Résultat QPixmap

RenderPixmap() public méthode

public RenderPixmap ( int w ) : QPixmap
w int
Résultat QPixmap

RenderPixmap() public méthode

public RenderPixmap ( int w, int h ) : QPixmap
w int
h int
Résultat QPixmap

RenderPixmap() public méthode

public RenderPixmap ( int w, int h, bool useContext ) : QPixmap
w int
h int
useContext bool
Résultat QPixmap

RenderText() public méthode

public RenderText ( double x, double y, double z, string str ) : void
x double
y double
z double
str string
Résultat void

RenderText() public méthode

public RenderText ( double x, double y, double z, string str, QFont fnt ) : void
x double
y double
z double
str string
fnt QFont
Résultat void

RenderText() public méthode

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
Résultat void

RenderText() public méthode

public RenderText ( int x, int y, string str ) : void
x int
y int
str string
Résultat void

RenderText() public méthode

public RenderText ( int x, int y, string str, QFont fnt ) : void
x int
y int
str string
fnt QFont
Résultat void

RenderText() public méthode

public RenderText ( int x, int y, string str, QFont fnt, int listBase ) : void
x int
y int
str string
fnt QFont
listBase int
Résultat void

SetAutoBufferSwap() protected méthode

protected SetAutoBufferSwap ( bool on ) : void
on bool
Résultat void

SetColormap() public méthode

public SetColormap ( Qyoto.QGLColormap map ) : void
map Qyoto.QGLColormap
Résultat void

SetContext() public méthode

public SetContext ( QGLContext context ) : void
context QGLContext
Résultat void

SetContext() public méthode

public SetContext ( QGLContext context, QGLContext shareContext ) : void
context QGLContext
shareContext QGLContext
Résultat void

SetContext() public méthode

public SetContext ( QGLContext context, QGLContext shareContext, bool deleteOldContext ) : void
context QGLContext
shareContext QGLContext
deleteOldContext bool
Résultat void

SetFormat() public méthode

public SetFormat ( QGLFormat format ) : void
format QGLFormat
Résultat void

SetMouseTracking() public méthode

public SetMouseTracking ( bool enable ) : void
enable bool
Résultat void

SwapBuffers() public méthode

public SwapBuffers ( ) : void
Résultat void

Tr() public static méthode

public static Tr ( string s ) : string
s string
Résultat string

Tr() public static méthode

public static Tr ( string s, string c ) : string
s string
c string
Résultat string