org.scilab.forge.scirenderer.buffers
Interface IndicesBuffer

All Superinterfaces:
DataBuffer
All Known Implementing Classes:
G2DIndicesBuffer, JoGLIndicesBuffer

public interface IndicesBuffer
extends DataBuffer

Author:
Pierre Lando

Method Summary
 java.nio.IntBuffer getData()
          Return the data.
 void setData(java.util.Collection<java.lang.Integer> indices)
          Set the data
 void setData(int[] indices)
          Set the data
 void setData(java.nio.IntBuffer indexBuffer)
          Set the data.
 
Methods inherited from interface org.scilab.forge.scirenderer.buffers.DataBuffer
getSize
 

Method Detail

setData

void setData(int[] indices)
Set the data

Parameters:
indices - the new data.

setData

void setData(java.util.Collection<java.lang.Integer> indices)
Set the data

Parameters:
indices - the new data.

setData

void setData(java.nio.IntBuffer indexBuffer)
Set the data.

Parameters:
indexBuffer - the new data.

getData

java.nio.IntBuffer getData()
Description copied from interface: DataBuffer
Return the data.

Specified by:
getData in interface DataBuffer
Returns:
the data.