org.deegree.rendering.r3d.opengl.rendering.model.geometry
Interface RenderableQualityModelPart

All Superinterfaces:
JOGLRenderable, MemoryAware, QualityModelPart, Serializable
All Known Implementing Classes:
BOXGeometry, RenderableGeometry, RenderableTexturedGeometry

public interface RenderableQualityModelPart
extends QualityModelPart, JOGLRenderable

The RenderableQualityModelPart a part of a RenderableQualityModel, normally a geometry.

Version:
$Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Method Summary
 int getOrdinateCount()
           
 int getTextureOrdinateCount()
           
 void renderPrepared(RenderContext glRenderContext, DirectGeometryBuffer geometryBuffer)
          This method is a more specific render method than the JOGLRenderable.render(RenderContext), it defines a contract that the geometryBuffer holds the geometry for the implementation and the implementation holds indizes which are valid for the given buffer.
 
Methods inherited from interface org.deegree.commons.utils.memory.MemoryAware
sizeOf
 
Methods inherited from interface org.deegree.rendering.r3d.opengl.rendering.JOGLRenderable
render
 

Method Detail

getOrdinateCount

int getOrdinateCount()
Returns:
the number of ordinates in the implementation.

getTextureOrdinateCount

int getTextureOrdinateCount()
Returns:
the number of texture ordinates in this quality model part

renderPrepared

void renderPrepared(RenderContext glRenderContext,
                    DirectGeometryBuffer geometryBuffer)
This method is a more specific render method than the JOGLRenderable.render(RenderContext), it defines a contract that the geometryBuffer holds the geometry for the implementation and the implementation holds indizes which are valid for the given buffer.

Parameters:
glRenderContext - holding all relevant data for the current gl context.
geometryBuffer - holding the vertices, normals and texture coordinates for an instance of an implementation.


Copyright © 2011. All Rights Reserved.