platform: | Linux, Windows |
---|---|
synopsis: | pyopengl programming helper classes and functions set. |
Module author: Eddie Brüggemann <mrcyberfighter@gmail.com>
Generate an tetrahedron object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the tetrahedron object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Tetrahedron displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from tetrahedron.
Parameters: | side_length – An float representing the tetrahedron sides length. |
---|
Note
documentation
The Tetrahedron object has an private documentation display method: Tetrahedron.__doc__()
The tetrahedron sides length.
The tetrahedron lines color.
The tetrahedron faces color(s).
The tetrahedron polygons.
The tetrahedron’s localview.
Tetrahedron localview displaying boolean value.
Generate an cube object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the cube object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Cube displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from cube.
Parameters: | side_length – An float representing the cube sides length. |
---|
Note
documentation
The Cube object has an private documentation display method: Cube.__doc__()
The cube sides length.
The cube lines color.
The cube faces color(s).
The cube polygons.
The cube’s localview.
Cube localview displaying boolean value.
Generate an octahedron object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the octahedron object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Octahedron displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from octahedron.
Parameters: | side_length – An float representing the octahedron sides length. |
---|
Note
documentation
The Octahedron object has an private documentation display method: Octahedron.__doc__()
The octahedron sides length.
The octahedron lines color.
The octahedron faces color(s).
The octahedron polygons.
The octahedron’s localview.
Octahedron localview displaying boolean value.
Generate an dodecahedron object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the dodecahedron object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Dodecahedron displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from dodecahedron.
Parameters: | side_length – An float representing the dodecahedron sides length. |
---|
Note
documentation
The Dodecahedron object has an private documentation display method: Dodecahedron.__doc__()
The dodecahedron sides length.
The dodecahedron lines color.
The dodecahedron faces color(s).
The dodecahedron polygons.
The dodecahedron’s localview.
Dodecahedron localview displaying boolean value.
Generate an icosahedron object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the icosahedron object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Icosahedron displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from icosahedron.
Parameters: | side_length – An float representing the icosahedron sides length. |
---|
Note
documentation
The Icosahedron object has an private documentation display method: Icosahedron.__doc__()
The icosahedron sides length.
The icosahedron lines color.
The icosahedron faces color(s).
The icosahedron polygons.
The icosahedron’s localview.
Icosahedron localview displaying boolean value.
Generate an polyhedron with 26 faces, 18 quads and 8 triangles, object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the polyhedron with 26 faces object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
polyhedron with 26 faces displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the quads faces color(s) from the polyhedron.
Parameters: | quads_color – |
---|
Change the triangles faces color(s) from the polyhedron.
Parameters: | triangles_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from polyhedron with 26 faces.
Parameters: | side_length – An float representing the polyhedron with 26 faces sides length. |
---|
Note
documentation
The Poly26Hedron object has an private documentation display method: Poly26Hedron.__doc__()
The 26 faces polyhedron sides length.
The polyhedron lines color.
The polyhedron triangles color(s).
The polyhedron quads color(s).
The polyhedron quads container.
The polyhedron triangles container.
The 26 faces polyhedron ‘s localview.
The 26 faces polyhedron localview displaying boolean value.
Generate an polyhedron with 32 faces, 20 triangles and 12 pentagons, object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the polyhedron with 32 faces object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
polyhedron with 32 faces displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the triangles faces color(s) from the polyhedron.
Parameters: | triangles_color – |
---|
Change the pentagons faces color(s) from the polyhedron.
Parameters: | pentagons_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from polyhedron with 32 faces.
Parameters: | side_length – An float representing the polyhedron with 32 faces sides length. |
---|
Note
documentation
The Poly32Hedron object has an private documentation display method: Poly32Hedron.__doc__()
The 32 faces polyhedron sides length.
The polyhedron lines color.
The polyhedron triangles color(s).
The polyhedron pentagons color(s).
The polyhedron triangles container.
The polyhedron pentagons container.
The 32 faces polyhedron ‘s localview.
The 32 faces polyhedron localview displaying boolean value.
Generate an fulleren, 20 hexagons and 12 pentagons, object with the given side length settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the fulleren object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
fulleren displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the hexagons faces color(s) from the polyhedron.
Parameters: | hexagons_color – |
---|
Change the pentagons faces color(s) from the polyhedron.
Parameters: | pentagons_color – |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the sides length from fulleren.
Parameters: | side_length – An float representing the fulleren sides length. |
---|
Note
documentation
The Fulleren object has an private documentation display method: Fulleren.__doc__()
The fulleren sides length.
The fulleren lines color.
The fulleren faces color(s).
The fulleren hexagons container.
The fulleren pentagons container.
The fulleren’s localview.
Fulleren localview displaying boolean value.
Generate an toros object with the given radius and basis polygone settings.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the toros object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Toros displaying method towards the settings.
Change the polyhedron display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the polyhedron.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the polyhedron.
Parameters: | faces_color – An objet from type Color representing the faces color. |
---|
Change the lines width from the polyhedron.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change the toros basis polygon.
Parameters: | base_polygon – The base polygon edges number, for the toros generation. |
---|
Change the toros base polygon radius.
Parameters: | base_radius – The base polygon radius, for the toros generation. |
---|
Change the toros radius (without the base polygon radius).
Parameters: | toros_radius – The toros radius (without the base polygon radius). |
---|
Note
documentation
The Toros object has an private documentation display method: Toros.__doc__()
The base polygon edges number, for the toros generation.
The base polygon radius, for the toros generation.
The toros radius (without the base polygon radius).
The toros lines color.
The toros faces color(s).
The toros polygons container.
The toros’s localview.
Toros localview displaying boolean value.
Generate an quad sphere object with the given radius and polygone basis.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the sphere object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Quad_Sphere displaying method towards the settings.
Change the sphere display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the sphere.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the sphere.
Parameters: | faces_color – An objet from type Color representing the faces color. |
---|
Change the lines width from the sphere.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change sphere basis polygon.
Parameters: | basis – An integer representing the sphere base polygon edges number. |
---|
Change sphere radius.
Parameters: | radius – An float representing the sphere radius. |
---|
Note
documentation
The Quad_Sphere object has an private documentation display method: Quad_Sphere.__doc__()
The sphere radius.
The sphere basis polygon.
The sphere lines color.
The sphere faces color.
The sphere polygons.
The sphere’s localview.
Quad_Sphere localview displaying boolean value.
Generate an quad sphere object with the given radius and polygone basis.
Parameters: |
|
---|
Method to apply changing contains in the matrix argument on the sphere object.
Parameters: | matrix – An object from type Matrix configurate to contains the wanted changings. |
---|
Trigon_Sphere displaying method towards the settings.
Change the sphere display mode.
Parameters: | display_mode – can take as value:
|
---|
Change the lines color from the sphere.
Parameters: | lines_color – An objet from type Color representing the lines color. |
---|
Change the faces color(s) from the sphere.
Parameters: | faces_color – An objet from type Color representing the faces color. |
---|
Change the lines width from the sphere.
Parameters: | lines_width – An integer representing the lines width. |
---|
Change the Localview displaying setting.
Parameters: | display_ls – Define if the localview should be display. |
---|
Change sphere basis polygon.
Parameters: | basis – An integer representing the sphere base polygon edges number. The basis must be: basis % 4 == 0. |
---|
Change sphere radius.
Parameters: | radius – An float representing the sphere radius. |
---|
Note
documentation
The Trigon_Sphere object has an private documentation display method: Trigon_Sphere.__doc__()
The sphere radius.
The sphere basis polygon.
The sphere lines color.
The sphere faces color.
The sphere trigons.
The sphere’s localview.
Trigon_Sphere localview displaying boolean value.