|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.ba_ravensburg.gdv.controller.RenderPipeline
public class RenderPipeline
The RenderPipeline is a pipeline inside of which the triangles of a scene are transformed into a form suitable for displaying them on the screen.
Constructor Summary | |
---|---|
RenderPipeline()
Constructs a new empty rendering pipeline. |
Method Summary | |
---|---|
(package private) LinkedList |
get()
Get a sorted list of 2D triangles from the rendering pipeline. |
(package private) void |
put(HashSet triangles,
double theAperture)
Put the given triangles into the rendering pipeline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
RenderPipeline()
Method Detail |
---|
LinkedList get()
void put(HashSet triangles, double theAperture) throws IllegalArgumentException
Pre: | triangles != null 0° < theAperture <= 180° |
Post: | Each triangle that is not definitely outside the view port (i.e. behind the camera or right/left/above/below the view port) and is facing towards the camera is put into the queue for rendering. |
triangles
- a set of triangles to be put into the rendering pipeline.
IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |