C# Класс Qyoto.QGLWidget

Наследование: QWidget, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
AutoBufferSwap ( ) : bool
CreateProxy ( ) : void
FontDisplayListBase ( QFont fnt ) : int
FontDisplayListBase ( QFont fnt, int listBase ) : int
QGLWidget ( Type dummy ) : System
SetAutoBufferSwap ( bool on ) : void

Приватные методы

Метод Описание
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

Описание методов

AutoBufferSwap() защищенный Метод

protected AutoBufferSwap ( ) : bool
Результат bool

BindTexture() публичный Метод

public BindTexture ( QImage image ) : uint
image QImage
Результат uint

BindTexture() публичный Метод

public BindTexture ( QImage image, int target ) : uint
image QImage
target int
Результат uint

BindTexture() публичный Метод

public BindTexture ( QImage image, int target, int format ) : uint
image QImage
target int
format int
Результат uint

BindTexture() публичный Метод

public BindTexture ( QImage image, int target, int format, uint options ) : uint
image QImage
target int
format int
options uint
Результат uint

BindTexture() публичный Метод

public BindTexture ( QPixmap pixmap ) : uint
pixmap QPixmap
Результат uint

BindTexture() публичный Метод

public BindTexture ( QPixmap pixmap, int target ) : uint
pixmap QPixmap
target int
Результат uint

BindTexture() публичный Метод

public BindTexture ( QPixmap pixmap, int target, int format ) : uint
pixmap QPixmap
target int
format int
Результат uint

BindTexture() публичный Метод

public BindTexture ( QPixmap pixmap, int target, int format, uint options ) : uint
pixmap QPixmap
target int
format int
options uint
Результат uint

BindTexture() публичный Метод

public BindTexture ( string fileName ) : uint
fileName string
Результат uint

Colormap() публичный Метод

public Colormap ( ) : Qyoto.QGLColormap
Результат Qyoto.QGLColormap

Context() публичный Метод

public Context ( ) : QGLContext
Результат QGLContext

ConvertToGLFormat() публичный статический Метод

public static ConvertToGLFormat ( QImage img ) : QImage
img QImage
Результат QImage

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

DeleteTexture() публичный Метод

public DeleteTexture ( uint tx_id ) : void
tx_id uint
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

DoneCurrent() публичный Метод

public DoneCurrent ( ) : void
Результат void

DoubleBuffer() публичный Метод

public DoubleBuffer ( ) : bool
Результат bool

DrawTexture() публичный Метод

public DrawTexture ( QPointF point, uint textureId ) : void
point QPointF
textureId uint
Результат void

DrawTexture() публичный Метод

public DrawTexture ( QPointF point, uint textureId, int textureTarget ) : void
point QPointF
textureId uint
textureTarget int
Результат void

DrawTexture() публичный Метод

public DrawTexture ( Qyoto.QRectF target, uint textureId ) : void
target Qyoto.QRectF
textureId uint
Результат void

DrawTexture() публичный Метод

public DrawTexture ( Qyoto.QRectF target, uint textureId, int textureTarget ) : void
target Qyoto.QRectF
textureId uint
textureTarget int
Результат void

FontDisplayListBase() защищенный Метод

protected FontDisplayListBase ( QFont fnt ) : int
fnt QFont
Результат int

FontDisplayListBase() защищенный Метод

protected FontDisplayListBase ( QFont fnt, int listBase ) : int
fnt QFont
listBase int
Результат int

Format() публичный Метод

public Format ( ) : QGLFormat
Результат QGLFormat

GrabFrameBuffer() публичный Метод

public GrabFrameBuffer ( ) : QImage
Результат QImage

GrabFrameBuffer() публичный Метод

public GrabFrameBuffer ( bool withAlpha ) : QImage
withAlpha bool
Результат QImage

IsSharing() публичный Метод

public IsSharing ( ) : bool
Результат bool

IsValid() публичный Метод

public IsValid ( ) : bool
Результат bool

MakeCurrent() публичный Метод

public MakeCurrent ( ) : void
Результат void

MakeOverlayCurrent() публичный Метод

public MakeOverlayCurrent ( ) : void
Результат void

OverlayContext() публичный Метод

public OverlayContext ( ) : QGLContext
Результат QGLContext

QGLWidget() публичный Метод

public QGLWidget ( QGLContext context ) : System
context QGLContext
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLContext context, QWidget parent ) : System
context QGLContext
parent QWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLContext context, QWidget parent, QGLWidget shareWidget, uint f ) : System
context QGLContext
parent QWidget
shareWidget QGLWidget
f uint
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLFormat format ) : System
format QGLFormat
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLFormat format, QWidget parent ) : System
format QGLFormat
parent QWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QGLFormat format, QWidget parent, QGLWidget shareWidget, uint f ) : System
format QGLFormat
parent QWidget
shareWidget QGLWidget
f uint
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QWidget parent ) : System
parent QWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QWidget parent, QGLWidget shareWidget ) : System
parent QWidget
shareWidget QGLWidget
Результат System

QGLWidget() публичный Метод

public QGLWidget ( QWidget parent, QGLWidget shareWidget, uint f ) : System
parent QWidget
shareWidget QGLWidget
f uint
Результат System

QGLWidget() защищенный Метод

protected QGLWidget ( Type dummy ) : System
dummy System.Type
Результат System

QglClearColor() публичный Метод

public QglClearColor ( QColor c ) : void
c QColor
Результат void

QglColor() публичный Метод

public QglColor ( QColor c ) : void
c QColor
Результат void

RenderPixmap() публичный Метод

public RenderPixmap ( ) : QPixmap
Результат QPixmap

RenderPixmap() публичный Метод

public RenderPixmap ( int w ) : QPixmap
w int
Результат QPixmap

RenderPixmap() публичный Метод

public RenderPixmap ( int w, int h ) : QPixmap
w int
h int
Результат QPixmap

RenderPixmap() публичный Метод

public RenderPixmap ( int w, int h, bool useContext ) : QPixmap
w int
h int
useContext bool
Результат QPixmap

RenderText() публичный Метод

public RenderText ( double x, double y, double z, string str ) : void
x double
y double
z double
str string
Результат void

RenderText() публичный Метод

public RenderText ( double x, double y, double z, string str, QFont fnt ) : void
x double
y double
z double
str string
fnt QFont
Результат void

RenderText() публичный Метод

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
Результат void

RenderText() публичный Метод

public RenderText ( int x, int y, string str ) : void
x int
y int
str string
Результат void

RenderText() публичный Метод

public RenderText ( int x, int y, string str, QFont fnt ) : void
x int
y int
str string
fnt QFont
Результат void

RenderText() публичный Метод

public RenderText ( int x, int y, string str, QFont fnt, int listBase ) : void
x int
y int
str string
fnt QFont
listBase int
Результат void

SetAutoBufferSwap() защищенный Метод

protected SetAutoBufferSwap ( bool on ) : void
on bool
Результат void

SetColormap() публичный Метод

public SetColormap ( Qyoto.QGLColormap map ) : void
map Qyoto.QGLColormap
Результат void

SetContext() публичный Метод

public SetContext ( QGLContext context ) : void
context QGLContext
Результат void

SetContext() публичный Метод

public SetContext ( QGLContext context, QGLContext shareContext ) : void
context QGLContext
shareContext QGLContext
Результат void

SetContext() публичный Метод

public SetContext ( QGLContext context, QGLContext shareContext, bool deleteOldContext ) : void
context QGLContext
shareContext QGLContext
deleteOldContext bool
Результат void

SetFormat() публичный Метод

public SetFormat ( QGLFormat format ) : void
format QGLFormat
Результат void

SetMouseTracking() публичный Метод

public SetMouseTracking ( bool enable ) : void
enable bool
Результат void

SwapBuffers() публичный Метод

public SwapBuffers ( ) : void
Результат void

Tr() публичный статический Метод

public static Tr ( string s ) : string
s string
Результат string

Tr() публичный статический Метод

public static Tr ( string s, string c ) : string
s string
c string
Результат string