Inventor/image/SoSubRasterImageRW.h File Reference
#include <Inventor/SoType.h>
Go to the source code of this file.
Define Documentation
#define SO_IMAGE_RASTER_RW_ABSTRACT_HEADER |
( |
|
) |
|
Value:public: \
\
virtual SoType getTypeId() const = 0; \
\
static SoType getClassTypeId(); \
private: \
static void initClass(); \
static void exitClass(); \
\
private: \
static SoType m_classTypeId;
Returns the type identifier for this specific instance.
Returns the type identifier for this class.
#define SO_IMAGE_RASTER_RW_ABSTRACT_SOURCE |
( |
className, |
|
|
classPrintName |
|
) |
|
Value:\
SoType className::m_classTypeId; \
\
SoType \
className::getClassTypeId() \
{ \
return m_classTypeId; \
} \
\
void \
className::initClass() \
{ \
if ( m_classTypeId.isBad() ) { \
m_classTypeId = SoType::createType(SoType::badType(), classPrintName); \
} \
} \
\
void \
className::exitClass() \
{ \
if ( m_classTypeId != SoType::badType() ) { \
SoType::removeType(m_classTypeId.getName()); \
m_classTypeId = SoType::badType(); \
} \
}
#define SO_IMAGE_RASTER_RW_HEADER |
( |
|
) |
|
Value:public: \
\
virtual SoType getTypeId() const; \
\
static SoType getClassTypeId(); \
private: \
static void initClass(); \
static void exitClass(); \
static void *createInstance(SoType* dynamicType = 0); \
\
private: \
static SoType m_classTypeId;
#define SO_IMAGE_RASTER_RW_SOURCE |
( |
parent, |
|
|
className, |
|
|
classPrintName |
|
) |
|