Index
All Classes and Interfaces|All Packages
A
- add(Matrix3x3) - Method in class rayrangers.raytracer.math.Matrix3x3
-
Adds another matrix to this matrix.
- add(Vector3D) - Method in class rayrangers.raytracer.math.Vector3D
-
Adds another vector to this vector.
- add(Vector4D) - Method in class rayrangers.raytracer.math.Vector4D
-
Adds another vector to this vector.
- addCamera(Camera) - Method in class rayrangers.raytracer.world.Scene
-
Adds a camera with a unique UUID if it has not been added yet.
- addEntity(String) - Static method in class rayrangers.raytracer.gui.Worker
-
This method adds a given entity to the list of entities.
- addEntity(Entity) - Method in class rayrangers.raytracer.world.Scene
-
Adds a new entity to the map of entities.
- addLightSource(LightSource) - Method in class rayrangers.raytracer.world.Scene
-
Adds a light source with a unique UUID if it has not been added yet.
B
- BoundingBox - Class in rayrangers.raytracer.algorithm.bounding
-
Represents an axis-aligned bounding box in 3D space.
- BoundingBox(double, double, double, double, double, double) - Constructor for class rayrangers.raytracer.algorithm.bounding.BoundingBox
-
Constructs a bounding box with the given minimum and maximum values along all axes.
- BoundingBox(Face) - Constructor for class rayrangers.raytracer.algorithm.bounding.BoundingBox
-
Constructs a bounding box that encompasses the given face.
- BoundingVolume - Class in rayrangers.raytracer.algorithm.bounding
-
Represents a node in a BVH tree.
- BoundingVolume(List<Face>, int) - Constructor for class rayrangers.raytracer.algorithm.bounding.BoundingVolume
-
Constructs a bounding volume with the given list of faces and the axis they are aligned to.
- BoundingVolumeHierarchy - Class in rayrangers.raytracer.algorithm.bounding
-
Represents a bounding volume hierarchy (BVH tree) that splits the faces of an entity into several bounding volumes.
- BoundingVolumeHierarchy(List<Face>) - Constructor for class rayrangers.raytracer.algorithm.bounding.BoundingVolumeHierarchy
-
Constructs a bounding volume hierarchy (BVH tree) for the given faces.
C
- calculatePixelColor(HitRecord, Scene) - Method in class rayrangers.raytracer.algorithm.Shader
-
Calculates the color of the associated pixel.
- Camera - Class in rayrangers.raytracer.world
-
Represents the camera the scene is captured with.
- Camera(UUID, Vertex3D, double, double, double, double, double, int, int) - Constructor for class rayrangers.raytracer.world.Camera
-
Constructs a camera with the specified position, orientation and resolution.
- Camera(Vertex3D, double, double, double, double, double, int, int) - Constructor for class rayrangers.raytracer.world.Camera
-
Constructs a camera with the specified position, orientation and resolution, but without a given UUID.
- CameraComponent - Class in io.quicktype.scenedata
- CameraComponent() - Constructor for class io.quicktype.scenedata.CameraComponent
- Cameraentity - Class in io.quicktype.scenedata
- Cameraentity() - Constructor for class io.quicktype.scenedata.Cameraentity
- CameraentityComponents - Class in io.quicktype.scenedata
- CameraentityComponents() - Constructor for class io.quicktype.scenedata.CameraentityComponents
- CameraentityTranslation - Class in io.quicktype.scenedata
- CameraentityTranslation() - Constructor for class io.quicktype.scenedata.CameraentityTranslation
- Color - Class in io.quicktype.scenedata
- Color() - Constructor for class io.quicktype.scenedata.Color
- combine(BoundingBox, BoundingBox) - Static method in class rayrangers.raytracer.algorithm.bounding.BoundingBox
-
Combines two bounding boxes into one by taking the minimum and maximum values from both.
- Converter - Class in io.quicktype.scenedata
- Converter() - Constructor for class io.quicktype.scenedata.Converter
- create(int) - Method in class rayrangers.raytracer.algorithm.bounding.BoundingVolume
-
Creates left and right child nodes of the bounding volume recursively.
- cross(Vector3D) - Method in class rayrangers.raytracer.math.Vector3D
-
Computes the cross product with another vector.
D
- det() - Method in class rayrangers.raytracer.math.Matrix3x3
-
Computes the determinant of the matrix.
- distance(Vertex3D) - Method in class rayrangers.raytracer.math.Vertex3D
-
Returns the Euclidean distance to a target vertex.
E
- entities - Static variable in class rayrangers.raytracer.gui.Worker
-
List of entities added to a scene.
- Entity - Class in rayrangers.raytracer.world
-
Represents an entity (object/mesh) described by a Wavefront OBJ file.
- Entity(String, List<Face>, List<Vertex3D>) - Constructor for class rayrangers.raytracer.world.Entity
-
Constructs an entity with the specified name, faces and vertices, but without a given UUID.
- Entity(UUID, String, List<Face>, List<Vertex3D>) - Constructor for class rayrangers.raytracer.world.Entity
-
Constructs an entity with the specified name, faces and vertices.
F
- Face - Class in rayrangers.raytracer.world
-
Represents a face described by a Wavefront OBJ file.
- Face(Material, String) - Constructor for class rayrangers.raytracer.world.Face
-
Constructs a face with the given material and smoothing group.
- fromJsonString(String) - Static method in class io.quicktype.scenedata.Converter
G
- getAllVert() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns all vertices of the hittable object.
- getAllVert() - Method in class rayrangers.raytracer.world.Face
-
Returns all vertices of the face in an array.
- getAllVert() - Method in class rayrangers.raytracer.world.Triangle
- getAmbient() - Method in class rayrangers.raytracer.world.Material
-
Returns the ambient color.
- getAspectRatio() - Method in class io.quicktype.scenedata.CameraComponent
- getAspectRatio() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the aspect ratio of the viewpane as decimal number, e.g. 1920px / 1080px = 16/9 = 1,777777777777778.
- getB() - Method in class io.quicktype.scenedata.Color
- getBackgroundColor() - Method in class io.quicktype.scenedata.Metadata
- getBackgroundColor() - Method in class rayrangers.raytracer.world.Scene
-
Returns the background color of the scene.
- getCameraComponent() - Method in class io.quicktype.scenedata.CameraentityComponents
- getCameraentity() - Method in class io.quicktype.scenedata.SceneData
- getCameras() - Method in class rayrangers.raytracer.world.Scene
-
Returns a map of all cameras in the scene.
- getCenter() - Method in class rayrangers.raytracer.world.Face
-
Calculates the center point of a face.
- getCenter() - Method in class rayrangers.raytracer.world.Triangle
- getColor() - Method in class io.quicktype.scenedata.LightComponent
- getColor() - Method in class rayrangers.raytracer.view.Pixel
-
Gets the color of the pixel.
- getColor() - Method in class rayrangers.raytracer.world.LightSource
-
Returns the color of the light source.
- getComponents() - Method in class io.quicktype.scenedata.Cameraentity
- getComponents() - Method in class io.quicktype.scenedata.Lightentity
- getComponents() - Method in class io.quicktype.scenedata.Renderentity
- getCoord(int) - Method in class rayrangers.raytracer.math.Vector3D
-
Returns the coordinate of the specified dimension.
- getCoord(int) - Method in class rayrangers.raytracer.math.Vertex3D
-
Returns the coordinate of the specified dimension.
- getCoordinates() - Method in class rayrangers.raytracer.math.Vector3D
-
Returns the coordinates of the vector.
- getCoordinates() - Method in class rayrangers.raytracer.math.Vector4D
-
Getter for the vertices array.
- getDiffuse() - Method in class rayrangers.raytracer.world.Material
-
Returns the diffuse color.
- getDirection() - Method in class rayrangers.raytracer.algorithm.Ray
-
Returns the direction of the ray.
- getElement(int, int) - Method in class rayrangers.raytracer.math.TrafoMatrix
-
Returns the value of an element at the specified position.
- getElements() - Method in class rayrangers.raytracer.math.Matrix3x3
- getEntities() - Method in class rayrangers.raytracer.world.Scene
-
Returns a map of all entites in the scene.
- getEntityByUuid(UUID) - Method in class rayrangers.raytracer.world.Scene
-
Returns the entity from the map with the given UUID.
- getFaces() - Method in class rayrangers.raytracer.world.Entity
-
Returns a list of all faces the entity is composed of.
- getG() - Method in class io.quicktype.scenedata.Color
- getGlobalIllumination() - Method in class io.quicktype.scenedata.Metadata
- getHitObject() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the hittable object stored in the hit record.
- getHitPoint() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the point where the hit occurred.
- getIdentity() - Static method in class rayrangers.raytracer.math.Matrix3x3
-
Returns the identity matrix (3x3).
- getIllum() - Method in class rayrangers.raytracer.world.Material
-
Returns the index of the illumination model.
- getIntensity() - Method in class io.quicktype.scenedata.LightComponent
- getIntensity() - Method in class rayrangers.raytracer.world.LightSource
-
Returns the intensity of the light source.
- getLightComponent() - Method in class io.quicktype.scenedata.LightentityComponents
- getLightentity() - Method in class io.quicktype.scenedata.SceneData
- getLightSources() - Method in class rayrangers.raytracer.world.Scene
-
Returns a map of all light sources in the scene.
- getLightSourcesCount() - Static method in class rayrangers.raytracer.gui.Worker
-
Returns the number of light sources in the rendered scene.
- getlocationVector() - Method in class rayrangers.raytracer.math.Vertex3D
-
Returns the coordinates of the vertex in an array.
- getMaterial() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the material of the hit record.
- getMaterial() - Method in class rayrangers.raytracer.world.Face
-
Returns the material of the face.
- getMatUUID() - Method in class io.quicktype.scenedata.RenderComponent
- getMaxDepth() - Method in class io.quicktype.scenedata.Metadata
- getMetadata() - Method in class io.quicktype.scenedata.SceneData
- getName() - Method in class io.quicktype.scenedata.Cameraentity
- getName() - Method in class io.quicktype.scenedata.Lightentity
- getName() - Method in class io.quicktype.scenedata.Renderentity
- getName() - Method in class rayrangers.raytracer.world.Entity
-
Returns the entity name.
- getName() - Method in class rayrangers.raytracer.world.Material
-
Returns the material name.
- getNormalVector() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the normal vector associated with the hittable object.
- getNormalVector() - Method in class rayrangers.raytracer.math.Vertex3D
-
Returns the normal vector of the vertex.
- getObjectsCount() - Static method in class rayrangers.raytracer.gui.Worker
-
Returns the number of objects in the rendered scene.
- getObjUUID() - Method in class io.quicktype.scenedata.RenderComponent
- getOrigin() - Method in class rayrangers.raytracer.algorithm.Ray
-
Returns the origin of the ray.
- getPaneDistance() - Method in class io.quicktype.scenedata.CameraComponent
- getPaneDistance() - Method in class rayrangers.raytracer.world.Camera
-
Returns the distance of the camera to the associated viewpane.
- getPaneHeight() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the height of the viewpane.
- getPaneWidth() - Method in class io.quicktype.scenedata.CameraComponent
- getPaneWidth() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the width of the viewpane.
- getPath() - Method in class io.quicktype.scenedata.Resource
- getPixelAt(int, int) - Method in class rayrangers.raytracer.view.ViewPane
-
Returns a pixel at the specified position on the two-dimensional viewpane.
- getPixels() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the pixels of the viewpane as array.
- getPosition() - Method in class io.quicktype.scenedata.CameraentityTranslation
- getPosition() - Method in class io.quicktype.scenedata.LightentityTranslation
- getPosition() - Method in class io.quicktype.scenedata.RenderentityTranslation
- getPosition() - Method in class rayrangers.raytracer.world.LightSource
-
Returns the position of the light source in the world coordinate system.
- getR() - Method in class io.quicktype.scenedata.Color
- getRayCount() - Static method in class rayrangers.raytracer.algorithm.Renderer
- getRaysCount() - Static method in class rayrangers.raytracer.gui.Worker
-
Returns the number of rays.
- getRenderComponent() - Method in class io.quicktype.scenedata.RenderentityComponents
- getRenderentity() - Method in class io.quicktype.scenedata.SceneData
- getRenderMode() - Method in class io.quicktype.scenedata.Metadata
- getRenderTime() - Static method in class rayrangers.raytracer.gui.Worker
-
Returns the time it took to render a given scene.
- getResources() - Method in class io.quicktype.scenedata.SceneData
- getResX() - Method in class io.quicktype.scenedata.CameraComponent
- getResX() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the horizontal resolution of the viewpane in pixels.
- getResY() - Method in class io.quicktype.scenedata.CameraComponent
- getResY() - Method in class rayrangers.raytracer.view.ViewPane
-
Returns the vertical resolution of the viewpane in pixels.
- getRotation() - Method in class io.quicktype.scenedata.CameraentityTranslation
- getRotation() - Method in class io.quicktype.scenedata.RenderentityTranslation
- getSamplesPerPixel() - Method in class io.quicktype.scenedata.Metadata
- getScale() - Method in class io.quicktype.scenedata.RenderentityTranslation
- getSmoothingGroup() - Method in class rayrangers.raytracer.world.Face
-
Returns the smoothing group of the face.
- getSpecular() - Method in class rayrangers.raytracer.world.Material
-
Returns the specular color.
- getSpecularExp() - Method in class rayrangers.raytracer.world.Material
-
Returns the specular exponent.
- getT() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the ray parameter t.
- getTranslation() - Method in class io.quicktype.scenedata.Cameraentity
- getTranslation() - Method in class io.quicktype.scenedata.Lightentity
- getTranslation() - Method in class io.quicktype.scenedata.Renderentity
- getTransparency() - Method in class rayrangers.raytracer.world.Material
-
Returns the transparency (dissolve) coefficient.
- getType() - Method in class io.quicktype.scenedata.Resource
- getU() - Method in class rayrangers.raytracer.view.Pixel
-
Returns the pixel coordinate in u-direction.
- getU() - Method in class rayrangers.raytracer.world.Camera
-
Returns the base vector in u-direction (righthand) in the view coordinate system.
- getUuid() - Method in class rayrangers.raytracer.world.Camera
-
Returns the UUID of the camera.
- getUuid() - Method in class rayrangers.raytracer.world.Entity
-
Returns the UUID of the entity.
- getUuid() - Method in class rayrangers.raytracer.world.LightSource
-
Returns the UUID of the light source.
- getUUID() - Method in class io.quicktype.scenedata.Cameraentity
- getUUID() - Method in class io.quicktype.scenedata.Lightentity
- getUUID() - Method in class io.quicktype.scenedata.Renderentity
- getUUID() - Method in class io.quicktype.scenedata.Resource
- getV() - Method in class rayrangers.raytracer.view.Pixel
-
Returns the pixel coordinate in v-direction.
- getV() - Method in class rayrangers.raytracer.world.Camera
-
Returns the base vector in v-direction (up) in the view coordinate system.
- getVertices() - Method in class rayrangers.raytracer.world.Entity
-
Returns a list of all unique vertices of the entity.
- getViewPane() - Method in class rayrangers.raytracer.world.Camera
-
Returns the viewpane associated with the camera.
- getViewRayDirection() - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Returns the direction of the view ray associated with the hit record.
- getW() - Method in class rayrangers.raytracer.world.Camera
-
Returns the base vector in w-direction (forward) in the view coordinate system.
- getWorldPosition() - Method in class rayrangers.raytracer.world.Camera
-
Returns the current position of the camera as a vertex.
- getWorldPosition() - Method in class rayrangers.raytracer.world.Entity
-
Returns the position of the entity in the world coordinate system.
- getX() - Method in class io.quicktype.scenedata.Position
- getX() - Method in class io.quicktype.scenedata.RotationClass
- getY() - Method in class io.quicktype.scenedata.Position
- getY() - Method in class io.quicktype.scenedata.PurplePosition
- getY() - Method in class io.quicktype.scenedata.RotationClass
- getZ() - Method in class io.quicktype.scenedata.Position
- getZ() - Method in class io.quicktype.scenedata.RotationClass
H
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.algorithm.bounding.BoundingBox
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.algorithm.bounding.BoundingVolume
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.algorithm.bounding.BoundingVolumeHierarchy
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.world.Entity
- hit(Ray, double, double, HitRecord) - Method in interface rayrangers.raytracer.world.Hittable
-
Checks if a ray has a hit in the specified interval [t0;t1].
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.world.Scene
- hit(Ray, double, double, HitRecord) - Method in class rayrangers.raytracer.world.Triangle
- HitRecord - Class in rayrangers.raytracer.algorithm
-
Stores information about the intersection of a ray with a hittable object.
- HitRecord() - Constructor for class rayrangers.raytracer.algorithm.HitRecord
- Hittable - Interface in rayrangers.raytracer.world
-
Interface for all objects that are hittable by a ray.
I
- inverse() - Method in class rayrangers.raytracer.math.Matrix3x3
-
Computes the inverse of the matrix.
- invokePrototype(Camera) - Static method in class rayrangers.raytracer.gui.Worker
-
This method invokes the prototype for the GUI (only for testing).
- io.quicktype.scenedata - package io.quicktype.scenedata
-
Contains classes used for parsing scene data from JSON files.
- isInSameSmoothinggroup(Face) - Method in class rayrangers.raytracer.world.Face
-
Checks if another face is in the same smoothing group.
L
- length() - Method in class rayrangers.raytracer.math.Vector3D
-
Computes the length (magnitude) of this vector.
- length() - Method in class rayrangers.raytracer.math.Vector4D
-
Computes the length (magnitude) of this vector.
- LightComponent - Class in io.quicktype.scenedata
- LightComponent() - Constructor for class io.quicktype.scenedata.LightComponent
- Lightentity - Class in io.quicktype.scenedata
- Lightentity() - Constructor for class io.quicktype.scenedata.Lightentity
- LightentityComponents - Class in io.quicktype.scenedata
- LightentityComponents() - Constructor for class io.quicktype.scenedata.LightentityComponents
- LightentityTranslation - Class in io.quicktype.scenedata
- LightentityTranslation() - Constructor for class io.quicktype.scenedata.LightentityTranslation
- LightSource - Class in rayrangers.raytracer.world
-
Represents a light source in the scene.
- LightSource(double, Vertex3D, Color) - Constructor for class rayrangers.raytracer.world.LightSource
-
Constructs a light source with the specified intensity, position and color, but without a given UUID.
- LightSource(UUID, double, Vertex3D, Color) - Constructor for class rayrangers.raytracer.world.LightSource
-
Constructs a light source with the specified intensity, position and color.
- lightSources - Static variable in class rayrangers.raytracer.gui.Worker
-
List of light sources added to a scene.
- Loader - Class in rayrangers.raytracer.gui
-
Loads the design information for the GUI provided by the UI file.
- Loader() - Constructor for class rayrangers.raytracer.gui.Loader
-
Builds the GUI based on the 'mainGUI.ui' file.
M
- main(String[]) - Static method in class rayrangers.raytracer.Main
- main(String[]) - Static method in class rayrangers.raytracer.ParserPrototype
-
Main method.
- main(String[]) - Static method in class rayrangers.raytracer.Prototype
-
Main method.
- Main - Class in rayrangers.raytracer
- Main() - Constructor for class rayrangers.raytracer.Main
- material - Variable in class rayrangers.raytracer.world.Face
-
Material of the face.
- Material - Class in rayrangers.raytracer.world
-
Represents some kind of material described by a Wavefront MTL file.
- Material(String, Color, Color, Color, double, double, int) - Constructor for class rayrangers.raytracer.world.Material
-
Constructs a material with the specified name and characteristics.
- Matrix3x3 - Class in rayrangers.raytracer.math
-
Represents a 3x3 transformation matrix.
- Matrix3x3() - Constructor for class rayrangers.raytracer.math.Matrix3x3
-
Default constructor initializes the matrix as an identity matrix.
- Matrix3x3(double[][]) - Constructor for class rayrangers.raytracer.math.Matrix3x3
-
Constructor to initialize a 3x3 matrix.
- matrMult(Matrix3x3) - Method in class rayrangers.raytracer.math.Matrix3x3
-
Multiplies this matrix by another matrix.
- Metadata - Class in io.quicktype.scenedata
- Metadata() - Constructor for class io.quicktype.scenedata.Metadata
- MtlParser - Class in rayrangers.raytracer.parser
-
Parser for a Wavefront MTL file.
- MtlParser() - Constructor for class rayrangers.raytracer.parser.MtlParser
- mul(double) - Method in class rayrangers.raytracer.math.Vector4D
-
Multiplies this vector by a scalar.
- mult(double) - Method in class rayrangers.raytracer.math.Vector3D
-
Multiplies this vector by a scalar.
N
- normalize() - Method in class rayrangers.raytracer.math.Vector3D
-
Normalizes this vector, returning a new vector with the same direction but a length (magnitude) of 1.
- normalize() - Method in class rayrangers.raytracer.math.Vector4D
-
Normalizes this vector, returning a new vector with the same direction but a length (magnitude) of 1.
O
- ObjParser - Class in rayrangers.raytracer.parser
-
Parser for a Wavefront OBJ file.
- ObjParser() - Constructor for class rayrangers.raytracer.parser.ObjParser
P
- parseDateTimeString(String) - Static method in class io.quicktype.scenedata.Converter
- parseMaterialFile(String) - Static method in class rayrangers.raytracer.parser.MtlParser
-
Parses a Wavefront MTL file at the given location.
- parseObjFile(String) - Static method in class rayrangers.raytracer.parser.ObjParser
-
Parses a Wavefront OBJ file at the given location.
- ParserPrototype - Class in rayrangers.raytracer
-
Prototype of the raytracer utilizing the JSON parser for the scene specification based on Quicktype.
- ParserPrototype() - Constructor for class rayrangers.raytracer.ParserPrototype
- parseScene(String) - Static method in class rayrangers.raytracer.parser.SceneParser
-
Parses a scene from a JSON file.
- parseTimeString(String) - Static method in class io.quicktype.scenedata.Converter
- Pixel - Class in rayrangers.raytracer.view
-
Represents a pixel in the viewpane in view coordinates.
- Pixel(double, double) - Constructor for class rayrangers.raytracer.view.Pixel
-
Constructs a pixel with the given coordinates in u- and v-direction.
- pointAt(double) - Method in class rayrangers.raytracer.algorithm.Ray
-
Calculates the vertex for a given ray parameter t, using the equation p(t) = origin + t * direction
- Position - Class in io.quicktype.scenedata
- Position() - Constructor for class io.quicktype.scenedata.Position
- Prototype - Class in rayrangers.raytracer
-
Prototype of the raytracer.
- Prototype() - Constructor for class rayrangers.raytracer.Prototype
- PurplePosition - Class in io.quicktype.scenedata
- PurplePosition() - Constructor for class io.quicktype.scenedata.PurplePosition
R
- rank() - Method in class rayrangers.raytracer.math.Matrix3x3
-
Computes the rank of the matrix.
- Ray - Class in rayrangers.raytracer.algorithm
-
Represents a ray with a specified origin and direction.
- Ray(Vertex3D, Vector3D) - Constructor for class rayrangers.raytracer.algorithm.Ray
-
Creates a new ray with a given origin and direction.
- rayrangers.raytracer - package rayrangers.raytracer
-
This is the core package for the Rayrangers "Raytracer from Scratch" project.
- rayrangers.raytracer.algorithm - package rayrangers.raytracer.algorithm
-
Contains all components related to the raytracing algorithm.
- rayrangers.raytracer.algorithm.bounding - package rayrangers.raytracer.algorithm.bounding
-
Contains components related to the bounding volume hierarchy data structure for performance optimization.
- rayrangers.raytracer.gui - package rayrangers.raytracer.gui
-
Contains components required for the graphical user interface based on QtJambi.
- rayrangers.raytracer.math - package rayrangers.raytracer.math
-
Contains classes for mathematical operations, such as vectors, vertices and a transformation matrix.
- rayrangers.raytracer.parser - package rayrangers.raytracer.parser
-
Contains static file parsers for external files describing the scene, models and materials.
- rayrangers.raytracer.view - package rayrangers.raytracer.view
-
Contains components related to the representation of a 2D image as a grid of pixels inside the camera.
- rayrangers.raytracer.world - package rayrangers.raytracer.world
-
This contains components related to the modeling of components in the scene representing physical objects and property interfaces.
- render() - Method in class rayrangers.raytracer.algorithm.Renderer
-
Renders the scene.
- RenderComponent - Class in io.quicktype.scenedata
- RenderComponent() - Constructor for class io.quicktype.scenedata.RenderComponent
- Renderentity - Class in io.quicktype.scenedata
- Renderentity() - Constructor for class io.quicktype.scenedata.Renderentity
- RenderentityComponents - Class in io.quicktype.scenedata
- RenderentityComponents() - Constructor for class io.quicktype.scenedata.RenderentityComponents
- RenderentityTranslation - Class in io.quicktype.scenedata
- RenderentityTranslation() - Constructor for class io.quicktype.scenedata.RenderentityTranslation
- Renderer - Class in rayrangers.raytracer.algorithm
-
Represents a renderer using the raytracing algorithm.
- Renderer(Scene, UUID) - Constructor for class rayrangers.raytracer.algorithm.Renderer
-
Constructs a renderer for the given scene and camera.
- renderJSON(String) - Static method in class rayrangers.raytracer.gui.Worker
-
This method starts the rendering process with a custom scene from a JSON-file.
- Resource - Class in io.quicktype.scenedata
- Resource() - Constructor for class io.quicktype.scenedata.Resource
- rotate(double, double, double) - Method in class rayrangers.raytracer.world.Camera
-
Rotates the camera along the world coordinate axes.
- rotateX(double) - Method in class rayrangers.raytracer.math.Vector3D
-
Rotates the vector around the x-axis by the given angle.
- rotateY(double) - Method in class rayrangers.raytracer.math.Vector3D
-
Rotates the vector around the y-axis by the given angle.
- rotateZ(double) - Method in class rayrangers.raytracer.math.Vector3D
-
Rotates the vector around the z-axis by the given angle.
- RotationClass - Class in io.quicktype.scenedata
- RotationClass() - Constructor for class io.quicktype.scenedata.RotationClass
- rotationX(double) - Static method in class rayrangers.raytracer.math.Matrix3x3
-
Rotation around the x1-axis (x-axis).
- rotationY(double) - Static method in class rayrangers.raytracer.math.Matrix3x3
-
Rotation around the x2-axis (y-axis).
- rotationZ(double) - Static method in class rayrangers.raytracer.math.Matrix3x3
-
Rotation around the x3-axis (z-axis).
S
- scalar(Vector3D) - Method in class rayrangers.raytracer.math.Vector3D
-
Computes the scalar (dot) product with another vector.
- scalar(Vector4D) - Method in class rayrangers.raytracer.math.Vector4D
-
Computes the scalar (dot) product with another vector.
- scalarMult(double) - Method in class rayrangers.raytracer.math.Matrix3x3
-
Multiplies the matrix by a scalar.
- scalarTriple(Vector3D, Vector3D) - Method in class rayrangers.raytracer.math.Vector3D
-
Computes the scalar triple product with two other vectors: (a · (b × c))
- scale(double, double, double) - Method in class rayrangers.raytracer.math.Vector3D
-
Scales the vector by the given scaling factors (sx, sy, sz).
- Scene - Class in rayrangers.raytracer.world
-
Represents the scene to be rendered.
- Scene(Color) - Constructor for class rayrangers.raytracer.world.Scene
-
Constructs a scene with the specified background color.
- SceneData - Class in io.quicktype.scenedata
- SceneData() - Constructor for class io.quicktype.scenedata.SceneData
- SceneParser - Class in rayrangers.raytracer.parser
-
Parses a scene from a JSON file using classes generated by Quicktype.
- SceneParser() - Constructor for class rayrangers.raytracer.parser.SceneParser
- set(HitRecord) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the fields of the hit record to the fields of another hit record.
- setAllCoord(double, double, double) - Method in class rayrangers.raytracer.math.Vertex3D
-
Sets the coordinates of all dimensions.
- setAllVert(Vertex3D[]) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets all vertices of the hittable object.
- setAspectRatio(double) - Method in class io.quicktype.scenedata.CameraComponent
- setB(long) - Method in class io.quicktype.scenedata.Color
- setBackgroundColor(long[]) - Method in class io.quicktype.scenedata.Metadata
- setCameraComponent(CameraComponent) - Method in class io.quicktype.scenedata.CameraentityComponents
- setCameraentity(Cameraentity[]) - Method in class io.quicktype.scenedata.SceneData
- setColor(Color) - Method in class io.quicktype.scenedata.LightComponent
- setColor(Color) - Method in class rayrangers.raytracer.view.Pixel
-
Sets the color of the pixel.
- setColor(Color) - Method in class rayrangers.raytracer.world.LightSource
-
Sets the color of the light source.
- setComponents(CameraentityComponents) - Method in class io.quicktype.scenedata.Cameraentity
- setComponents(LightentityComponents) - Method in class io.quicktype.scenedata.Lightentity
- setComponents(RenderentityComponents) - Method in class io.quicktype.scenedata.Renderentity
- setCoord(int, double) - Method in class rayrangers.raytracer.math.Vertex3D
-
Sets the coordinate of a specified dimension.
- setCoordinates(double, double, double) - Method in class rayrangers.raytracer.math.Vector3D
-
Sets the coordinates of the vector.
- setCoordinates(double, double, double, double) - Method in class rayrangers.raytracer.math.Vector4D
-
Setter for the vertices array.
- setG(long) - Method in class io.quicktype.scenedata.Color
- setGlobalIllumination(boolean) - Method in class io.quicktype.scenedata.Metadata
- setHitObject(Hittable) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the hittable object stored in the hit record.
- setHitPoint(Vertex3D) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the hit point of the hit record.
- setIntensity(double) - Method in class io.quicktype.scenedata.LightComponent
- setIntensity(double) - Method in class rayrangers.raytracer.world.LightSource
-
Sets the intensity of the light source.
- setLightComponent(LightComponent) - Method in class io.quicktype.scenedata.LightentityComponents
- setLightentity(Lightentity[]) - Method in class io.quicktype.scenedata.SceneData
- setMaterial(Material) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the material of the hit record.
- setMatUUID(UUID) - Method in class io.quicktype.scenedata.RenderComponent
- setMaxDepth(long) - Method in class io.quicktype.scenedata.Metadata
- setMetadata(Metadata) - Method in class io.quicktype.scenedata.SceneData
- setName(String) - Method in class io.quicktype.scenedata.Cameraentity
- setName(String) - Method in class io.quicktype.scenedata.Lightentity
- setName(String) - Method in class io.quicktype.scenedata.Renderentity
- setName(String) - Method in class rayrangers.raytracer.world.Entity
-
Sets the entity name.
- setNormalVector(Vector3D) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the normal vector associated with the hittable object.
- setNormalVector(Vector3D) - Method in class rayrangers.raytracer.math.Vertex3D
-
Sets the normal vector of the vertex.
- setObjUUID(UUID) - Method in class io.quicktype.scenedata.RenderComponent
- setPaneDistance(double) - Method in class io.quicktype.scenedata.CameraComponent
- setPaneWidth(double) - Method in class io.quicktype.scenedata.CameraComponent
- setPath(String) - Method in class io.quicktype.scenedata.Resource
- setPosition(Position) - Method in class io.quicktype.scenedata.CameraentityTranslation
- setPosition(Position) - Method in class io.quicktype.scenedata.LightentityTranslation
- setPosition(Position) - Method in class io.quicktype.scenedata.RenderentityTranslation
- setPosition(Vertex3D) - Method in class rayrangers.raytracer.world.LightSource
-
Sets the position of the light source in the world coordinate system.
- setR(long) - Method in class io.quicktype.scenedata.Color
- setRenderComponent(RenderComponent) - Method in class io.quicktype.scenedata.RenderentityComponents
- setRenderentity(Renderentity[]) - Method in class io.quicktype.scenedata.SceneData
- setRenderMode(String) - Method in class io.quicktype.scenedata.Metadata
- setResources(Resource[]) - Method in class io.quicktype.scenedata.SceneData
- setResX(long) - Method in class io.quicktype.scenedata.CameraComponent
- setResY(long) - Method in class io.quicktype.scenedata.CameraComponent
- setRotation(Position) - Method in class io.quicktype.scenedata.CameraentityTranslation
- setRotation(Position) - Method in class io.quicktype.scenedata.RenderentityTranslation
- setSamplesPerPixel(long) - Method in class io.quicktype.scenedata.Metadata
- setScale(Position) - Method in class io.quicktype.scenedata.RenderentityTranslation
- setT(double) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the ray parameter t.
- setTranslation(CameraentityTranslation) - Method in class io.quicktype.scenedata.Cameraentity
- setTranslation(LightentityTranslation) - Method in class io.quicktype.scenedata.Lightentity
- setTranslation(RenderentityTranslation) - Method in class io.quicktype.scenedata.Renderentity
- setType(String) - Method in class io.quicktype.scenedata.Resource
- setUUID(UUID) - Method in class io.quicktype.scenedata.Cameraentity
- setUUID(UUID) - Method in class io.quicktype.scenedata.Lightentity
- setUUID(UUID) - Method in class io.quicktype.scenedata.Renderentity
- setUUID(UUID) - Method in class io.quicktype.scenedata.Resource
- setViewRayDirection(Vector3D) - Method in class rayrangers.raytracer.algorithm.HitRecord
-
Sets the direction of the view ray associated with the hit record.
- setX(double) - Method in class io.quicktype.scenedata.Position
- setX(double) - Method in class io.quicktype.scenedata.RotationClass
- setY(double) - Method in class io.quicktype.scenedata.PurplePosition
- setY(Double) - Method in class io.quicktype.scenedata.Position
- setY(Double) - Method in class io.quicktype.scenedata.RotationClass
- setZ(Double) - Method in class io.quicktype.scenedata.Position
- setZ(Double) - Method in class io.quicktype.scenedata.RotationClass
- Shader - Class in rayrangers.raytracer.algorithm
-
Represents a Blinn-Phong Shader.
- Shader(Scene) - Constructor for class rayrangers.raytracer.algorithm.Shader
-
Class constructor specifying the scene to be rendered.
- smoothingGroup - Variable in class rayrangers.raytracer.world.Face
-
Smoothing group the face belongs to.
- sub(Matrix3x3) - Method in class rayrangers.raytracer.math.Matrix3x3
-
Subtracts another matrix from this matrix.
- sub(Vector3D) - Method in class rayrangers.raytracer.math.Vector3D
-
Subtracts another vector from this vector.
- sub(Vector4D) - Method in class rayrangers.raytracer.math.Vector4D
-
Subtracts another vector from this vector.
T
- toJsonString(SceneData) - Static method in class io.quicktype.scenedata.Converter
- trace() - Method in class rayrangers.raytracer.math.Matrix3x3
-
Computes the trace of the matrix, which is the sum of its diagonal elements.
- TrafoMatrix - Class in rayrangers.raytracer.math
-
Represents a 4x4 cumulated transformation matrix.
- TrafoMatrix(double, double, double, double, double, double, double, double, double) - Constructor for class rayrangers.raytracer.math.TrafoMatrix
-
Constructs a cumulated transformation matrix with the specified translation parameters, rotation angles and scaling factors: CTM = RMX3 * RMX2 * RMX1 * SM * TM (CTM = cumulated transformation matrix, RM = rotation matrix, SM = scaling matrix, TM = translation matrix)
- transform(TrafoMatrix) - Method in class rayrangers.raytracer.math.Vector3D
- transform(TrafoMatrix) - Method in class rayrangers.raytracer.math.Vertex3D
- transform(TrafoMatrix) - Method in class rayrangers.raytracer.world.Entity
- transform(TrafoMatrix) - Method in interface rayrangers.raytracer.world.Transformable
-
Transforms the object according to the given cumulated transformation matrix.
- Transformable - Interface in rayrangers.raytracer.world
-
Interface for all transformable objects.
- transformEntity() - Static method in class rayrangers.raytracer.gui.Worker
-
This method performs the transformations of an entity.
- translate(double, double, double) - Method in class rayrangers.raytracer.math.Vector3D
-
Translates the vector by the given translation factors (tx, ty, tz).
- transpose() - Method in class rayrangers.raytracer.math.Matrix3x3
-
Computes the transpose of the matrix.
- Triangle - Class in rayrangers.raytracer.world
-
Represents a triangle as a special face.
- Triangle(Material, String, List<Vertex3D>) - Constructor for class rayrangers.raytracer.world.Triangle
-
Constructs a triangle with the specified material, smoothing group and list of vertices.
- Triangle(Material, String, Vertex3D, Vertex3D, Vertex3D) - Constructor for class rayrangers.raytracer.world.Triangle
-
Constructs a triangle with the specified material, smoothing group and single vertices.
V
- Vector3D - Class in rayrangers.raytracer.math
-
Represents a vector in 3D space.
- Vector3D(double, double, double) - Constructor for class rayrangers.raytracer.math.Vector3D
-
Constructs a vector with the three specified coordinates.
- Vector4D - Class in rayrangers.raytracer.math
-
Represents a vector in 4D space.
- Vector4D(double, double, double, double) - Constructor for class rayrangers.raytracer.math.Vector4D
-
Constructor to initialize the vector with 4 components.
- Vertex3D - Class in rayrangers.raytracer.math
-
Represents a vertex in 3D space.
- Vertex3D(double, double, double) - Constructor for class rayrangers.raytracer.math.Vertex3D
-
Constructs a vertex with the specified coordinates of all dimensions.
- Vertex3D(double, double, double, Vector3D) - Constructor for class rayrangers.raytracer.math.Vertex3D
-
Constructs a vertex with the specified coordinates of all dimensions and the given normal vector.
- Vertex3D(Vector3D) - Constructor for class rayrangers.raytracer.math.Vertex3D
-
Constructs a vertex with the given location vector.
- ViewPane - Class in rayrangers.raytracer.view
-
Represents a viewpane a scene is rendered to.
- ViewPane(int, int, double) - Constructor for class rayrangers.raytracer.view.ViewPane
-
Constructs a viewpane with the given resolution and width.
W
- Worker - Class in rayrangers.raytracer.gui
-
Provides the functionality for the GUI.
- Worker() - Constructor for class rayrangers.raytracer.gui.Worker
All Classes and Interfaces|All Packages