本文整理汇总了C++中SO_ENGINE_INIT_CLASS函数的典型用法代码示例。如果您正苦于以下问题:C++ SO_ENGINE_INIT_CLASS函数的具体用法?C++ SO_ENGINE_INIT_CLASS怎么用?C++ SO_ENGINE_INIT_CLASS使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了SO_ENGINE_INIT_CLASS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: SO_ENGINE_INIT_CLASS
void
InvComposePlane::initClass()
{
// Initialize type id variables. The arguments to the macro
// are: the name of the engine class, the class this is
// derived from, and the name registered with the type
// of the parent class.
SO_ENGINE_INIT_CLASS(InvComposePlane, SoEngine, "Engine");
}
示例2: SO_ENGINE_INIT_CLASS
void
SoItkConvertItkImageToXipImage::initClass()
{
SO_ENGINE_INIT_CLASS( SoItkConvertItkImageToXipImage, SoFieldConverter, "SoFieldConverter" );
// Register this converter's type with the Inventor database
//
SoDB::addConverter( SoItkSFDataImage::getClassTypeId(),
SoXipSFDataImage::getClassTypeId(),
getClassTypeId() );
}
示例3: SO_ENGINE_INIT_CLASS
void SoXipConvertSFDicomToMFDicom::initClass()
{
SO_ENGINE_INIT_CLASS(SoXipConvertSFDicomToMFDicom,
SoFieldConverter, "FieldConverter");
// Register this converter's type with the Inventor database
// to convert from a field (or engine output) of type
// SoSFShort to a field of type SoSFFloat.
// We only call this once, since this engine offers only one
// type conversion.
SoDB::addConverter(SoXipSFDataDicom::getClassTypeId(),
SoXipMFDataDicom::getClassTypeId(),
getClassTypeId());
}
示例4: SO_ENGINE_INIT_CLASS
void SoVtkClipDataSet::initClass()
{
SO_ENGINE_INIT_CLASS( SoVtkClipDataSet, SoEngine, "Engine" );
}
示例5: SO_ENGINE_INIT_CLASS
void SoVtkGlyphSource2D::initClass()
{
SO_ENGINE_INIT_CLASS( SoVtkGlyphSource2D, SoEngine, "Engine" );
}
示例6: SO_ENGINE_INIT_CLASS
void SoVtkImageGaussianSource::initClass()
{
SO_ENGINE_INIT_CLASS( SoVtkImageGaussianSource, SoEngine, "Engine" );
}
示例7: SO_ENGINE_INIT_CLASS
void SoVtkPlane::initClass()
{
SO_ENGINE_INIT_CLASS( SoVtkPlane, SoEngine, "Engine" );
}
示例8: SO_ENGINE_INIT_CLASS
void SoVtkExtractGeometry::initClass()
{
SO_ENGINE_INIT_CLASS( SoVtkExtractGeometry, SoEngine, "Engine" );
}
示例9: SO_ENGINE_INIT_CLASS
// doc from parent
void
CubicSplineEngine::initClass(void)
{
SO_ENGINE_INIT_CLASS(CubicSplineEngine, SoEngine, "Engine");
}
示例10: SO_ENGINE_INIT_CLASS
void
SoItkImageFileReader::initClass()
{
SO_ENGINE_INIT_CLASS( SoItkImageFileReader, SoEngine, "SoEngine" );
}
示例11: SO_ENGINE_INIT_CLASS
void
SoItkMeanImageFilter::initClass()
{
SO_ENGINE_INIT_CLASS( SoItkMeanImageFilter, SoItkImageToImageFilter, "SoItkImageToImageFilter" );
}
示例12: SO_ENGINE_INIT_CLASS
void SoXipImageAttributes::initClass()
{
SO_ENGINE_INIT_CLASS(SoXipImageAttributes, SoEngine, "Engine");
}
示例13: SO_ENGINE_INIT_CLASS
void
SoXipImageOverlayClear::initClass ()
{
SO_ENGINE_INIT_CLASS( SoXipImageOverlayClear, SoEngine, "SoEngine" );
}
示例14: SO_ENGINE_INIT_CLASS
void
SoXipOverlayExtractContour::initClass()
{
SO_ENGINE_INIT_CLASS( SoXipOverlayExtractContour, SoEngine, "Engine" );
}
示例15: SO_ENGINE_INIT_CLASS
void
SoXipImageOperation::initClass()
{
SO_ENGINE_INIT_CLASS( SoXipImageOperation, SoEngine, "Engine" );
}