Package com.openinventor.imageviz
Class SbImageDataType
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.imageviz.SbImageDataType
-
public class SbImageDataType extends Inventor
Basic class representing multi channel DataType. Basic class representing multi channel DataType. EncapsulateSbDataType
and number of channels. All channels are concidered to have the same type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SbImageDataType(int nbChannel, SbDataType dataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SbDataType
getDataType()
Return type of channels .int
getNumChannel()
Return number of channels.long
getSize()
Return size in byte: nbChannel * sizeof(channel type) .void
setValue(SbImageDataType copyFrom)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
SbImageDataType
public SbImageDataType(int nbChannel, SbDataType dataType)
- Parameters:
nbChannel
- number of channelsdataType
- type of channel (all the channel have the same type)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
setValue
public void setValue(SbImageDataType copyFrom)
-
getNumChannel
public int getNumChannel()
Return number of channels.
-
getDataType
public SbDataType getDataType()
Return type of channels .
-
getSize
public long getSize()
Return size in byte: nbChannel * sizeof(channel type) .
-
-