A C D E G I M N P R S T U V W X Y Z

A

a11 - Variable in class Matrix4
The matrix coefficients.
a12 - Variable in class Matrix4
The matrix coefficients.
a13 - Variable in class Matrix4
The matrix coefficients.
a14 - Variable in class Matrix4
The matrix coefficients.
a21 - Variable in class Matrix4
The matrix coefficients.
a22 - Variable in class Matrix4
The matrix coefficients.
a23 - Variable in class Matrix4
The matrix coefficients.
a24 - Variable in class Matrix4
The matrix coefficients.
a31 - Variable in class Matrix4
The matrix coefficients.
a32 - Variable in class Matrix4
The matrix coefficients.
a33 - Variable in class Matrix4
The matrix coefficients.
a34 - Variable in class Matrix4
The matrix coefficients.
a41 - Variable in class Matrix4
The matrix coefficients.
a42 - Variable in class Matrix4
The matrix coefficients.
a43 - Variable in class Matrix4
The matrix coefficients.
a44 - Variable in class Matrix4
The matrix coefficients.
accept(File) - Method in class ExampleFileFilter
Return true if this file should be shown in the directory pane, false if it shouldn't.
actionPerformed(ActionEvent) - Method in class CameraDialog
 
actionPerformed(ActionEvent) - Method in class IBVHApplication
 
add(Vector2, Vector2) - Static method in class Vector2
Static method to add two Vector2.
add(Vector2) - Method in class Vector2
Method to add a Vector2 to an existing Vector2.
add(Vector4) - Method in class Vector4
Adds a vector to current vector.
addExtension(String) - Method in class ExampleFileFilter
Adds a filetype "dot" extension to filter against.

C

calculateMatrices(Camera, Vector4) - Static method in class CameraRot
 
Camera - Class in <Unnamed>
This class represents a viewpoint and a (limited) view plane.
Camera() - Constructor for class Camera
Creates an empty Camera.
Camera(String, Vector4, Vector4, Vector4, float, float, BufferedImage) - Constructor for class Camera
Creates a new Camera with the specified parameters.
Camera(String) - Constructor for class Camera
Creates an empty Camera with the specified title.
CameraDialog - Class in <Unnamed>
This class is a dialog used to create new Cameras and edit existing ones.
CameraDialog() - Constructor for class CameraDialog
Creates an empty CameraDialog.
CameraDialog(Frame, boolean) - Constructor for class CameraDialog
Creates a CameraDialog with the specified parent frame and modal setting.
CameraRot - Class in <Unnamed>
This is a class that contains methods to create transform matrices that can transform our camera to (0,0,0), its direction to (0,0,-1) and its up direction to (0,1,0)
CameraRot() - Constructor for class CameraRot
 
clearAll() - Method in class CameraDialog
Clears all the fields in this CameraDialog.
Compute3DRay - Class in <Unnamed>
This is a class that creates rays in 3d space
Compute3DRay() - Constructor for class Compute3DRay
 
createMatrices(Camera) - Static method in class CameraRot
This is a static method that creates the transformation matrices used to transform the objects in 3D space.
createMatrices(Camera, Vector4) - Static method in class CameraRot
 
crossProduct(Vector4, Vector4) - Static method in class Vector4
Compute the cross product between two vectors
crossProduct(Vector4) - Method in class Vector4
Compute the cross product between two vectors

D

DEFAULT_FONT - Static variable in class IBVHApplet
The font used in the GUI
DEFAULT_FONT - Static variable in class IBVHApplication
The font used in the GUI
DEFAULT_IMAGE_HEIGHT - Static variable in class Camera
 
DEFAULT_IMAGE_WIDTH - Static variable in class Camera
 
dotProduct(Vector4) - Method in class Vector4
Compute the dot product of two vectors

E

end - Variable in class Interval1D
End point of the interval.
ExampleFileFilter - Class in <Unnamed>
A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
ExampleFileFilter() - Constructor for class ExampleFileFilter
Creates a file filter.
ExampleFileFilter(String) - Constructor for class ExampleFileFilter
Creates a file filter that accepts files with the given extension.
ExampleFileFilter(String, String) - Constructor for class ExampleFileFilter
Creates a file filter that accepts the given file type.
ExampleFileFilter(String[]) - Constructor for class ExampleFileFilter
Creates a file filter from the given string array.
ExampleFileFilter(String[], String) - Constructor for class ExampleFileFilter
Creates a file filter from the given string array and description.

G

getAngles() - Method in class RotatingCube
 
getBufferedImage(String, Component) - Static method in class ImageControl
Reads a image from file, making it a buffered image.
getBufferedImage(Image, Component) - Static method in class ImageControl
 
getDescription() - Method in class ExampleFileFilter
Returns the human readable description of this filter.
getDir() - Method in class Camera
Returns the view direction relative to the view point.
getDirection() - Method in class Ray2D
Returns the direction of the Ray2D.
getDirection() - Method in class Ray3D
Returns the direction of the Ray3D.
getExtension(File) - Method in class ExampleFileFilter
Return the extension portion of the file's name .
getFocalLength() - Method in class Camera
Returns the focal length (in meters).
getFov() - Method in class Camera
Returns the field-of-view (in degrees).
getImage() - Method in class Camera
Returns the image seen by the Camera.
getIntervals() - Method in class RayIntervals
Returns the current intervals along the ray.
getInvRotMatrix() - Static method in class CameraRot
This method returns the inverse rotation matrix rotating the camera direction and up direction to its initial direction.
getInvTlMatrix() - Static method in class CameraRot
This method returns the translation matrix that translates to original position.
getLength() - Method in class Vector2
Method that returns the length of current Vector2.
getLength() - Method in class Vector4
Gets the length of a vector
getNewCamera() - Method in class CameraDialog
Returns a new Camera based on the information that is currently contained in this CameraDialog.
getNote() - Method in class VisualHullCreator
Returns a String that describes what phase the calculations are in.
getPoint() - Method in class Ray2D
Returns the starting point of the Ray2D.
getPoint() - Method in class Ray3D
Returns the starting point of the Ray3D.
getPos() - Method in class Camera
Returns the position in world coordinates.
getPosition(float) - Method in class Ray2D
Returns a position along a Ray2D
getPosition(float) - Method in class Ray3D
Returns a position along a Ray3D
getProgress() - Method in class VisualHullCreator
Returns how far the calculation of the visual hull has progressed.
getProjectedInterval(Ray3D, Camera) - Static method in class Project3DRay
Projects the supplied Ray3D to the supplied Camera, which is assumed to be located in origo looking down the negative Z-axis.
getRay() - Method in class RayIntervals
Returns the current ray.
getRayIntervals(int, int) - Method in class VisualHull
 
getRGB(int, int) - Method in class Camera
Returns the color of the specified pixel in the image of this camera.
getRotateXInstance(float) - Static method in class Matrix4
Factory method to create a transformation matrix for rotation around X
getRotateYInstance(float) - Static method in class Matrix4
Factory method to create a transformation matrix for rotation around Y
getRotateZInstance(float) - Static method in class Matrix4
Factory method to create a transformation matrix for rotation around Z
getRotMatrix() - Static method in class CameraRot
This method returns the rotation matrix, rotating the camera direction to (0,0,-1) and up direction to (0,1,0)
getRotMatrix(float, float, float) - Method in class Matrix4
Rotating matrix
getScaleInstance(float) - Static method in class Matrix4
Factory method to create a transformation matrix for uniform scaling
getScaleInstance(float, float, float) - Static method in class Matrix4
Factory method to create a transformation matrix for non-uniform scaling
getShortest(Vector2, Vector2) - Static method in class Vector2
Returns the shortest of the two supplied vectors.
getTitle() - Method in class Camera
Returns the title.
getTlMatrix() - Static method in class CameraRot
This method returns the translation matrix that translates to (0,0,0).
getTranslateInstance(Matrix4, float, float, float) - Static method in class Matrix4
Factory method to create a transformation matrix for translation
getUp() - Method in class Camera
Returns the "up" direction relative to the view point.
getVisualHull() - Method in class VisualHullCreator
Returns the VisualHull object contained in the VisualHullCreator.
getXForY(float) - Method in class Ray2D
Returns a position along a Ray2D knowing the y-value
getYForX(float) - Method in class Ray2D
Returns a position along a Ray2D knowing the x-value

I

IBVHApplet - Class in <Unnamed>
This is the main class of the project, containing the GUI among other components.
IBVHApplet() - Constructor for class IBVHApplet
 
IBVHApplication - Class in <Unnamed>
This is the main class of the project, containing the GUI among other components.
IBVHApplication() - Constructor for class IBVHApplication
Initializes the GUI and data representation.
ImageControl - Class in <Unnamed>
This class icludes methods for reading images from file
ImageControl() - Constructor for class ImageControl
 
init() - Method in class IBVHApplet
Initializes the GUI and data representation.
initStuff(MouseAdapter) - Method in class RotatingCube
Initialize all the parameters needed.
insertRayIntervals(int, int, RayIntervals) - Method in class VisualHull
Inserts the supplied RayIntervals into the specified position in the interval image.
intersection(Interval1D) - Method in class Interval1D
Performs the intersection operation between this interval and the supplied one.
intersection(Interval1D, Interval1D) - Static method in class Interval1D
Performs the intersection operation between the two supplied Interval1Ds.
Interval1D - Class in <Unnamed>
This class represents a simple scalar one-dimensional interval, together with a method for aquiring the intersection with another interval.
Interval1D() - Constructor for class Interval1D
Creates a new Interval1D spanning the whole real axis.
Interval1D(float, float) - Constructor for class Interval1D
Creates a new Interval1D spanning the specified range.
isBackgroundColor(int) - Static method in class Project3DRay
Determines whether the supplied color is background or not.
isConfirmed() - Method in class CameraDialog
Returns whether the confirm (save) button was pressed or not.
isEmpty() - Method in class Interval1D
Indicates whether this Interval1D is empty.
isExtensionListInDescription() - Method in class ExampleFileFilter
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isFaceVisible(int, int, int, int, int, int) - Method in class RotatingCube
Checks if the polygon that the param belongs to is visible when it is projected down.
isFinished() - Method in class VisualHullCreator
Returns whether the calculation of the visual hull is finished.
isRunning() - Method in class VisualHullCreator
Returns whether the process is running.
isValid() - Method in class Interval1D
Returns whether the Interval1D is valid.

M

main(String[]) - Static method in class IBVHApplication
 
makeEmpty() - Method in class Interval1D
Sets this Interval1D to the empty one.
Matrix4 - Class in <Unnamed>
 
Matrix4() - Constructor for class Matrix4
Default constructor, yields indentity matrix
Matrix4(Matrix4) - Constructor for class Matrix4
Matrix copy constructor, copies an existing matrix
mouseClicked(MouseEvent) - Method in class IBVHApplication
 
mouseDragged(MouseEvent) - Method in class RotatingCube
 
mouseEntered(MouseEvent) - Method in class IBVHApplication
 
mouseExited(MouseEvent) - Method in class IBVHApplication
 
mouseMoved(MouseEvent) - Method in class RotatingCube
Reacts if the mouse is moved.
mousePressed(MouseEvent) - Method in class IBVHApplication
 
mouseReleased(MouseEvent) - Method in class IBVHApplication
 
mult(Matrix4, Vector4) - Static method in class Matrix4
 
mult(Matrix4, Matrix4) - Static method in class Matrix4
Matrix multiply two matrices
mult(Matrix4) - Method in class Matrix4
Matrix multiply two matrices

N

negate() - Method in class Vector4
Negate a vector
negate(Vector4) - Static method in class Vector4
Negate a vector
normalize() - Method in class Vector2
Method to normalize the current Vector2.
normalize() - Method in class Vector4
Normalize
normalize(Vector4) - Method in class Vector4
Normalize

P

paintComponent(Graphics) - Method in class RotatingCube
Render the 3D graphics to the window using Java2D and JPanel for drawing Change the points in 3d space and project them down so it looks like a box spinning around.
pixel2World(int, Camera) - Static method in class Vector2
Method to convert a image coordinate (1D) to image coordinates.
pixel2world(Camera) - Method in class Vector4
Convert image coordinates to world coordinates, no projection.
printColor(int) - Static method in class Project3DRay
 
project(Vector4, Camera) - Static method in class Vector2
Method to project a Vector4 onto an imageplane
project(Vector4, Camera) - Method in class Vector4
Projects a point in world coordinates to the origin cameras viewplane.
project(Camera) - Method in class Vector4
Projects a point in world coordinates to the origin cameras viewplane.
Project3DRay - Class in <Unnamed>
 
Project3DRay() - Constructor for class Project3DRay
 

R

Ray2D - Class in <Unnamed>
This class contains methods to handle Ray2D objects.
Ray2D(Vector2, Vector2) - Constructor for class Ray2D
Constructor to create a Ray2D.
Ray2D() - Constructor for class Ray2D
Constructor to create a Ray2D.
Ray3D - Class in <Unnamed>
This class contains methods to handle Ray3D objects.
Ray3D(Vector4, Vector4) - Constructor for class Ray3D
Constructor to create a Ray3D.
Ray3D() - Constructor for class Ray3D
Constructor to create a Ray3D.
RayIntervals - Class in <Unnamed>
This class can contain a Ray3D together with a number of Interval1Ds.
RayIntervals() - Constructor for class RayIntervals
Creates an empty RayIntervals
RayIntervals(Ray3D) - Constructor for class RayIntervals
Creates a new RayIntervals object and sets its ray to the supplied one.
resetAngles() - Method in class RotatingCube
Reset the angles with who the cube is spinned around its axis with to zero
resetImage() - Method in class Camera
Resets the image seen by this Camera to an empty one.
RotatingCube - Class in <Unnamed>
Class that shows a cube that the user can spin round the x-axis and the y-axis.
RotatingCube() - Constructor for class RotatingCube
 
run() - Method in class VisualHullCreator
 

S

set(Matrix4) - Method in class Matrix4
Copy the coefficient vaules from another matrix
setCameraPhi(float) - Method in class RotatingCube
Set the cameras present phi angle, this is used to make sure that the cube never can rotate so it will be upside down
setDescription(String) - Method in class ExampleFileFilter
Sets the human readable description of this filter.
setDirection(Vector2) - Method in class Ray2D
Sets a new direction to the Ray2D.
setDirection(Vector4) - Method in class Ray3D
Sets a new direction to the Ray3D.
setExtensionListInDescription(boolean) - Method in class ExampleFileFilter
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
setFirstTime(boolean) - Method in class RotatingCube
 
setOrginalCube() - Method in class RotatingCube
set the cube to its original position
setPoint(Vector2) - Method in class Ray2D
Sets a new starting point to the Ray2D.
setPoint(Vector4) - Method in class Ray3D
Sets a new starting point to the Ray3D.
setVector4(float, float, float, float) - Method in class Vector4
Set new values to the vector
showEditCamera(Camera) - Method in class CameraDialog
Shows this CameraDialog filled with the information from the specified Camera.
showNewCamera() - Method in class CameraDialog
Shows this CameraDialog as an empty dialog.
start - Variable in class Interval1D
Start point of the interval.
startProcess() - Method in class VisualHullCreator
Starts the calculation of the visual hull.
stopProcess() - Method in class VisualHullCreator
Interrupts the calculation of the visual hull at the next loop.
sub(Vector2, Vector2) - Static method in class Vector2
Static method to subtract a Vector2 from another
sub(Vector2) - Method in class Vector2
Method to subtract a Vector2 from an current Vector2.
sub(Vector4) - Method in class Vector4
Subtracts a vector from current vector.
sub(Vector4, Vector4) - Static method in class Vector4
Subtracts a vector from current vector.

T

thread - Variable in class VisualHullCreator
 
toString() - Method in class Camera
Returns the title.
transform(Matrix4) - Method in class VisualHull
Transforms the complete visual hull by multiplying all its rays with the supplied matrix.
transformRayDirections(Matrix4) - Method in class VisualHull
 
transformRayPositions(Matrix4) - Method in class VisualHull
 

U

update(String, Vector4, Vector4, Vector4, float, float, BufferedImage) - Method in class Camera
Updates this Camera with the supplied data.

V

valueChanged(TreeSelectionEvent) - Method in class IBVHApplet
 
valueChanged(TreeSelectionEvent) - Method in class IBVHApplication
 
Vector2 - Class in <Unnamed>
This class contains methods to handle Vector2 objects.
Vector2() - Constructor for class Vector2
Constructor to create a Vector2.
Vector2(float, float) - Constructor for class Vector2
Constructor to create a Vector2.
Vector2(Vector2) - Constructor for class Vector2
Method to copy a Vector2 object.
Vector2(Vector4) - Constructor for class Vector2
Method to copy a the first 2 components of a Vector4 object to a Vector2 object.
Vector4 - Class in <Unnamed>
Class for handeling all vector computations
Vector4() - Constructor for class Vector4
Default constructor
Vector4(float, float, float, float) - Constructor for class Vector4
Constructor
Vector4(float, float, float) - Constructor for class Vector4
Constructor
Vector4(Vector4) - Constructor for class Vector4
Copy constructor
viewpane - Variable in class IBVHApplet
 
viewpane - Variable in class IBVHApplication
 
VisualHull - Class in <Unnamed>
This class represents the visual hull of an object in the scene.
VisualHull() - Constructor for class VisualHull
Creates an empty VisualHull.
VisualHull(Camera) - Constructor for class VisualHull
Creates an empty VisualHull with dimensions set to the dimensions of the image contained in the supplied Camera.
VisualHullCreator - Class in <Unnamed>
This class takes care of all the steps of constructing a visual hull from a set of reference views and a desired view.
VisualHullCreator(Vector, Camera) - Constructor for class VisualHullCreator
Creates a VisualHullCreator with the supplied reference views and desired view.

W

w - Variable in class Vector4
 
waitForImage(Image, Component) - Static method in class ImageControl
Take an Image associated with a file, and wait until it is done loading (just a simple application of MediaTracker).
world2Pixel(float, Camera) - Static method in class Vector2
Method to convert a world position (1D) to image coordinates.
world2pixel(Camera) - Method in class Vector4
Convert world coordinates to image coordinates, no projection.

X

x - Variable in class Vector2
 
x - Variable in class Vector4
 

Y

y - Variable in class Vector2
 
y - Variable in class Vector4
 

Z

z - Variable in class Vector4
 

A C D E G I M N P R S T U V W X Y Z