Modifier and Type | Method and Description |
---|---|
static Project |
TrakEM2Archipelago.getProject(File projectFile) |
Modifier and Type | Method and Description |
---|---|
static File |
TrakEM2Archipelago.getFile(Project p) |
Constructor and Description |
---|
Trakem2Translator(Project p,
File outdir) |
Trakem2Translator(Project p,
File outdir,
String projectName) |
Constructor and Description |
---|
FSAlignListener(Project project,
double t,
boolean append) |
FSAlignListener(Project project,
double t,
double z0) |
Modifier and Type | Method and Description |
---|---|
Project |
Project.createSubproject(Rectangle roi,
Layer first,
Layer last,
boolean ignore_hidden_patches)
Create a new subproject for the given layer range and ROI.
|
static Project |
Project.findProject(Loader loader) |
static Project |
ControlWindow.getActive() |
static Project |
Project.getProject(String title) |
static Project |
Project.newDBProject()
Create a new PostgreSQL-based TrakEM2 project.
|
static Project |
Project.newFSProject(String arg)
Creates a new project to be based on .xml and image files, not a database.
|
static Project |
Project.newFSProject(String arg,
TemplateThing template_root) |
static Project |
Project.newFSProject(String arg,
TemplateThing template_root,
String storage_folder)
Creates a new project to be based on .xml and image files, not a database.
|
static Project |
Project.newFSProject(String arg,
TemplateThing template_root,
String storage_folder,
boolean autocreate_one_layer) |
static Project |
Project.openDBProject()
Open a TrakEM2 project from the database.
|
static Project |
Project.openFSProject(String path) |
static Project |
Project.openFSProject(String path,
boolean open_displays)
Opens a project from an .xml file.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<Project> |
Project.getProjects()
Return a copy of the list of all open projects.
|
static Set<Project> |
ControlWindow.getProjects()
Returns null if there are no projects
|
Modifier and Type | Method and Description |
---|---|
static void |
ControlWindow.add(Project project,
TemplateTree template_tree,
ProjectTree thing_tree,
LayerTree layer_tree)
Beware that this method is asynchronous, as it delegates the launching to the SwingUtilities.invokeLater method to avoid havoc with Swing components.
|
static int |
ControlWindow.getTabIndex(Project project)
Returns -1 if not found.
|
static void |
ControlWindow.remove(Project project) |
static void |
ControlWindow.updateTitle(Project project) |
Modifier and Type | Method and Description |
---|---|
static Bureaucrat |
Compare.compareAllToAll(boolean to_file,
String regex,
String[] ignore,
Project[] projects) |
static Bureaucrat |
Compare.compareAllToAll(boolean to_file,
String regex,
String[] ignore,
Project[] projects,
boolean crop,
boolean from_end,
int max_n_elements,
String outgroup)
Gets pipes for all open projects, and generates a matrix of dissimilarities, which gets passed on to the Worker thread and also to a file, if desired.
|
static Object[] |
Compare.gatherChains(Project[] p,
Compare.CATAParameters cp) |
static Object[] |
Compare.gatherChains(Project[] p,
Compare.CATAParameters cp,
String[] ignore)
Gather chains for all projects considering the cp.regex, and transforms all relative to the reference Project p[0].
|
static Bureaucrat |
Compare.variabilityAnalysis(Project reference_project,
String regex,
String[] ignore,
boolean show_cata_dialog,
boolean generate_plots,
boolean show_plots,
String plot_dir_,
boolean show_3D,
boolean show_condensed_3D,
boolean show_sources_3D,
Map<Project,Color> sources_color_table,
boolean show_envelope_3D,
float envelope_alpha,
double delta_envelope,
int envelope_type,
boolean show_axes_3D,
boolean heat_map,
Map<String,VectorString3D> map_condensed,
Project[] projects) |
static Bureaucrat |
Compare.variabilityAnalysis(Project reference_project,
String regex,
String[] ignore,
boolean show_cata_dialog,
boolean generate_plots,
boolean show_plots,
String plot_dir_,
boolean show_3D,
boolean show_condensed_3D,
boolean show_sources_3D,
Map<Project,Color> sources_color_table,
boolean show_envelope_3D,
float envelope_alpha,
double delta_envelope,
int envelope_type,
boolean show_axes_3D,
boolean heat_map,
Map<String,VectorString3D> map_condensed,
Project[] projects) |
Modifier and Type | Method and Description |
---|---|
static Bureaucrat |
Compare.variabilityAnalysis(Project reference_project,
String regex,
String[] ignore,
boolean show_cata_dialog,
boolean generate_plots,
boolean show_plots,
String plot_dir_,
boolean show_3D,
boolean show_condensed_3D,
boolean show_sources_3D,
Map<Project,Color> sources_color_table,
boolean show_envelope_3D,
float envelope_alpha,
double delta_envelope,
int envelope_type,
boolean show_axes_3D,
boolean heat_map,
Map<String,VectorString3D> map_condensed,
Project[] projects) |
Modifier and Type | Method and Description |
---|---|
Project |
Selection.getProject()
Returns the Project of the Display, or if the latter is null, that of the first selected Displayable.
|
Project |
Line3D.getProject() |
Project |
Bucketable.getProject() |
Modifier and Type | Method and Description |
---|---|
static void |
Display.clearSelection(Project p) |
Node<T> |
Node.clone(Project pr)
Returns a recursive copy of this Node subtree, where the copy of this Node is the root.
|
Displayable |
Displayable.clone(Project pr)
Performs a deep copy of this object but assigning to it the given project.
|
Treeline |
Treeline.clone(Project pr,
boolean copy_id) |
Displayable |
Stack.clone(Project pr,
boolean copy_id) |
Displayable |
Profile.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, unlocked and visible.
|
Displayable |
Polyline.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, without the links.
|
Displayable |
Pipe.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, without the links.
|
Displayable |
Patch.clone(Project pr,
boolean copy_id)
Performs a copy of this object, without the links, unlocked and visible, except for the image which is NOT duplicated.
|
Displayable |
LayerSet.clone(Project pr,
boolean copy_id) |
Displayable |
Dissector.clone(Project pr,
boolean copy_id)
Returns a deep copy.
|
abstract Displayable |
Displayable.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, obtaining its unique id either from the given project or the exact same as this object's id.
|
DLabel |
DLabel.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, except for the Layer pointer.
|
Connector |
Connector.clone(Project pr,
boolean copy_id) |
Displayable |
Ball.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, without the links.
|
AreaTree |
AreaTree.clone(Project pr,
boolean copy_id) |
Displayable |
AreaList.clone(Project pr,
boolean copy_id)
Performs a deep copy of this object, without the links.
|
Displayable |
LayerSet.clone(Project pr,
Layer first,
Layer last,
Rectangle roi,
boolean add_to_tree,
boolean copy_id,
boolean ignore_hidden_patches)
Clone the contents of this LayerSet, from first to last given layers, and cropping for the given rectangle;
does NOT copy the ZDisplayable, which may be copied using the LayerSet.cloneInto method.
|
Layer |
Layer.clone(Project pr,
LayerSet ls,
Rectangle roi,
boolean copy_id,
boolean ignore_hidden_patches)
Make a copy of this layer into the given LayerSet, enclosing only Displayable objects within the roi, and translating them for that roi x,y.
|
static void |
LayerSet.cloneInto(LayerSet src,
Layer src_first,
Layer src_last,
Project pr,
LayerSet copy,
Rectangle roi,
boolean copy_id) |
static void |
Display.close(Project project)
Find all Display instances that contain a Layer of the given project and close them without removing the Display entries from the database.
|
static Layer |
Layer.create(Project project,
LayerSet parent)
Creates a new Layer asking for z and thickness, and adds it to the parent and returns it.
|
static void |
Display.createDisplay(Project project,
Layer layer)
Creates a new Display with adjusted magnification to fit in the screen.
|
static List<Layer> |
Layer.createMany(Project project,
LayerSet parent)
Pops up a dialog to choose the first Z coord, the thickness, the number of layers,
and whether to skip the creation of any layers whose Z and thickness match
that of existing layers.
|
static Patch |
Patch.createPatch(Project project,
String filepath)
Create a new Patch and register the associated
filepath
with the project's loader. |
static void |
Display.exportXML(Project project,
Writer writer,
String indent,
XMLOptions options)
Export all displays of the given project as XML entries.
|
static void |
Polyline.flushTraceCache(Project project) |
static Display |
Display.getFront(Project project)
Get a pointer to a Display for @param project, or null if none.
|
static Layer |
Display.getFrontLayer(Project project)
Get the layer of an open Display of the given Project, or null if none.
|
static Display |
Display.getOrCreateFront(Project project) |
static void |
Display.setReceivesInput(Project project,
boolean b)
Toggle user input; pan and zoom are always enabled though.
|
static void |
Display.updateTitle(Project project) |
static void |
Display.updateVisibleTabs(Project p) |
Constructor and Description |
---|
AreaList(Project project,
long id,
HashMap<String,String> ht_attributes,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
AreaList(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
ArrayList<Long> al_ul,
AffineTransform at)
Reconstruct from the database.
|
AreaList(Project project,
String title,
double x,
double y) |
AreaTree(Project project,
long id,
HashMap<String,String> ht_attr,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
AreaTree(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at)
For cloning purposes, does not call addToDatabase()
|
AreaTree(Project project,
String title) |
Ball(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Construct a Ball from an XML entry.
|
Ball(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at)
Construct an unloaded Ball from the database.
|
Ball(Project project,
String title,
double x,
double y) |
Connector(Project project,
long id,
HashMap<String,String> ht_attr,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
Connector(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at) |
Connector(Project project,
String title) |
Display(Project project,
Layer layer)
A new Display from scratch, to show the given Layer.
|
Display(Project project,
Layer layer,
Displayable displ)
Open a new Display centered around the given Displayable.
|
Display(Project project,
long id,
Layer layer,
HashMap<String,String> ht)
Reconstruct a Display from an XML entry, to be opened when everything is ready.
|
Display(Project project,
long id,
Layer layer,
Object[] props)
For reconstruction purposes.
|
Displayable(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Reconstruct a Displayable from an XML entry.
|
Displayable(Project project,
long id,
String title,
boolean locked,
AffineTransform at,
float width,
float height)
Reconstruct a Displayable from the database.
|
Displayable(Project project,
String title,
double x,
double y)
The minimal public Displayable constructor.
|
Dissector(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
Dissector(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at) |
Dissector(Project project,
String title,
double x,
double y) |
DLabel(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
To reconstruct from an XML entry.
|
DLabel(Project project,
long id,
String text,
float width,
float height,
int type,
String font_name,
int font_style,
int font_size,
boolean locked,
AffineTransform at)
For reconstruction purposes.
|
DLabel(Project project,
String text,
double x,
double y) |
Layer(Project project,
double z,
double thickness,
LayerSet parent) |
Layer(Project project,
long id,
double z,
double thickness)
Reconstruct from database
|
Layer(Project project,
long id,
HashMap<String,String> ht_attributes)
Reconstruct from XML file.
|
LayerSet(Project project,
long id)
Dummy.
|
LayerSet(Project project,
long id,
HashMap<String,String> ht_attributes,
HashMap<Displayable,String> ht_links)
Reconstruct from an XML entry.
|
LayerSet(Project project,
long id,
String title,
float width,
float height,
double rot_x,
double rot_y,
double rot_z,
float layer_width,
float layer_height,
boolean locked,
int snapshots_mode,
AffineTransform at)
Reconstruct from the database.
|
LayerSet(Project project,
String title,
double x,
double y,
Layer parent,
float layer_width,
float layer_height)
Create a new LayerSet with a 0,0,0 rotation vector and default 20,20 px Displayable width,height.
|
Patch(Project project,
long id,
HashMap<String,String> ht_attributes,
HashMap<Displayable,String> ht_links)
Reconstruct from an XML entry.
|
Patch(Project project,
long id,
String title,
float width,
float height,
int o_width,
int o_height,
int type,
boolean locked,
double min,
double max,
AffineTransform at)
Reconstruct a Patch from the database.
|
Patch(Project project,
String title,
double x,
double y,
ij.ImagePlus imp)
Construct a Patch from an image;
most likely you will need to add the file path to the
imp
by calling Loader.addedPatchFrom(String, Patch) , as in this example:
project.getLoader().addedPatchFrom("/path/to/file.png", thePatch); |
Patch(Project project,
String title,
float width,
float height,
int o_width,
int o_height,
int type,
float alpha,
Color color,
boolean locked,
double min,
double max,
AffineTransform at,
String file_path)
Create a new Patch defining all necessary parameters; it is the responsibility
of the caller to ensure that the parameters are in agreement with the image
contained in the
file_path . |
Pipe(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Construct a Pipe from an XML entry.
|
Pipe(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at)
Construct an unloaded Pipe from the database.
|
Pipe(Project project,
String title,
double x,
double y) |
Polyline(Project project,
long id,
HashMap<String,String> ht_attr,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
Polyline(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at) |
Polyline(Project project,
String title)
New empty Polyline.
|
Profile(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Construct a Bezier Profile from an XML entry.
|
Profile(Project project,
long id,
String title,
float alpha,
boolean visible,
Color color,
double[][][] bezarr,
boolean closed,
boolean locked,
AffineTransform at)
Construct a Bezier Profile from the database.
|
Profile(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean closed,
boolean locked,
AffineTransform at)
Construct a Bezier Profile from the database, but the points will be loaded later, when actually needed, by calling setupForDisplay().
|
Profile(Project project,
String title,
double x,
double y)
A new user-requested Profile.
|
Profile(Project project,
String title,
double x,
double y,
Point2D.Double[] points)
Construct a Bezier Profile object from a set of points mixed in this pattern: PCCPCCPCCPCCP , so, [PCC]n where P = backbone point and C = control point.
|
Stack(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
Construct a Stack from an XML entry.
|
Stack(Project project,
String title,
double x,
double y,
Layer initial_layer,
String file_path) |
Tree(Project project,
long id,
HashMap<String,String> ht_attr,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
Tree(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at)
For cloning purposes, does not call addToDatabase(), neither creates any root node.
|
Tree(Project project,
String title) |
Treeline(Project project,
long id,
HashMap<String,String> ht_attr,
HashMap<Displayable,String> ht_links)
Reconstruct from XML.
|
Treeline(Project project,
long id,
String title,
float width,
float height,
float alpha,
boolean visible,
Color color,
boolean locked,
AffineTransform at)
For cloning purposes, does not call addToDatabase()
|
Treeline(Project project,
String title) |
ZDisplayable(Project project,
long id,
HashMap<String,String> ht,
HashMap<Displayable,String> ht_links)
For reconstruction from an XML file.
|
ZDisplayable(Project project,
long id,
String title,
boolean locked,
AffineTransform at,
float width,
float height)
For reconstruction from the database.
|
ZDisplayable(Project project,
String title,
double x,
double y) |
Modifier and Type | Field and Description |
---|---|
protected Project |
DBObject.project |
Modifier and Type | Method and Description |
---|---|
static Project |
ProjectTiler.createRetiledSibling(Project srcProject,
String targetDirectory,
int tileWidth,
int tileHeight,
int exportImageType,
boolean onlyVisibleImages,
int nExportThreads,
boolean createMipMaps)
Take a
Project , a size for the image tiles, and a target directory,
and create a new copy of the current project in that folder but with the underlying
images converted to tiles with a translation-only transform (saved as zipped TIFFs,
with extension ".tif.zip"). |
static Project |
FSLoader.getOpenProject(String project_file_path) |
Project |
DBObject.getProject() |
Project[] |
DBLoader.getProjects()
Fetch all existing projects from the database.
|
Modifier and Type | Method and Description |
---|---|
TemplateThing |
Loader.askForXMLTemplate(Project project)
Ask for the user to provide a template XML file to extract a root TemplateThing.
|
static Project |
ProjectTiler.createRetiledSibling(Project srcProject,
String targetDirectory,
int tileWidth,
int tileHeight,
int exportImageType,
boolean onlyVisibleImages,
int nExportThreads,
boolean createMipMaps)
Take a
Project , a size for the image tiles, and a target directory,
and create a new copy of the current project in that folder but with the underlying
images converted to tiles with a translation-only transform (saved as zipped TIFFs,
with extension ".tif.zip"). |
static boolean |
StaleFiles.delete(Project project,
String topDir,
StaleFiles.Path g)
Generic method called by other methods of this class.
|
static boolean |
StaleFiles.deleteAlphaMasks(Project project)
Delete all files storing a zipped image representing the alpha mask and which are now stale.
|
static boolean |
StaleFiles.deleteCoordinateTransforms(Project project)
Delete all files storing a coordinate transform that are now stale.
|
protected String |
Loader.export(Project project,
File fxml,
XMLOptions options)
Exports the project and its images (optional); if export_images is true, it will be asked for confirmation anyway -beware: for FSLoader, images are not exported since it doesn't own them; only their path.
|
LayerThing |
DBLoader.getRootLayerThing(Project project,
ProjectThing project_thing,
TemplateThing layer_set_tt,
TemplateThing layer_tt)
Fetches the root LayerSet, fills it with children (recursively) and uses the profiles, pipes, etc., from the project_thing.
|
ProjectThing |
DBLoader.getRootProjectThing(Project project,
TemplateThing root_tt,
TemplateThing project_tt,
HashMap<Long,Displayable> hs_d)
Get all the Thing objects, recursively, for the root, and their corresponding encapsulated objects.
|
TemplateThing |
DBLoader.getTemplateRoot(Project project)
Fetch the root of the TemplateThing tree from the database-stored hierarchy of TemplateThing objects defined in the original XML file .
|
Patch |
Loader.importImage(Project project,
double x,
double y) |
Patch |
Loader.importImage(Project project,
double x,
double y,
String path,
boolean synch_mipmap_generation)
Import a new image at the given coordinates; does not puts it into any layer, unless it's a stack -in which case importStack is called with the current front layer of the given project as target.
|
Patch |
Loader.importNextImage(Project project,
double x,
double y) |
protected abstract Patch |
Loader.importStackAsPatches(Project project,
Layer first_layer,
double x,
double y,
ij.ImagePlus stack,
boolean as_copy,
String filepath) |
protected Patch |
FSLoader.importStackAsPatches(Project project,
Layer first_layer,
double x,
double y,
ij.ImagePlus imp_stack,
boolean as_copy,
String filepath)
Returns the last Patch.
|
protected Patch |
DBLoader.importStackAsPatches(Project project,
Layer first_layer,
double x,
double y,
ij.ImagePlus imp_stack,
boolean as_copy,
String filepath)
Returns the last Patch.
|
protected Patch |
Loader.importStackAsPatches(Project project,
Layer first_layer,
ij.ImagePlus stack,
boolean as_copy,
String filepath) |
protected void |
Loader.makeAllPathsRelativeTo(String xml_path,
Project project) |
protected void |
FSLoader.makeAllPathsRelativeTo(String xml_path,
Project project)
Try to make all paths in ht_paths be relative to the given xml_path.
|
void |
DBLoader.restoreNodesExpandedState(Project project)
Affects only those set to true; the rest are left untouched.
|
String |
Loader.save(Project project,
XMLOptions options)
Calls saveAs() unless overriden.
|
String |
FSLoader.save(Project project,
XMLOptions options)
Overwrites the XML file.
|
String |
Loader.saveAs(Project project,
String xmlpath,
XMLOptions options)
Exports to an XML file chosen by the user in a dialog if @param xmlpath is null.
|
String |
Loader.saveAs(Project project,
XMLOptions options)
Save the project under a different name by choosing from a dialog, and exporting all images (will popup a YesNoCancelDialog to confirm exporting images.)
|
String |
FSLoader.saveAs(Project project,
XMLOptions options)
The saveAs called from menus via saveTask.
|
Bureaucrat |
Loader.saveTask(Project project,
String command)
Run save or saveAs in a Bureaucract that blocks user input to the project being saved.
|
void |
Loader.setupMenuItems(JMenu menu,
Project project)
Does nothing unless overriden.
|
void |
FSLoader.setupMenuItems(JMenu menu,
Project project)
Adds a "Save" and "Save as" menu items.
|
void |
Loader.writeXMLTo(Project project,
Writer writer,
XMLOptions options)
Write the project as XML.
|
Constructor and Description |
---|
DBObject(Project project)
Create new and later add it to the database.
|
DBObject(Project project,
long id)
Reconstruct from database.
|
Modifier and Type | Field and Description |
---|---|
protected Project |
DNDTree.project |
Modifier and Type | Method and Description |
---|---|
void |
TemplateThing.addToDatabase(Project project)
Recursive into children! Will add the attributes as well and grab an id for this instance.
|
TemplateThing |
TemplateThing.clone(Project pr,
boolean copy_id)
Recursive into children: clones the whole tree from this node downward.
|
ProjectThing |
ProjectThing.deepClone(Project project,
boolean copy_id)
Clone this ProjectThing with its template and all its children and objects cloned, and return it.
|
boolean |
ProjectTree.rawSendToSiblingProject(ProjectThing source_pt,
int transfer_mode,
Project target_project,
ProjectThing landing_parent)
Assumes that both projects have the same TemplateThing structure,
and assumes that the parent of the (
source_pt and the landing_parent
instances are of the same type. |
ProjectThing |
ProjectThing.subclone(Project pr)
Implicit id copying; assumes the ids of the object are also the same in the given project; the object, if it is a DBObject, is retrieved from the given project by matching its id.
|
Constructor and Description |
---|
DefaultTreeTransferHandler(Project project,
DNDTree tree,
int action) |
DNDTree(Project project,
DefaultMutableTreeNode root,
Color background) |
LayerThing(TemplateThing template,
Project project,
long id,
String title,
Object ob,
ArrayList<LayerThing> al_children)
Reconstruct from database, in combination with the setup() method.
|
LayerThing(TemplateThing template,
Project project,
Object ob) |
LayerTree(Project project,
LayerThing root) |
ProjectThing(TemplateThing template,
Project project,
long id,
Object ob,
ArrayList<ProjectThing> al_children)
Reconstruct a ProjectThing from the database, used in combination with the 'setup' method.
|
ProjectThing(TemplateThing template,
Project project,
Object ob)
Create a new ProjectThing of the given type to contain the given Object.
|
ProjectTree(Project project,
ProjectThing project_thing) |
TemplateThing(String type,
Project project)
Create a new database-stored TemplateThing.
|
TemplateThing(String type,
Project project,
long id)
Reconstruct a TemplateThing from the database.
|
TemplateTree(Project project,
TemplateThing root) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Utils.addPlugIns(JPopupMenu popup,
String menu,
Project project,
Callable<Displayable> active)
Returns false if none to add.
|
static JMenu |
Utils.addPlugIns(String menu,
Project project,
Callable<Displayable> active)
Returns null if none to add.
|
static void |
Merger.compare(Project p1,
Project p2)
Take two projects and find out what is different among them,
independent of id.
|
static Bureaucrat |
Bureaucrat.create(Worker worker,
Project project)
Creates but does not start the Bureaucrat thread.
|
static Bureaucrat |
Bureaucrat.create(Worker worker,
Project[] project)
Creates but does not start the Bureaucrat thread.
|
static Bureaucrat |
Bureaucrat.createAndStart(Worker worker,
Project project)
Creates and start the Bureaucrat thread.
|
static Bureaucrat |
Bureaucrat.createAndStart(Worker worker,
Project[] project)
Creates and start the Bureaucrat thread.
|
static Bureaucrat |
Utils.launchTPlugIn(KeyEvent ke,
String menu,
Project project,
Displayable active)
Returns null if no plugin was launched.
|
static void |
Search.removeTabs(Project p) |
Modifier and Type | Method and Description |
---|---|
protected static ArrayList<Feature> |
Util.deserializeFeatures(Project project,
Object key,
String prefix,
long id)
Retrieve a
Collection of Features from the
TrakEM2 project folder. |
protected static ArrayList<PointMatch> |
Util.deserializePointMatches(Project project,
Object key,
String prefix,
long id1,
long id2) |
void |
ElasticLayerAlignment.exec(ElasticLayerAlignment.Param param,
Project project,
List<Layer> layerRange,
Set<Layer> fixedLayers,
Set<Layer> emptyLayers,
Rectangle box,
boolean propagateTransformBefore,
boolean propagateTransformAfter,
Filter<Patch> filter) |
void |
ElasticLayerAlignment.exec(Project project,
List<Layer> layerRange,
Set<Layer> fixedLayers,
boolean propagateTransformBefore,
boolean propagateTransformAfter,
Rectangle fov,
Filter<Patch> filter)
Stateful.
|
static boolean |
Util.serializeFeatures(Project project,
Object key,
String prefix,
long id,
Collection<Feature> f)
Save a
Collection of Features to the TrakEM2
project folder. |
static boolean |
Util.serializePointMatches(Project project,
Object key,
String prefix,
long id1,
long id2,
Collection<PointMatch> m)
Save a
Collection of PointMatches two-sided. |
Copyright © 2015–2021 Fiji. All rights reserved.