Class RtCamera
- java.lang.Object
-
- one.empty3.library.core.raytracer.RtNode
-
- one.empty3.library.core.raytracer.RtCamera
-
- Direct Known Subclasses:
RtTargetCamera
public class RtCamera extends RtNode
-
-
Field Summary
Fields Modifier and Type Field Description protected Point3D
mCamPos
protected Point3D
mRightVec
protected Point3D
mUpVec
protected Point3D
mVecDir
protected double
mViewplaneDist
protected double
mViewplaneHeight
protected Point3D
mViewPlaneUpLeft
protected double
mViewplaneWidth
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point3D
getPosition()
boolean
intersectsNode(RtRay ray, RtIntersectInfo intersectInfo)
-
Methods inherited from class one.empty3.library.core.raytracer.RtNode
getName, getNodeInstance, getNodeType, setName, setNodeType
-
-
-
-
Field Detail
-
mViewplaneDist
protected double mViewplaneDist
-
mViewplaneWidth
protected double mViewplaneWidth
-
mViewplaneHeight
protected double mViewplaneHeight
-
mCamPos
protected Point3D mCamPos
-
mVecDir
protected Point3D mVecDir
-
mUpVec
protected Point3D mUpVec
-
mRightVec
protected Point3D mRightVec
-
mViewPlaneUpLeft
protected Point3D mViewPlaneUpLeft
-
-
Method Detail
-
intersectsNode
public boolean intersectsNode(RtRay ray, RtIntersectInfo intersectInfo)
- Specified by:
intersectsNode
in classRtNode
-
getPosition
public Point3D getPosition()
-
-