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. EncapsulateSbDataTypeand 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 booleanequals(java.lang.Object obj)SbDataTypegetDataType()Return type of channels .intgetNumChannel()Return number of channels.longgetSize()Return size in byte: nbChannel * sizeof(channel type) .voidsetValue(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:
equalsin 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) .
-
-