/ . / _chimera / Camera
Camera(windowWidth: float, fov: float, eyeSep: float, llx: int, lly: int, urx: int, ury: int) -> Camera
attributes:
- autoFocus: bool
- center: 3-tuple of float
- extent: float
- eyeSeparation: float
- fieldOfView: float
- focal: float
- nearFar: (float, float)
- ortho: bool
- screenDistance: float
- walleyeScale: float
- windowWidth: float
Methods
|
|
|
lly
|
lly ( self )
lly() -> int
|
|
llx
|
llx ( self )
llx() -> int
|
|
atPos
|
atPos ( self, v )
atPos(v: int) -> 3-tuple of float
|
|
setLenticularImageCount
|
setLenticularImageCount ( self, ni )
setLenticularImageCount(ni: int)
|
|
projMatrix
|
projMatrix ( self, v )
projMatrix(v: int) -> 16-tuple of float
|
|
viewXform
|
viewXform ( self, v )
viewXform(v: int) -> Xform
viewXform(v: int, m: Model) -> Xform
|
|
isStereoMode
|
isStereoMode ( self )
isStereoMode() -> bool
|
|
window
|
window ( self, v )
window(v: int) -> 7-tuple of float
|
|
setViewport
|
setViewport (
self,
llx,
lly,
width,
height,
)
setViewport(llx: int, lly: int, width: int, height: int)
|
|
mode
|
mode ( self )
mode() -> str
|
|
lenticularImageCount
|
lenticularImageCount ( self )
lenticularImageCount() -> int
|
|
printOnly
|
printOnly ( self )
printOnly() -> bool
|
|
hasMode
|
hasMode ( self, mode )
hasMode(mode: str) -> bool
|
|
setMode
|
setMode (
self,
type,
viewer,
)
setMode(type: str, viewer: (Viewer|None) = None) -> bool
|
|
viewport
|
viewport ( self, v )
viewport(v: int) -> 4-tuple of int
|
|
modes
|
modes (
self,
printOnly,
all,
)
modes(printOnly: bool = false, all: bool = false) -> list of str
|
|
printViews
|
printViews ( self )
printViews() -> list of tuple(int, int)
|
|
lastView
|
lastView ( self )
lastView() -> int
|
|
eyePos
|
eyePos ( self, v )
eyePos(v: int) -> 3-tuple of float
|
|
numViews
|
numViews ( self )
numViews() -> int
|
|
urx
|
urx ( self )
urx() -> int
|
|
ury
|
ury ( self )
ury() -> int
|
|
|