//! Initializes this class (called on dll initialization).
void SoUMDViewerTrigger::initClass()
{
    SO_NODE_INIT_CLASS(SoUMDViewerTrigger, SoSeparator, "Separator");
    SO_ENABLE(SoGLRenderAction, SoViewVolumeElement); //wozu dies?
}
Ejemplo n.º 2
0
void SoViewportRegion::initClass()
{  
   SO_NODE_INIT_CLASS(SoViewportRegion, SoNode, "Node");
   
   SO_ENABLE(SoGLRenderAction, SoViewportRegionElement);
}
Ejemplo n.º 3
0
void SoXipBlendFunc::initClass()
{
	SO_NODE_INIT_CLASS(SoXipBlendFunc, SoNode, "Node");
	SO_ENABLE(SoGLRenderAction, SoXipBlendFuncElement);
}
Ejemplo n.º 4
0
void SoXipTextureUnit::initClass()
{
	SO_NODE_INIT_CLASS(SoXipTextureUnit, SoNode, "Node");
	SO_ENABLE(SoGLRenderAction, SoXipMultiTextureElement);
	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);
}
Ejemplo n.º 5
0
void SoXipViewportBorder::initClass()
{
	SO_NODE_INIT_CLASS(SoXipViewportBorder, SoNode, "Node");

	SO_ENABLE(SoGLRenderAction, SoXipActiveViewportElement);
}
/*! \fn SoXipGLSLUniformGroup::initClass()
 * Initializes this class. Called on dll initialization.
 * \return void
 */
void SoXipGLSLUniformGroup::initClass(void)
{
	SO_NODE_INIT_CLASS(SoXipGLSLUniformGroup, SoGroup, "Group");
	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement );
	SO_ENABLE(SoGLRenderAction, SoXipGLSLShaderProgramElement );
}
Ejemplo n.º 7
0
void SoXipDepthTest::initClass() {
	SO_NODE_INIT_CLASS(SoXipDepthTest, SoNode, "Node");

	SO_ENABLE(SoGLRenderAction, SoXipDepthTestElement);
}
void SoXipMprIntersectionPlanes::initClass()
{
	SO_NODE_INIT_CLASS(SoXipMprIntersectionPlanes, SoNode, "Node");

	SO_ENABLE(SoGLRenderAction, SoXipMprPlaneElement);
}
Ejemplo n.º 9
0
void
SoComplexity::initClass()
//
////////////////////////////////////////////////////////////////////////
{
    SO__NODE_INIT_CLASS(SoComplexity, "Complexity", SoNode);

    // Enable elements for appropriate actions:
    SO_ENABLE(SoCallbackAction, SoComplexityTypeElement);
    SO_ENABLE(SoCallbackAction, SoShapeStyleElement);
    SO_ENABLE(SoCallbackAction, SoComplexityElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoComplexityTypeElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoShapeStyleElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoComplexityElement);
    SO_ENABLE(SoGLRenderAction, SoComplexityTypeElement);
    SO_ENABLE(SoGLRenderAction, SoShapeStyleElement);
    SO_ENABLE(SoGLRenderAction, SoComplexityElement);
    SO_ENABLE(SoGLRenderAction, SoTextureQualityElement);
    SO_ENABLE(SoGLRenderAction, SoTextureOverrideElement);
    SO_ENABLE(SoPickAction,     SoComplexityTypeElement);
    SO_ENABLE(SoPickAction,     SoShapeStyleElement);
    SO_ENABLE(SoPickAction,     SoComplexityElement);
}
Ejemplo n.º 10
0
void
SoCamera::initClass()
//
////////////////////////////////////////////////////////////////////////
{
    SO__NODE_INIT_ABSTRACT_CLASS(SoCamera, "Camera", SoNode);

    // Enable elements used:

    SO_ENABLE(SoCallbackAction, SoFocalDistanceElement);
    SO_ENABLE(SoCallbackAction, SoProjectionMatrixElement);
    SO_ENABLE(SoCallbackAction, SoViewVolumeElement);
    SO_ENABLE(SoCallbackAction, SoViewingMatrixElement);
    SO_ENABLE(SoCallbackAction, SoViewportRegionElement);

    SO_ENABLE(SoGetBoundingBoxAction, SoFocalDistanceElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoProjectionMatrixElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoViewVolumeElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoViewingMatrixElement);
    SO_ENABLE(SoGetBoundingBoxAction, SoViewportRegionElement);

    SO_ENABLE(SoGLRenderAction, SoFocalDistanceElement);
    SO_ENABLE(SoGLRenderAction, SoGLProjectionMatrixElement);
    SO_ENABLE(SoGLRenderAction, SoViewVolumeElement);
    SO_ENABLE(SoGLRenderAction, SoGLViewingMatrixElement);
    SO_ENABLE(SoGLRenderAction, SoGLViewportRegionElement);
    SO_ENABLE(SoGLRenderAction, SoGLUpdateAreaElement);

    SO_ENABLE(SoHandleEventAction, SoViewVolumeElement);
    SO_ENABLE(SoHandleEventAction, SoViewportRegionElement);

    SO_ENABLE(SoRayPickAction, SoFocalDistanceElement);
    SO_ENABLE(SoRayPickAction, SoProjectionMatrixElement);
    SO_ENABLE(SoRayPickAction, SoViewVolumeElement);
    SO_ENABLE(SoRayPickAction, SoViewingMatrixElement);
    SO_ENABLE(SoRayPickAction, SoViewportRegionElement);
}