A viewpoint into a volume, for volume rendering.
The camera represents the eye of an observer, which will be used to generate ray-cast volume renderings of the domain.
Parameters : | center : array_like
normal_vector : array_like
width : float or list of floats
resolution : int or list of ints
north_vector : array_like, optional
volume : yt.extensions.volume_rendering.HomogenizedVolume, optional
fields : list of fields, optional
log_fields : list of bool, optional
sub_samples : int, optional
pf : StaticOutput
|
---|
Examples
>>> cam = vr.Camera(c, L, W, (N,N), transfer_function = tf, pf = pf)
>>> image = cam.snapshot()