Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.grogra.imp3d.glsl.light
Class LightPos

    java.lang.Object
      de.grogra.imp3d.glsl.light.LightPos

    public class LightPos

extends java.lang.Object

Wrapper class to hold a light with its corresponding transformation.

Author:
  Konni Hartmann

Constructor Summary
`LightPos(Light light)`
`LightPos(Light light, Matrix4d lightToWorld)`

Method Summary
`Light` | `getLight()`
`Vector3d` | `getLightDir()`
`Point4d` | `getLightPos()`
`Matrix4d` | `getLightTransform()`
`void` | `setLight(Light light)`
`void` | `setLightDir(Vector3d lightDir)`
`void` | `setLightPos(Matrix4d lightToWorld)`
`void` | `setLightTransform(Matrix4d lightTransform)`
`void` | `setupView(javax.media.opengl.GL gl)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LightPos

    public LightPos(Light light)

### LightPos

    public LightPos(Light light,
                    Matrix4d lightToWorld)

Method Detail

### getLight

    public Light getLight()

### getLightDir

    public Vector3d getLightDir()

### getLightPos

    public Point4d getLightPos()

### getLightTransform

    public Matrix4d getLightTransform()

### setLight

    public void setLight(Light light)

### setLightDir

    public void setLightDir(Vector3d lightDir)

### setLightPos

    public void setLightPos(Matrix4d lightToWorld)

### setLightTransform

    public void setLightTransform(Matrix4d lightTransform)

### setupView

    public void setupView(javax.media.opengl.GL gl)

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD