Tabnine Logo
Shape3D.setCapability
Code IndexAdd Tabnine to your IDE (free)

How to use
setCapability
method
in
org.scijava.java3d.Shape3D

Best Java code snippets using org.scijava.java3d.Shape3D.setCapability (Showing top 10 results out of 315)

origin: sc.fiji/3D_Viewer

frontShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
frontShape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
backShape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
backShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
origin: sc.fiji/3D_Viewer

frontShape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
frontShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
frontShape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
backShape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
backShape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
backShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
origin: org.scijava/j3dutils

shape.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
origin: org.scijava/j3dutils

(shape[BODY]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[BODY]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[BODY]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
(shape[TOP]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[TOP]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[TOP]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
(shape[BOTTOM]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[BOTTOM]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[BOTTOM]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
origin: org.scijava/j3dutils

shape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
shape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  shape.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
origin: org.scijava/j3dutils

(shape[BODY]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[BODY]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[BODY]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
(shape[CAP]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[CAP]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[CAP]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
origin: sc.fiji/Volume_Calculator

edgeShape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
edgeShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
origin: org.scijava/j3dutils

(shape[i]).setCapability(Shape3D.ALLOW_APPEARANCE_READ);
(shape[i]).setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  (shape[i]).setCapability(Shape3D.ALLOW_GEOMETRY_READ);
origin: sc.fiji/3D_Viewer

public Scalebar(final float length) {
  final Transform3D position = new Transform3D();
  positionTG = new TransformGroup(position);
  positionTG.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
  positionTG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
  addChild(positionTG);
  lineShape = new Shape3D();
  lineShape.setGeometry(createLineGeometry());
  lineShape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
  positionTG.addChild(lineShape);
  final Transform3D texttranslate = new Transform3D();
  texttranslate.setTranslation(new Vector3f(length / 2, -length / 2, 0.0f));
  textTG = new TransformGroup(texttranslate);
  textTG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
  positionTG.addChild(textTG);
  textShape = new OrientedShape3D();
  textShape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
  textShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
  textShape.setGeometry(createTextGeometry());
  textShape.setAppearance(createTextAppearance());
  textShape.setAlignmentAxis(0.0f, 1.0f, 0.0f);
  textTG.addChild(textShape);
}
origin: sc.fiji/3D_Viewer

sphere.getShape().setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
sphere.setCapability(Primitive.ENABLE_APPEARANCE_MODIFY);
sphere.setAppearance(appearance);
org.scijava.java3dShape3DsetCapability

Popular methods of Shape3D

  • <init>
    Constructs and initializes a Shape3D node with the specified geometry and appearance components. The
  • getGeometry
    Retrieves the geometry component at the specified index from this Shape3D node's list of geometry co
  • getAppearance
    Retrieves the appearance component of this shape node.
  • addGeometry
    Appends the specified geometry component to this Shape3D node's list of geometry components. If ther
  • setAppearance
    Sets the appearance component of this Shape3D node. Setting it to null specifies that default values
  • setGeometry
    Replaces the geometry component at the specified index in this Shape3D node's list of geometry compo
  • intersect
    Checks whether the geometry in this shape node intersects with the specified pickShape.
  • numGeometries
    Returns the number of geometry components in this Shape3D node's list of geometry components.
  • checkDuplicateNode
  • checkForCycle
  • cloneTree
  • duplicateAttributes
    Copies all Shape3D information fromoriginalNode into the current node. This method is called from th
  • cloneTree,
  • duplicateAttributes,
  • duplicateNode,
  • getCapability,
  • getCollisionBounds,
  • getNodeComponent,
  • getUserData,
  • isLive,
  • isLiveOrCompiled

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • JButton (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now