Read a mesh for the current segmentation
Arguments
- ids
A set of body ids in any form understandable to
manc_ids
- units
Units of the returned neurons (default
nm
)- type
One of
"auto"
(the default),"dvid"
or"small"
(see details).- node
A DVID node as returned by
manc_dvid_node
. The default is to return the current active (unlocked) node being used through neutu.- df
A data.frame containing information about the neurons for which meshes will be fetched. Optional and if
ids
is a data.frame, then that will be used.- ...
Additional arguments passed to
httr::GET
Value
A neuronlist
containing one or more mesh3d
objects.
Details
dvid
meshes are pre-computed but are automatically deleted
and recomputed after bodies are edited. However this process has a
noticeable lag. small
meshes are generated on demand in a process
that can be quite slow. auto
will try the dvid
method and
switch to small
if that fails. See
slack
for details; this is essentially the same behaviour as the flyem clio
fork.
See also
Other neurons:
read_mcns_neurons()
Examples
if (FALSE) { # \dontrun{
ml=read_mcns_meshes(1796013202)
plot3d(ml)
# or if there's just one mesh, you can get more control with the rgl commands
# like wire3d
wire3d(ml[[1]])
} # }