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

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

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

origin: stackoverflow.com

  lsa.setColor(vIndex, new Color3f(0.9f,0.0f,0.0f));
plShape.addGeometry(lsa);
origin: sc.fiji/3D_Viewer

final float fz = tickDistance - (this.min.z % tickDistance);
shape.addGeometry(makeLine(p[0], p[1], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[1], p[2], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[2], p[3], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[3], p[0], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[4], p[5], c, td, fx, ts, false));
shape.addGeometry(makeLine(p[5], p[6], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[6], p[7], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[4], p[7], c, td, fy, ts, false));
shape.addGeometry(makeLine(p[4], p[0], c, td, fz, ts, false));
shape.addGeometry(makeLine(p[1], p[5], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[2], p[6], c, td, 0f, ts, true));
shape.addGeometry(makeLine(p[3], p[7], c, td, 0f, ts, true));
origin: org.scijava/j3dutils

@Override
public void buildGraph() {
  ((Shape3D)node).setAppearance( (Appearance)control.getSymbolTable().getJ3dNode( appearance ) );
  ((Shape3D)node).setGeometry( (Geometry)control.getSymbolTable().getJ3dNode( geometry[0] ) );
  for(int i=1; i<geometry.length; i++) {
    ((Shape3D)node).addGeometry( (Geometry)control.getSymbolTable().getJ3dNode( geometry[i] ) );
  }
  super.buildGraph(); // Must be last call in method
}
origin: org.scijava/j3dutils

if (cache != null) {
  shape[BODY].addGeometry(cache.getComputedGeometry());
  numVerts += cache.getNumVerts();
  numTris += cache.getNumTris();
       xdivisions, ydivisions-1, 1.0/(double)ydivisions,
       outside, texCoordYUp);
  shape[BODY].addGeometry(gbuf.getGeom(flags));
  numVerts += gbuf.getNumVerts();
  numTris += gbuf.getNumTris();
org.scijava.java3dShape3DaddGeometry

Javadoc

Appends the specified geometry component to this Shape3D node's list of geometry components. If there are existing geometry components in the list, the new geometry component must be of the same equivalence class (point, line, polygon, CompressedGeometry, Raster, Text3D) as the others.

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.
  • setAppearance
    Sets the appearance component of this Shape3D node. Setting it to null specifies that default values
  • setCapability
  • 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

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for Android Studio
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