/** * Constructs a surface plot for the given ContentInstant. * * @param c */ public SurfacePlotGroup(final Content c) { this(c.getCurrent()); }
/** * Construct a MultiOrthoGroup from the given Content. * * @param c */ public MultiOrthoGroup(final Content c) { this(c.getCurrent()); }
/** * Initialize this VoltexGroup with the specified Content. * * @param c * @throws IllegalArgumentException if the specified Content has no image. */ public VoltexGroup(final Content c) { this(c.getCurrent()); }
/** * Construct a OrthoGroup from the given Content. * * @param c */ public OrthoGroup(final Content c) { this(c.getCurrent()); }
@Test @InSequence(1) public void shouldLoadContentAndRevision() throws Exception { Content content = entityManager.find(Content.class, Long.valueOf(1)); assertNotNull("should have found content #1", content); // same checks as before: assertNotNull("content should have current revision", content.getCurrent()); assertSame("content should be same as revision's parent", content, content.getCurrent().getContent()); assertEquals("content should have 1 revision", 1, content.getRevisionList().size()); assertSame("the list should contain same reference", content.getCurrent(), content.getRevisionList().get(0)); }
/** * @deprecated * @param i */ @Deprecated public void deletePointListPoint(final int i) { getCurrent().deletePointListPoint(i); }
/** * @deprecated * @param i * @param pos */ @Deprecated public void setListPointPos(final int i, final Point3d pos) { getCurrent().setListPointPos(i, pos); }
/** * @deprecated * @param p */ @Deprecated public void addPointListPoint(final Point3d p) { getCurrent().addPointListPoint(p); }
public void showPointList(final boolean b) { getCurrent().showPointList(b); this.showPointList = b; }
public Color3f getColor() { return getCurrent().getColor(); }
public boolean isSaturatedVolumeRendering() { return getCurrent().isSaturatedVolumeRendering(); }
public boolean hasCoord() { return getCurrent().hasCoord(); }
public ContentNode getContent() { return getCurrent().getContent(); }
public void getLocalRotate(final Transform3D t) { getCurrent().getLocalRotate(t); }
public void getLocalTranslate(final Transform3D t) { getCurrent().getLocalTranslate(t); }
public boolean isPLVisible() { return getCurrent().isPLVisible(); } }
public ImagePlus exportTransformed() { return getCurrent().exportTransformed(); }
public boolean[] getChannels() { return getCurrent().getChannels(); }
public void getBlueLUT(final int[] l) { getCurrent().getBlueLUT(l); }
public TransformGroup getLocalRotate() { return getCurrent().getLocalRotate(); }