jjdh.opengl.program
Class AbstractOpenGLProgram
java.lang.Object
jjdh.opengl.program.AbstractOpenGLProgram
- All Implemented Interfaces:
- OpenGLProgram
- Direct Known Subclasses:
- StandardOpenGLProgram
public abstract class AbstractOpenGLProgram
- extends Object
- implements OpenGLProgram
context
protected SystemContext context
glScheduler
protected Scheduler glScheduler
model
protected ProgramModel model
mouseRobot
protected MouseRobot mouseRobot
name
protected String name
state
protected StateManager<OpenGLProgram.State> state
camera
protected Camera camera
AbstractOpenGLProgram
public AbstractOpenGLProgram()
setContext
public void setContext(SystemContext context)
- Specified by:
setContext
in interface OpenGLProgram
getContext
public SystemContext getContext()
- Description copied from interface:
OpenGLProgram
- Returns the system context in which this program is operating.
- Specified by:
getContext
in interface OpenGLProgram
- Returns:
- the used system context
getName
public String getName()
- Specified by:
getName
in interface OpenGLProgram
setName
public void setName(String name)
- Description copied from interface:
OpenGLProgram
- Changes the name of this program.
- Specified by:
setName
in interface OpenGLProgram
- Parameters:
name
- the new name
toString
public String toString()
- Overrides:
toString
in class Object
getState
public StateManager<OpenGLProgram.State> getState()
- Description copied from interface:
OpenGLProgram
- Manages the state of this program.
- Specified by:
getState
in interface OpenGLProgram
setMouseRobot
public void setMouseRobot(MouseRobot mouseRobot)
getMouseRobot
public MouseRobot getMouseRobot()
setCamera
public void setCamera(Camera camera)
- Specified by:
setCamera
in interface OpenGLProgram
getCamera
public Camera getCamera()
- Specified by:
getCamera
in interface OpenGLProgram
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.