SbImageDataType Class Reference
[Images]

ImageViz Basic class representing multi channel DataType. More...

#include <ImageViz/SbImageDataType.h>

List of all members.

Public Member Functions

 SbImageDataType (uint32_t nbChannel, const SbDataType &dataType)
uint32_t getNumChannel () const
bool operator== (const SbImageDataType &c1) const
bool operator!= (const SbImageDataType &c1) const
size_t getSize () const

Detailed Description

ImageViz 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 & Destructor Documentation

SbImageDataType::SbImageDataType ( uint32_t  nbChannel,
const SbDataType dataType 
) [inline]
Parameters:
nbChannel number of channels
dataType type of channel (all the channel have the same type)

Member Function Documentation

uint32_t SbImageDataType::getNumChannel (  )  const [inline]

Return number of channels.

size_t SbImageDataType::getSize (  )  const [inline]

Return size in byte: nbChannel * sizeof(channel type).

bool SbImageDataType::operator!= ( const SbImageDataType c1  )  const [inline]
bool SbImageDataType::operator== ( const SbImageDataType c1  )  const [inline]

Return type of channels.

inline const SbDataType& getDataType() const { return m_dataType; }

/** Operator == and operator !=


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/