org.deegree.services.wpvs.io
Class ModelBackendInfo

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

public class ModelBackendInfo
extends java.lang.Object

The ModelBackendInfo class TODO add class documentation here.

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

Constructor Summary
ModelBackendInfo()
          Initialize with 0;
ModelBackendInfo(int ordinateCount, int textureOrdinateCount, org.deegree.geometry.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
 org.deegree.geometry.Envelope getDatasetEnvelope()
           
 int getOrdinateCount()
           
 int getTextureOrdinateCount()
           
 void setDatasetEnvelope(org.deegree.geometry.Envelope datasetEnvelope)
           
 java.lang.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,
                        org.deegree.geometry.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 java.lang.String toString()
Overrides:
toString in class java.lang.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(org.deegree.geometry.Envelope datasetEnvelope)
Parameters:
datasetEnvelope - the datasetEnvelope to set

getDatasetEnvelope

public org.deegree.geometry.Envelope getDatasetEnvelope()
Returns:
the datasetEnvelope


Copyright © 2011. All Rights Reserved.