ContRap
The symbolic tool for control-flow based rapid prototyping.

Library qtopengl
Overview

This library is undocumented

Non-class functions

Here you will find the list of all functions, which are defined outside the scope of a class.

GLVector3f(list:List):GLVertex
Creates an OpenGL vector from a list of its coordinates
cylindricSurface(function:):GLSurface
Creates a cylindric surface from a surface generating function
glutInit():void
Initializes the GLUT library by calling the init function
planarSurface(function:):GLSurface
Creates a planar surface from a surface generating function
sphericSurface(function:):GLSurface
Creates a spheric surface from a surface generating function
Class GLScene

Here you will find the class functions of 'GLScene' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLPrimitive

Here you will find the class functions of 'GLPrimitive' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLVertex

Here you will find the class functions of 'GLVertex' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLPoint

Here you will find the class functions of 'GLPoint' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLLine

Here you will find the class functions of 'GLLine' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLPlane

Here you will find the class functions of 'GLPlane' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class GLSphere

Here you will find the class functions of 'GLSphere' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer
Class QtGLViewer

Here you will find the class functions of 'QtGLViewer' defined in the library 'qtopengl'.

GLLine(start:GLVertex,end:GLVertex):GLLine
Creates a new line primitive from its coordinates
GLLine(a:GLVertex,b:GLVertex,c:GLVertex):GLTriangle
Creates a triangle primitive from three points
GLPlane(x:GLVertex,n:GLVertex,w:double):GLPlane
Creates a new plane primitive from its coordinates
GLPoint(p:GLVertex):GLPoint
Creates a new point primitive from its coordinates
move(primitive:GLPrimitive,position:GLVertex):void
Moves a primitive
setColor(primitive:GLPrimitive,color:QRgb):void
Sets the color of a primitive
add(scene:GLScene,primitive:GLPrimitive):void
Removes a primitive from the OpenGL scene
GLSphere(x:GLVertex,r:double):GLSphere
Creates a new sphere primitive from its coordinates
GLVertex(x:double,y:double,z:double):GLVertex
Creates a new vertex from its coordinates
QtGLViewer():QtGLViewer
Creates a new OpenGL viewer
add(self:QtGLViewer,primitive:GLPrimitive):void
Adds a primitive to the scene
remove(self:QtGLViewer,primitive:GLPrimitive):void
Removes an item from the top level scene of the widget
reset(self:QtGLViewer):void
Clears the primitives inside the viewer