OpenGLContext.contextdefinition
index
/home/mcfletch/pylive/OpenGLContext/contextdefinition.py

Definition of a Context's visual parameters

 
Modules
       
OpenGL.GL
vrml.field
vrml.fieldtypes
vrml.node
vrml.vrml97.nodetypes

 
Classes
       
Node(object)
ContextDefinition

 
class ContextDefinition(Node)
    Node which defines required parameters for creating a visual context
 
Values of -1 generally indicate "choose the default", while
values > -1 will explicitly request the value be set.
 
 
Method resolution order:
ContextDefinition
Node
object

Class methods defined here:
fromConfig(cls, cfg, section='contextdefinition') from type
Generate a ContextDefinition from a ConfigParser instance

Data descriptors defined here:
accumulationBuffer
exposedField SFInt32 accumulationBuffer -1
alpha
exposedField SFBool alpha True
debugBBox
exposedField SFBool debugBBox False
debugSelection
exposedField SFBool debugSelection False
depthBuffer
exposedField SFInt32 depthBuffer -1
doubleBuffer
exposedField SFBool doubleBuffer True
multisampleBuffer
exposedField SFInt32 multisampleBuffer -1
multisampleSamples
exposedField SFInt32 multisampleSamples -1
rgb
exposedField SFBool rgb True
size
exposedField SFVec2f size (300, 300)
stencilBuffer
exposedField SFInt32 stencilBuffer 8
stereo
exposedField SFInt32 stereo -1
title
exposedField SFString title

Data and other attributes defined here:
PROTO = 'ContextDefinition'

Methods inherited from Node:
__init__(self, **namedarguments)
Initialise the node with appropriate named args
 
All properties/attributes must be specified with
named arguments, and the property/attribute must
exist within the Node's class/prototype.
 
This will raise AttributeError/ValueError/TypeError
if the values or the property names are inappropriate.
 
Note that all Node objects have the attribute/property
    exposedField SFString DEF ""
defined.  You may therefore specify a DEF name by
passing it as a named argument.
__repr__(self)
Get a code-like representation of the Node
 
Basically every attribute except for sub-nodes values
are returned as a full representation.
__str__(self)
Get a friendly representation of the Node
copy(self, copier=None)
Copy this node for copier
toString(self, **namedargs)
Generate a VRML 97-syntax string representing this Prototype
**namedargs -- key:value
    passed arguments for the linearisation object
see lineariser4.Lineariser

Data descriptors inherited from Node:
DEF
exposedField SFString  DEF
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
externalURL
exposedField MFString externalURL []
rootSceneGraph
exposedField RootScenegraphNode SFNode NULL

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