org.deegree.services.wpvs.io
Class ModelBackendInfo

java.lang.Object
  extended by org.deegree.services.wpvs.io.ModelBackendInfo

public class ModelBackendInfo
extends Object

The ModelBackendInfo class TODO add class documentation here.

Version:
$Revision: 22088 $, $Date: 2010-01-21 13:48:18 +0100 (Thu, 21 Jan 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Constructor Summary
ModelBackendInfo()
          Initialize with 0;
ModelBackendInfo(int ordinateCount, int textureOrdinateCount, Envelope envelope)
           
 
Method Summary
 void add(ModelBackendInfo info)
          Add the values from the given info to this info.
 void addOrdinates(DataObjectInfo<?> object)
          Add the ordinates from the given object to the total ordinates
 void addOrdinates(int numberOfOrdinates)
          Add the given number of ordinates to the total ordinates
 void addTextureOrdinates(int numberOfTextureOrdinates)
          Add the given number of ordinates to the total texture ordinates
 Envelope getDatasetEnvelope()
           
 int getOrdinateCount()
           
 int getTextureOrdinateCount()
           
 void setDatasetEnvelope(Envelope datasetEnvelope)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelBackendInfo

public ModelBackendInfo()
Initialize with 0;


ModelBackendInfo

public ModelBackendInfo(int ordinateCount,
                        int textureOrdinateCount,
                        Envelope envelope)
Parameters:
ordinateCount -
textureOrdinateCount -
envelope -
Method Detail

addOrdinates

public final void addOrdinates(DataObjectInfo<?> object)
Add the ordinates from the given object to the total ordinates

Parameters:
object -

addOrdinates

public final void addOrdinates(int numberOfOrdinates)
Add the given number of ordinates to the total ordinates

Parameters:
numberOfOrdinates -

addTextureOrdinates

public final void addTextureOrdinates(int numberOfTextureOrdinates)
Add the given number of ordinates to the total texture ordinates

Parameters:
numberOfTextureOrdinates -

getOrdinateCount

public final int getOrdinateCount()
Returns:
the ordinateCount, e.g. the number of floats in the model backend for a given modeltype..

getTextureOrdinateCount

public final int getTextureOrdinateCount()
Returns:
the textureOrdinateCount

toString

public String toString()
Overrides:
toString in class Object

add

public void add(ModelBackendInfo info)
Add the values from the given info to this info.

Parameters:
info - to get add the values from.

setDatasetEnvelope

public void setDatasetEnvelope(Envelope datasetEnvelope)
Parameters:
datasetEnvelope - the datasetEnvelope to set

getDatasetEnvelope

public Envelope getDatasetEnvelope()
Returns:
the datasetEnvelope


Copyright © 2011. All Rights Reserved.