Codota Logo
RenderablePrototype.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.deegree.rendering.r3d.opengl.rendering.model.prototype.RenderablePrototype
constructor

Best Java code snippets using org.deegree.rendering.r3d.opengl.rendering.model.prototype.RenderablePrototype.<init> (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

/**
 * @param wro
 * @return
 */
private RenderablePrototype createRenderablePrototype( WorldRenderableObject wro ) {
  RenderableQualityModel[] models = wro.getQualityLevels();
  if ( models == null || models.length != 1 ) {
    return null;
  }
  return new RenderablePrototype( wro.getId(), wro.getTime(), wro.getBbox(), models[0] );
}
origin: deegree/deegree3

private static RenderablePrototype createBoxPrototype() {
  RenderableQualityModel rqm = new RenderableQualityModel();
  RenderableGeometry rg = new BOXGeometry();
  rqm.addQualityModelPart( rg );
  Envelope env = new GeometryFactory().createEnvelope( 0, 0, 1, 1, null );
  return new RenderablePrototype( "box", "yeah", env, rqm );
}
origin: deegree/deegree3

/**
 * @param building
 * @return the DataObjectInfo which holds values of the given building.
 */
private DataObjectInfo<RenderablePrototype> createDataObjectInfo( WorldRenderableObject building ) {
  RenderableQualityModel rqm = building.getQualityLevel( 0 );
  if ( rqm == null ) {
    LOG.info( "Could not extract the quality level of the RenderablePrototype with id:" + building.getId() );
    return null;
  }
  rqm = createScaledQualityModel( rqm );
  Envelope env = new GeometryFactory().createEnvelope( new double[] { 0, 0, 0 }, new double[] { 1, 1, 1 }, null );
  building.setBbox( env );
  RenderablePrototype rp = new RenderablePrototype( building.getId(), building.getTime(), building.getBbox(), rqm );
  return new DataObjectInfo<RenderablePrototype>( building.getId(), Type.PROTOTYPE.getModelTypeName(),
                          building.getName(), building.getExternalReference(),
                          building.getBbox(), rp );
}
org.deegree.rendering.r3d.opengl.rendering.model.prototypeRenderablePrototype<init>

Popular methods of RenderablePrototype

  • getId
  • render
  • renderPrepared
  • setExternalReference
  • setId
  • setName
  • setTime
  • setType

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now