Uses of Class
org.sunflow.math.Point3
-
-
Uses of Point3 in org.sunflow
Methods in org.sunflow with parameters of type Point3 Modifier and Type Method Description voidFileSunflowAPI. parameter(java.lang.String name, Point3 value)voidSunflowAPI. parameter(java.lang.String name, Point3 value)voidSunflowAPIInterface. parameter(java.lang.String name, Point3 value)Declare a parameter with the specified name and value. -
Uses of Point3 in org.sunflow.core
Fields in org.sunflow.core declared as Point3 Modifier and Type Field Description private Point3ShadingState. pMethods in org.sunflow.core that return Point3 Modifier and Type Method Description Point3ParameterList. getPoint(java.lang.String name, Point3 defaultValue)Get the specified point parameter from this list.private Point3ParameterList.Parameter. getPoint()Point3Ray. getPoint(Point3 dest)Gets the end point of the ray.Point3ShadingState. getPoint()Get hit point.Point3ShadingState. transformObjectToWorld(Point3 p)Transform the given point from object space to world space.Point3ShadingState. transformWorldToObject(Point3 p)Transform the given point from world space to object space.Methods in org.sunflow.core with parameters of type Point3 Modifier and Type Method Description voidLightSource. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)Gets a photon to emit from this light source by setting each of the arguments.Point3ParameterList. getPoint(java.lang.String name, Point3 defaultValue)Get the specified point parameter from this list.Point3Ray. getPoint(Point3 dest)Gets the end point of the ray.ColorGlobalPhotonMapInterface. getRadiance(Point3 p, Vector3 n)Lookup the global diffuse radiance at the specified surface point.(package private) RayCamera. getRay(Point3 p, float time)Generate a ray from the origin of camera space toward the specified point.booleanShadingState. getTrianglePoints(Point3[] p)Get the three triangle corners in object space if the hit object is a mesh, returns false otherwise.Point3ShadingState. transformObjectToWorld(Point3 p)Transform the given point from object space to world space.Point3ShadingState. transformWorldToObject(Point3 p)Transform the given point from world space to object space.Constructors in org.sunflow.core with parameters of type Point3 Constructor Description Ray(Point3 a, Point3 b)Creates a new ray that points from point a to point b.Ray(Point3 o, Vector3 d)Creates a new ray that points from the given origin to the given direction. -
Uses of Point3 in org.sunflow.core.gi
Fields in org.sunflow.core.gi declared as Point3 Modifier and Type Field Description (package private) Point3IrradianceCacheGIEngine.Node. center(package private) Point3InstantGI.PointLight. pMethods in org.sunflow.core.gi with parameters of type Point3 Modifier and Type Method Description private ColorIrradianceCacheGIEngine. getIrradiance(Point3 p, Vector3 n)private voidIrradianceCacheGIEngine. insert(Point3 p, Vector3 n, float r0, Color irr)(package private) booleanIrradianceCacheGIEngine.Node. isInside(Point3 p)Constructors in org.sunflow.core.gi with parameters of type Point3 Constructor Description Node(Point3 center, float sideLength)Sample(Point3 p, Vector3 n)Sample(Point3 p, Vector3 n, float r0, Color irr) -
Uses of Point3 in org.sunflow.core.light
Fields in org.sunflow.core.light declared as Point3 Modifier and Type Field Description private Point3SphereLight. centerprivate Point3PointLight. lightPointprivate Point3DirectionalSpotlight. srcMethods in org.sunflow.core.light with parameters of type Point3 Modifier and Type Method Description voidDirectionalSpotlight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidImageBasedLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidPointLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSphereLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSunSkyLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidTriangleMeshLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power) -
Uses of Point3 in org.sunflow.core.parser
Methods in org.sunflow.core.parser that return Point3 Modifier and Type Method Description private Point3SCAbstractParser. parsePoint()private Point3SCParser. parsePoint() -
Uses of Point3 in org.sunflow.core.photonmap
Methods in org.sunflow.core.photonmap with parameters of type Point3 Modifier and Type Method Description ColorGlobalPhotonMap. getRadiance(Point3 p, Vector3 n)ColorGridPhotonMap. getRadiance(Point3 p, Vector3 n)(package private) voidCausticPhotonMap.NearestPhotons. reset(Point3 p, float maxDist2)(package private) voidGlobalPhotonMap.NearestPhotons. reset(Point3 p, float maxDist2)Constructors in org.sunflow.core.photonmap with parameters of type Point3 Constructor Description NearestPhotons(Point3 p, int n, float maxDist2)NearestPhotons(Point3 p, int n, float maxDist2)Photon(Point3 p, Vector3 dir, Color power)Photon(Point3 p, Vector3 n, Vector3 dir, Color power, Color diffuse) -
Uses of Point3 in org.sunflow.core.primitive
Fields in org.sunflow.core.primitive declared as Point3 Modifier and Type Field Description private Point3Plane. centerMethods in org.sunflow.core.primitive that return Point3 Modifier and Type Method Description protected Point3QuadMesh. getPoint(int i)protected Point3TriangleMesh. getPoint(int i)Methods in org.sunflow.core.primitive with parameters of type Point3 Modifier and Type Method Description voidCornellBox. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidTriangleMesh. getPoint(int tri, int i, Point3 p)private voidCornellBox. updateGeometry(Point3 c0, Point3 c1) -
Uses of Point3 in org.sunflow.core.tesselatable
Methods in org.sunflow.core.tesselatable with parameters of type Point3 Modifier and Type Method Description private voidBezierMesh. getPatchPoint(float u, float v, float[] ctrl, float[] bu, float[] bv, float[] bdu, float[] bdv, Point3 p, Vector3 n) -
Uses of Point3 in org.sunflow.math
Fields in org.sunflow.math declared as Point3 Modifier and Type Field Description private Point3BoundingBox. maximumprivate Point3BoundingBox. minimumMethods in org.sunflow.math that return Point3 Modifier and Type Method Description static Point3Point3. add(Point3 p, Vector3 v, Point3 dest)static Point3Point3. blend(Point3 p0, Point3 p1, float blend, Point3 dest)Point3BoundingBox. getCenter()Gets the center of the box, computed as (min + max) / 2.Point3BoundingBox. getCorner(int i)Gets a corner of the bounding box.Point3BoundingBox. getMaximum()Gets the maximum corner of the box.Point3BoundingBox. getMinimum()Gets the minimum corner of the box.static Point3Point3. mid(Point3 p1, Point3 p2, Point3 dest)Point3Point3. set(float x, float y, float z)Point3Point3. set(Point3 p)Point3Matrix4. transformP(Point3 p)Computes this*p and returns the result as a new Point3 object.Methods in org.sunflow.math with parameters of type Point3 Modifier and Type Method Description static Point3Point3. add(Point3 p, Vector3 v, Point3 dest)static Point3Point3. blend(Point3 p0, Point3 p1, float blend, Point3 dest)booleanBoundingBox. contains(Point3 p)Checks to see if the specifiedpointis inside the volume defined by this box.floatPoint3. distanceTo(Point3 p)floatPoint3. distanceToSquared(Point3 p)voidBoundingBox. include(Point3 p)Changes the extents of the box as needed to include the givenpointinto this box.static Matrix4Matrix4. lookAt(Point3 eye, Point3 target, Vector3 up)Creates a camera positioning matrix from the given eye and target points and up vector.static Point3Point3. mid(Point3 p1, Point3 p2, Point3 dest)static floatPerlinScalar. noise(Point3 p)static floatPerlinScalar. noise(Point3 p, float t)static Vector3PerlinVector. noise(Point3 p)static Vector3PerlinVector. noise(Point3 p, float t)static Vector3Point3. normal(Point3 p0, Point3 p1, Point3 p2)static Vector3Point3. normal(Point3 p0, Point3 p1, Point3 p2, Vector3 dest)static floatPerlinScalar. pnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static floatPerlinScalar. pnoise(Point3 p, Vector3 period)static Vector3PerlinVector. pnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. pnoise(Point3 p, Vector3 period)Point3Point3. set(Point3 p)static floatPerlinScalar. snoise(Point3 p)static floatPerlinScalar. snoise(Point3 p, float t)static Vector3PerlinVector. snoise(Point3 p)static Vector3PerlinVector. snoise(Point3 p, float t)static floatPerlinScalar. spnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static floatPerlinScalar. spnoise(Point3 p, Vector3 period)static Vector3PerlinVector. spnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. spnoise(Point3 p, Vector3 period)static Vector3Point3. sub(Point3 p1, Point3 p2, Vector3 dest)Point3Matrix4. transformP(Point3 p)Computes this*p and returns the result as a new Point3 object.Constructors in org.sunflow.math with parameters of type Point3 Constructor Description BoundingBox(Point3 p)Creates a bounding box containing only the specified point.Point3(Point3 p)
-