Add a 3D mesh surface to catmaid volume manager
catmaid_add_volume(x, conn = NULL, pid = 1, ...)
A mesh object such as hxsurf or a list with raw vertices and indices
that will be passed to as.catmaidmesh
A catmaid_connection
objection returned by
catmaid_login
. If NULL
(the default) a new connection
object will be generated using the values of the catmaid.* package
options as described in the help for catmaid_login
.
Project id (default 1)
Additional arguments passed to as.catmaidmesh
such
as title, comments etc.
An invisible list with the post status response on success (the function will throw an error on failure)