GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wxnviz.ImageTexture Class Reference

Class representing OpenGL texture as an overlay image. More...

Inheritance diagram for wxnviz.ImageTexture:
Collaboration diagram for wxnviz.ImageTexture:

Public Member Functions

def __init__
 Load image to texture. More...
def GetCmd
 Returns overlay command. More...
def Corresponds
- Public Member Functions inherited from wxnviz.Texture
def __init__
 Load image to texture. More...
def __del__
 Delete texture. More...
def Resize
 Resize image to match 2^n. More...
def Load
 Load image to texture. More...
def Draw
 Draw texture as an image. More...
def SetBounds
 Set Bounding Rectangle. More...
def HitTest
def MoveTexture
 Move texture on the screen. More...
def SetCoords
 Set coordinates. More...
def GetId
 Returns image id. More...
def SetActive
def IsActive

Data Fields

- Data Fields inherited from wxnviz.Texture

Detailed Description

Class representing OpenGL texture as an overlay image.

Definition at line 2014 of file

Constructor & Destructor Documentation

def wxnviz.ImageTexture.__init__ (   self,

Load image to texture.

filepathpath to image file
overlayIdid of overlay (1 for legend)
coordsimage coordinates
cmdd.legend command

Definition at line 2016 of file

Member Function Documentation

def wxnviz.ImageTexture.Corresponds (   self,

Field Documentation


Definition at line 2026 of file

Referenced by wxnviz.ImageTexture.GetCmd().

The documentation for this class was generated from the following file: