Tabnine Logo
View.getSceneAntialiasingEnable
Code IndexAdd Tabnine to your IDE (free)

How to use
getSceneAntialiasingEnable
method
in
javax.media.j3d.View

Best Java code snippets using javax.media.j3d.View.getSceneAntialiasingEnable (Showing top 4 results out of 315)

origin: com.googlecode.princeton-java-introduction/stdlib

private static Appearance createCustomAppearance (boolean fill) {
  Appearance ap = createBlankAppearance();
  PolygonAttributes pa = new PolygonAttributes();
  if (!fill) pa.setPolygonMode(PolygonAttributes.POLYGON_LINE);
  pa.setCullFace(PolygonAttributes.CULL_NONE);
  LineAttributes la = new LineAttributes();
  la.setLineWidth(penRadius);
  la.setLineAntialiasingEnable(view.getSceneAntialiasingEnable());
  PointAttributes poa = new PointAttributes();
  poa.setPointAntialiasingEnable(view.getSceneAntialiasingEnable());
  ap.setPolygonAttributes(pa);
  ap.setLineAttributes(la);
  ap.setPointAttributes(poa);
  Color3f col = new Color3f(penColor);
  Color3f black = new Color3f(0, 0, 0);
  Color3f specular = new Color3f(GRAY);
  // Material properties
  Material material = new Material(col, black, col, specular, 64);
  material.setCapability(Material.ALLOW_COMPONENT_READ);
  material.setCapability(Material.ALLOW_COMPONENT_WRITE);
  material.setLightingEnable(true);
  ap.setMaterial(material);
  return ap;
}
origin: com.github.fracpete/princeton-java-stdlib

private static Appearance createCustomAppearance (boolean fill) {
  Appearance ap = createBlankAppearance();
  PolygonAttributes pa = new PolygonAttributes();
  if (!fill) pa.setPolygonMode(PolygonAttributes.POLYGON_LINE);
  pa.setCullFace(PolygonAttributes.CULL_NONE);
  LineAttributes la = new LineAttributes();
  la.setLineWidth(penRadius);
  la.setLineAntialiasingEnable(view.getSceneAntialiasingEnable());
  PointAttributes poa = new PointAttributes();
  poa.setPointAntialiasingEnable(view.getSceneAntialiasingEnable());
  ap.setPolygonAttributes(pa);
  ap.setLineAttributes(la);
  ap.setPointAttributes(poa);
  Color3f col = new Color3f(penColor);
  Color3f black = new Color3f(0, 0, 0);
  Color3f specular = new Color3f(GRAY);
  // Material properties
  Material material = new Material(col, black, col, specular, 64);
  material.setCapability(Material.ALLOW_COMPONENT_READ);
  material.setCapability(Material.ALLOW_COMPONENT_WRITE);
  material.setLightingEnable(true);
  ap.setMaterial(material);
  return ap;
}
origin: com.github.fracpete/princeton-java-stdlib

la.setLineAntialiasingEnable(view.getSceneAntialiasingEnable());
poa.setPointAntialiasingEnable(view.getSceneAntialiasingEnable());
origin: com.googlecode.princeton-java-introduction/stdlib

la.setLineAntialiasingEnable(view.getSceneAntialiasingEnable());
poa.setPointAntialiasingEnable(view.getSceneAntialiasingEnable());
javax.media.j3dViewgetSceneAntialiasingEnable

Popular methods of View

  • setBackClipDistance
  • setFrontClipDistance
  • addCanvas3D
  • getBackClipDistance
  • getFrontClipDistance
  • getProjectionPolicy
  • getScreenScale
  • removeAllCanvas3Ds
  • setFieldOfView
  • setLocalEyeLightingEnable
  • setProjectionPolicy
  • setSceneAntialiasingEnable
  • setProjectionPolicy,
  • setSceneAntialiasingEnable,
  • setScreenScale,
  • setScreenScalePolicy,
  • setTransparencySortingPolicy,
  • setWindowEyepointPolicy,
  • <init>,
  • attachViewPlatform,
  • getFieldOfView

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Collectors (java.util.stream)
  • Top 12 Jupyter Notebook extensions
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