Class SbImageDataType

  • public class SbImageDataType
    extends Inventor
    Basic class representing multi channel DataType. Basic class representing multi channel DataType. Encapsulate SbDataType and number of channels. All channels are concidered to have the same type.
    • Constructor Detail

      • SbImageDataType

        public SbImageDataType​(int nbChannel,
                               SbDataType dataType)

        nbChannel - number of channels

        dataType - type of channel (all the channel have the same type)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • 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) .