GRASS Programmer's Manual
6.4.4(2014)-r
|
Class representing OpenGL texture as an overlay image. More...
Public Member Functions | |
def | __init__ (self, filepath, overlayId, coords, cmd) |
Load image to texture. More... | |
def | GetCmd (self) |
Returns overlay command. More... | |
def | Corresponds (self, item) |
![]() | |
def | __init__ (self, filepath, overlayId, coords) |
Load image to texture. More... | |
def | __del__ (self) |
Delete texture. More... | |
def | Resize (self) |
Resize image to match 2^n. More... | |
def | Load (self) |
Load image to texture. More... | |
def | Draw (self) |
Draw texture as an image. More... | |
def | SetBounds (self, rect) |
Set Bounding Rectangle. More... | |
def | HitTest (self, x, y, radius) |
def | MoveTexture (self, dx, dy) |
Move texture on the screen. More... | |
def | SetCoords (self, coords) |
Set coordinates. More... | |
def | GetId (self) |
Returns image id. More... | |
def | SetActive |
def | IsActive (self) |
Data Fields | |
cmd | |
![]() | |
path | |
image | |
width | |
height | |
id | |
coords | |
bounds | |
active | |
maxSize | |
textureId | |
def wxnviz.ImageTexture.__init__ | ( | self, | |
filepath, | |||
overlayId, | |||
coords, | |||
cmd | |||
) |
def wxnviz.ImageTexture.Corresponds | ( | self, | |
item | |||
) |
Definition at line 2032 of file wxnviz.py.
References overlays.OverlayController.GetCmd(), menu.Menu.GetCmd(), dialogs.ModelSearchDialog.GetCmd(), render.Layer.GetCmd(), goutput.GMConsole.GetCmd(), forms.GUI.GetCmd(), and wxnviz.ImageTexture.GetCmd().
def wxnviz.ImageTexture.GetCmd | ( | self | ) |
Returns overlay command.
Definition at line 2028 of file wxnviz.py.
References overlays.OverlayController.cmd, vclean.VectorCleaningFrame.cmd, mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, forms.GUI.cmd, and wxnviz.ImageTexture.cmd.
Referenced by wxnviz.ImageTexture.Corresponds().
wxnviz.ImageTexture.cmd |
Definition at line 2026 of file wxnviz.py.
Referenced by wxnviz.ImageTexture.GetCmd().