|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVisualHull
public class VisualHull
This class represents the visual hull of an object in the scene. The hull consists of a series of intervals along rays shot from the desired view.
Constructor Summary | |
---|---|
VisualHull()
Creates an empty VisualHull . |
|
VisualHull(Camera c)
Creates an empty VisualHull with dimensions set to the
dimensions of the image contained in the supplied Camera . |
Method Summary | |
---|---|
RayIntervals |
getRayIntervals(int posX,
int posY)
|
void |
insertRayIntervals(int posX,
int posY,
RayIntervals ri)
Inserts the supplied RayIntervals into the specified
position in the interval image. |
void |
transform(Matrix4 t)
Transforms the complete visual hull by multiplying all its rays with the supplied matrix. |
void |
transformRayDirections(Matrix4 t)
|
void |
transformRayPositions(Matrix4 t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisualHull()
VisualHull
.
public VisualHull(Camera c)
VisualHull
with dimensions set to the
dimensions of the image contained in the supplied Camera
.
Also creates Ray3D
s from the projection point of the
Camera
through all the pixels of its image.
c
- the camera of the desired view. Must contain an image.Method Detail |
---|
public void insertRayIntervals(int posX, int posY, RayIntervals ri)
RayIntervals
into the specified
position in the interval image.
posX
- the x-position.posY
- the y-position.ri
- the RayIntervals
object to insert.public RayIntervals getRayIntervals(int posX, int posY)
public void transform(Matrix4 t)
t
- the transformation matrix.public void transformRayDirections(Matrix4 t)
public void transformRayPositions(Matrix4 t)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |