public void setCameraAtom(int index) {
		cameraAtom = index;
		if (cameraAtom >= 0) {
			if (velocityVector == null)
				velocityVector = new Vector3f();
			if (cameraVector == null)
				cameraVector = new Vector3f();
			if (!viewer.isCameraSpin())
				viewer.setCameraSpin(true);
		}
		refresh();
	}