|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.geometry.AbstractMesh
de.rico.engine.geometry.MeshDL
de.rico.engine.effect.camtotex.Monitor
@Deprecated public class Monitor
This class represents a mesh that gets textured with the view from a camera perspective.
| Constructor Summary | |
|---|---|
Monitor(MeshContainer meshCont,
ParticleEffectContainer effectCont,
int moniWidth,
int moniHeight,
int texRes,
int updtInterv,
CameraPerspective persp)
Deprecated. Creates a new Monitor object with the specified parameters. |
|
| Method Summary | |
|---|---|
void |
addPerspective(CameraPerspective setting,
int id)
Deprecated. Adds a camera perspective (identified by the id) to the monitor. |
CameraPerspective |
getCurrentPerspective()
Deprecated. Returns the current camera perspective that is put on the monitor. |
int |
getCurrentPerspectiveID()
Deprecated. Returns the id of the current camera setting. |
void |
setPerspective(int id)
Deprecated. Sets which camera perspective shall be put onto the monitor |
void |
update(long elapsedTime)
Deprecated. Updates the texture of the monitor according to the specified time interval. |
| Methods inherited from class de.rico.engine.geometry.MeshDL |
|---|
addFace, destroy, draw, finishModel, getDisplayListId, getFaces, getFacesTransformed, specializedDraw |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Monitor(MeshContainer meshCont,
ParticleEffectContainer effectCont,
int moniWidth,
int moniHeight,
int texRes,
int updtInterv,
CameraPerspective persp)
meshCont - mesh container with meshes to be possibly seen in the monitoreffectCont - effect container with particle effects to be possibly
seen in the monitor, my be nullmoniWidth - with of the monitormoniHeight - height of the monitortexRes - texture resolutionupdtInterv - interval for updating the imagepersp - camera perspective to show in the monitor| Method Detail |
|---|
public void addPerspective(CameraPerspective setting,
int id)
setting - further camera settingid - id for identifying the camera perspectivepublic void setPerspective(int id)
id - id of the camera perspectve to enable, 0 is the initial camera
perspective that has been specified in the constructor.public int getCurrentPerspectiveID()
public CameraPerspective getCurrentPerspective()
public void update(long elapsedTime)
update in class MeshDLelapsedTime - time between two frames
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||