Package com.solibri.smc.api.threed
Interface OrthogonalCameraState
- All Superinterfaces:
CameraState
public interface OrthogonalCameraState extends CameraState
OrthogonalCameraState represents the state of 3d camera in orthogonal projection. Orthogonal projection maintains
parallel lines but provide no sense of depth. The distance from the virtual camera to an object has no affect on the
size of the rendered object.
- Since:
- 9.12.0
-
Method Summary
Modifier and Type Method Description static OrthogonalCameraState
create(Vector3d location, Vector3d direction, Vector3d upDirection, double viewToWorldScale)
Creates a new orthogonal camera state.double
getViewToWorldScale()
Returns the view to world scale.Methods inherited from interface com.solibri.smc.api.threed.CameraState
getDirection, getLocation, getUpDirection
-
Method Details
-
getViewToWorldScale
double getViewToWorldScale()Returns the view to world scale. This is valid only in the orthogonal projection.- Returns:
- the view to world scale
- Since:
- 9.12.0
-
create
static OrthogonalCameraState create(Vector3d location, Vector3d direction, Vector3d upDirection, double viewToWorldScale)Creates a new orthogonal camera state.- Parameters:
location
- the locationdirection
- the directionupDirection
- the up directionviewToWorldScale
- the proportion of camera view to model- Returns:
- the new camera state
- Since:
- 9.12.0
-