/ . / _chimera / LensViewer
LensViewer() -> LensViewer
constants:
- Fill = 1
- Labels = 1
- LitLines = 2
- LowRes = 7
- NumDrawPass = 9
- OpaqueSurfaces = 0
- Outline = 0
- Overlay2d = 6
- Selection = 8
- Translucent1 = 4
- Translucent2 = 5
- UnlitLines = 3
attributes:
- background: Color
- backgroundLens: Lens
- benchmarking: int
- camera: Camera
- depthCue: bool
- depthCueColor: Color
- fillLight: Light
- highlight: int
- highlightColor: Color
- keyLight: Light
- lensBorder: bool
- lensBorderColor: Color
- lensBorderWidth: float
- localViewer: bool
- saveZbuffer: bool
- scaleFactor: float
- selectionSet: object
- showBound: bool
- showPlaneModel: bool
- showShadows: bool
- showSilhouette: bool
- silhouetteColor: Color
- silhouetteWidth: float
- startRatio: float
- viewSize: float
- windowOrigin: (int, int)
- windowSize: (int, int)
- yonIntensity: float
Methods
|
|
|
pickLabel
|
pickLabel (
self,
x,
y,
)
pickLabel(x: int, y: int) -> list of Selectable
|
|
selectLens
|
selectLens (
self,
x,
y,
)
selectLens(x: int, y: int)
|
|
displayCB
|
displayCB ( self, widget )
displayCB(widget: object)
|
|
vsphere
|
vsphere (
self,
time,
x,
y,
throttle,
)
vsphere(time: int, x: int, y: int, throttle: bool = false) -> Xform
|
|
pilImages
|
pilImages (
self,
width,
height,
printMode,
)
pilImages(width: int = 0, height: int = 0, printMode: (str|None) = None, supersample: int = 0, opacity: bool = false, front: bool = false) -> object
|
|
trackingXY
|
trackingXY ( self, mode )
trackingXY(mode: str) -> int, int
|
|
resetView
|
resetView ( self )
resetView()
|
|
touch
|
touch ( self )
touch()
|
|
dragPick
|
dragPick (
self,
x,
y,
)
dragPick(x: int, y: int)
|
|
pdbWrite
|
pdbWrite (
self,
mList,
xform,
filename,
allFrames,
displayedOnly,
selectedOnly,
)
pdbWrite(mList: sequence of Molecule, xform: Xform, filename: str, allFrames: bool = false, displayedOnly: bool = false, selectedOnly: bool = false)
pdbWrite(mList: sequence of Molecule, xform: Xform, out: writable file-like, allFrames: bool = false, displayedOnly: bool = false, selectedOnly: bool = false)
|
|
postRedisplay
|
postRedisplay ( self )
postRedisplay()
|
|
recordPosition
|
recordPosition (
self,
time,
x,
y,
cursor,
)
recordPosition(time: int, x: int, y: int, cursor: (str|None))
|
|
parallax
|
parallax ( self )
parallax() -> float, float
|
|
hasGraphicsContext
|
hasGraphicsContext ( self )
hasGraphicsContext() -> bool
|
|
translateXY
|
translateXY (
self,
x,
y,
throttle,
)
translateXY(x: int, y: int, throttle: bool = false)
|
|
destroy
|
destroy ( self )
destroy()
|
|
createCB
|
createCB ( self, widget )
createCB(widget: object)
|
|
x3dWrite
|
x3dWrite (
self,
filename,
title,
)
x3dWrite(filename: str, title: str = "")
x3dWrite(out: writable file-like, indent: unsigned int = 0, title: str = "")
|
|
rasterPos3
|
rasterPos3 (
self,
x,
y,
z,
)
rasterPos3(x: float, y: float, z: float)
|
|
translateZ
|
translateZ (
self,
x,
y,
throttle,
)
translateZ(x: int, y: int, throttle: bool = false)
|
|
moveLens
|
moveLens (
self,
x,
y,
)
moveLens(x: int, y: int)
|
|
reshapeCB
|
reshapeCB ( self, widget )
reshapeCB(widget: object)
|
|
delta
|
delta (
self,
x,
y,
throttle,
)
delta(x: int, y: int, throttle: bool = false) -> float, float
|
|
setCursor
|
setCursor ( self, cursor )
setCursor(cursor: (str|None))
|
|
destroyCB
|
destroyCB ( self, widget )
destroyCB(widget: object)
|
|
startAutoSpin
|
startAutoSpin (
self,
time,
x,
y,
)
startAutoSpin(time: int, x: int, y: int) -> bool
|
|
zoom
|
zoom (
self,
x,
y,
throttle,
)
zoom(x: int, y: int, throttle: bool = false)
|
|
viewAll
|
viewAll ( self, resetCofrMethod )
viewAll(resetCofrMethod: bool = true)
|
|
pdbrunNoMarks
|
pdbrunNoMarks (
self,
all,
conect,
nouser,
surface,
nowait,
shellCommand,
)
pdbrunNoMarks(all: bool, conect: bool, nouser: bool, surface: bool, nowait: bool, shellCommand: str)
|
|
pick
|
pick (
self,
x,
y,
)
pick(x: int, y: int) -> list of Selectable
|
|
|