Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
19
Добавлен:
09.02.2015
Размер:
297.47 Кб
Скачать

High level camera control

<camorbit> - Orbit camera.

CAMORBIT Orbit camera.

CAMORBIT(DTHETA, DPHI) Orbits (rotates) the camera position

of the current axes around the camera target by the amounts

specified in DTHETA and DPHI (both in degrees). DTHETA is the

horizontal rotation and DPHI is the vertical.

CAMORBIT(DTHETA, DPHI, coordsys, direction) determines the center

of rotation. Coordsys can be 'data' (the default) or 'camera'. If

coordsys is 'data' (the default), the camera position rotates

around a line specified by the camera target and direction.

Direction can be 'x', 'y', or 'z' (the default) or [X Y Z]. If

coordsys is 'camera', the rotation is around the camera target

point.

CAMORBIT(AX, ...) uses axes AX instead of the current axes.

See also camdolly, campan, camzoom, camroll.

Reference page in Help browser

doc camorbit

<campan> - Pan camera.

CAMPAN Pan camera.

CAMPAN(DTHETA, DPHI) Pans (rotates) the camera target of the

current axes around the camera position by the amounts specified

In dtheta and dphi (both in degrees). Dtheta is the horizontal

rotation and DPHI is the vertical.

CAMPAN(DTHETA, DPHI, coordsys, direction) determines the center of

rotation. Coordsys can be 'data' (the default) or 'camera'. If

coordsys is 'data' (the default), the camera target rotates around

a line specified by the camera position and direction. Direction

can be 'x', 'y', or 'z' (the default) or [X Y Z]. If coordsys is

'camera', the rotation is around the camera position point.

CAMPAN(AX, ...) uses axes AX instead of the current axes.

See also camdolly, camorbit, camzoom, camroll.

Reference page in Help browser

doc campan

<camdolly> - Dolly camera.

CAMDOLLY Dolly camera.

CAMDOLLY(DX, DY, DZ) Moves the camera position and camera target

of the current axes by the amounts specified in DX, DY, and DZ.

CAMDOLLY(DX, DY, DZ, targetmode) determines if the camera target

Is moved. If targetmode is 'movetarget' (the default), both the

camera position and the camera target are moved. If targetmode is

'fixtarget', only the camera position is moved.

CAMDOLLY(DX, DY, DZ, targetmode, coordsys) determines the meaning

of DX, DY, and DZ. If coordsys is 'camera' (the default), DX and

DY move the camera up, down, right, and left in the camera's

coordinate system; DZ moves the camera along the line which passes

through the camera position and camera target. The units are

normalized to the scene being viewed. For example, if DX is 1 the

camera is moved to the right, which pushes the scene to the left

edge of the box formed by the axes position. If DZ is .5, the

camera is moved to a position half way in between the camera

position and the camera target. If coordsys is 'pixels', DX and

DY are interpreted as a pixel offset and DZ is ignored. If

coordsys is 'data', DX, DY, and DZ are in data space (not the

camera's coordinate system).

CAMDOLLY(AX, ...) uses axes AX instead of the current axes.

See also camorbit, campan, camzoom, camroll.

Reference page in Help browser

doc camdolly

<camzoom> - Zoom camera.

CAMZOOM Zoom camera.

CAMZOOM(ZF) zooms the camera of the current axes in or out by ZF.

Соседние файлы в папке Библиотеки Matlab