Uses of Class
org.sunflow.math.Point3
Packages that use Point3
Package
Description
-
Uses of Point3 in org.sunflow
Methods in org.sunflow with parameters of type Point3 -
Uses of Point3 in org.sunflow.core
Methods in org.sunflow.core that return Point3Modifier and TypeMethodDescriptionGet the specified point parameter from this list.final Point3Gets the end point of the ray.final Point3ShadingState.getPoint()Get hit point.ShadingState.transformObjectToWorld(Point3 p) Transform the given point from object space to world space.ShadingState.transformWorldToObject(Point3 p) Transform the given point from world space to object space.Methods in org.sunflow.core with parameters of type Point3Modifier and TypeMethodDescriptionvoidLightSource.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.Get the specified point parameter from this list.final Point3Gets the end point of the ray.GlobalPhotonMapInterface.getRadiance(Point3 p, Vector3 n) Lookup the global diffuse radiance at the specified surface point.final booleanShadingState.getTrianglePoints(Point3[] p) Get the three triangle corners in object space if the hit object is a mesh, returns false otherwise.ShadingState.transformObjectToWorld(Point3 p) Transform the given point from object space to world space.ShadingState.transformWorldToObject(Point3 p) Transform the given point from world space to object space.Constructors in org.sunflow.core with parameters of type Point3 -
Uses of Point3 in org.sunflow.core.light
Methods in org.sunflow.core.light with parameters of type Point3Modifier and TypeMethodDescriptionvoidDirectionalSpotlight.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.photonmap
Methods in org.sunflow.core.photonmap with parameters of type Point3Modifier and TypeMethodDescriptionGlobalPhotonMap.getRadiance(Point3 p, Vector3 n) GridPhotonMap.getRadiance(Point3 p, Vector3 n) -
Uses of Point3 in org.sunflow.core.primitive
Methods in org.sunflow.core.primitive that return Point3Modifier and TypeMethodDescriptionprotected Point3QuadMesh.getPoint(int i) protected Point3TriangleMesh.getPoint(int i) Methods in org.sunflow.core.primitive with parameters of type Point3 -
Uses of Point3 in org.sunflow.math
Methods in org.sunflow.math that return Point3Modifier and TypeMethodDescriptionstatic final Point3static final Point3final Point3BoundingBox.getCenter()Gets the center of the box, computed as (min + max) / 2.final Point3BoundingBox.getCorner(int i) Gets a corner of the bounding box.final Point3BoundingBox.getMaximum()Gets the maximum corner of the box.final Point3BoundingBox.getMinimum()Gets the minimum corner of the box.static final Point3final Point3Point3.set(float x, float y, float z) final Point3final 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 Point3Modifier and TypeMethodDescriptionstatic final Point3static final Point3final booleanChecks to see if the specifiedpointis inside the volume defined by this box.final floatPoint3.distanceTo(Point3 p) final floatPoint3.distanceToSquared(Point3 p) final voidChanges the extents of the box as needed to include the givenpointinto this box.static final Matrix4Creates a camera positioning matrix from the given eye and target points and up vector.static final Point3static final floatstatic final floatstatic final Vector3static final Vector3static final Vector3static final Vector3static final floatstatic final floatstatic final Vector3static final Vector3final Point3static final floatstatic final floatstatic final Vector3static final Vector3static final floatstatic final floatstatic final Vector3static final Vector3static final Vector3final 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 Point3ModifierConstructorDescriptionCreates a bounding box containing only the specified point.