OpenGLContext.scenegraph.vertex
index
/home/mcfletch/pylive/OpenGLContext/scenegraph/vertex.py

Low-level holder for vertex information

 
Classes
       
object
Vertex

 
class Vertex(object)
    Holds a single vertex during operations
which tend to mess up vertex indexing and so
prefer to have atomic objects for manipulation.
 
  Methods defined here:
__init__(self, point=(0, 0, 0), color=None, normal=None, textureCoordinate=None, metaIndex=-1, coordIndex=-1, indexKey=None)
Initialize the Vertex
 
point -- three-dimensional coordinate
color -- optional three-float color
normal -- optional three-dimensional normalized vector
textureCoordinate -- optional two-dimensional texture coordinate
metaIndex -- optional integer index into the source
    index array (i.e. coordIndex[metaIndex], colorIndex[metaIndex],...
    is the index which produced the vertex.
__repr__(self)
Get a debugging-friendly representation of the vertex
copy(self, metaIndex=-1)
Copy the vertex with a different metaIndex

Data descriptors defined here:
color
coordIndex
indexKey
metaIndex
normal
point
textureCoordinate

 
Data
        __file__ = '/home/mcfletch/pylive/OpenGLContext/scenegraph/vertex.pyc'
__name__ = 'OpenGLContext.scenegraph.vertex'
__package__ = 'OpenGLContext.scenegraph'