Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoSubRasterImageRW.h File Reference
#include <Inventor/SoType.h>

Go to the source code of this file.

Macros

#define SO_IMAGE_RASTER_RW_SOURCE(parent, className, classPrintName)
 
#define SO_IMAGE_RASTER_RW_ABSTRACT_SOURCE(className, classPrintName)
 
#define SO_IMAGE_RASTER_RW_HEADER()
 
#define SO_IMAGE_RASTER_RW_ABSTRACT_HEADER()
 

Macro Definition Documentation

◆ SO_IMAGE_RASTER_RW_ABSTRACT_HEADER

#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;
virtual SoType getTypeId() const
Returns the type identifier for this specific instance.
Stores runtime type information.
Definition SoType.h:98

Definition at line 118 of file SoSubRasterImageRW.h.

◆ SO_IMAGE_RASTER_RW_ABSTRACT_SOURCE

#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(); \
} \
}
static SoType badType()
Returns an always-illegal type.
Definition SoType.h:124

Definition at line 75 of file SoSubRasterImageRW.h.

◆ SO_IMAGE_RASTER_RW_HEADER

#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;

Definition at line 104 of file SoSubRasterImageRW.h.

◆ SO_IMAGE_RASTER_RW_SOURCE

#define SO_IMAGE_RASTER_RW_SOURCE (   parent,
  className,
  classPrintName 
)

Definition at line 34 of file SoSubRasterImageRW.h.