Example #1
0
void
SoBillboard::initClass()
{
#ifdef __COIN__
    SO_NODE_INIT_CLASS(SoBillboard, SoTransformation, "Transformation");
#endif
}
Example #2
0
/**
 *  Class initiator.
 */
void SoXipFbo::initClass() {
	SO_NODE_INIT_CLASS(SoXipFbo, SoGroup, "SoGroup");

	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);
	SO_ENABLE(SoGLRenderAction, SoXipFboElement);
    SO_ENABLE(SoGLRenderAction, SoXipDrawBuffersElement);
}
/**
 *  Class initiator.
 */
void SoXipFboAttachColor3D::initClass() {
    SO_NODE_INIT_CLASS(SoXipFboAttachColor3D, SoNode, "SoNode");

    SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);
    SO_ENABLE(SoGLRenderAction, SoXipDrawBuffersElement);
    SO_ENABLE(SoGLRenderAction, SoXipFboElement);
}
Example #4
0
void SoXipMprLock::initClass()
{
	SO_NODE_INIT_CLASS(SoXipMprLock, SoNode, "Node");

	// enable elements goes here
	SO_ENABLE(SoHandleEventAction, SoXipMprLockElement);
}
Example #5
0
void
SoXipImageText::initClass()
{
	SO_NODE_INIT_CLASS( SoXipImageText, SoNode, "Node" );

	SO_ENABLE( SoGLRenderAction, SoXipImageTextElement );
}
void
SoXipDropShadowStyle::initClass()
{
	SO_NODE_INIT_CLASS( SoXipDropShadowStyle, SoNode, "Node" );

	SO_ENABLE( SoGLRenderAction, SoXipDropShadowElement );
}
void
SoXipOverlayFilter::initClass()
{
	SO_NODE_INIT_CLASS( SoXipOverlayFilter, SoNode, "Node" );

	SO_ENABLE( SoGLRenderAction, SoXipOverlayFilterElement );
}
Example #8
0
// doc from parent
void
SmTextureText2::initClass(void)
{
  if (getClassTypeId() == SoType::badType()) {
    SO_NODE_INIT_CLASS(SmTextureText2, SoShape, "Shape");
  }
}
/**	
 *	Initializes the class
 */
void SoXipGLSLPrograms::initClass()
{
	SO_NODE_INIT_CLASS(SoXipGLSLPrograms, SoNode, "SoNode");
	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);
	SO_ENABLE(SoGLRenderAction, SoXipShaderProgramElement);
	SO_ENABLE(SoGLRenderAction, SoXipGLSLShaderProgramElement);
}
void
SoXipOverlaySettings::initClass()
{
	SO_NODE_INIT_CLASS( SoXipOverlaySettings, SoNode, "Node" );

	SO_ENABLE( SoGLRenderAction,	SoXipOverlayElement );
	SO_ENABLE( SoHandleEventAction, SoXipOverlayElement );
}
void
SoXipOverlayTransformBoxManip::initClass()
{
	SO_NODE_INIT_CLASS( SoXipOverlayTransformBoxManip, 
		SoXipOverlayManipBase, "SoXipOverlayManipBase" );

	SO_ENABLE( SoGLRenderAction, SoXipOverlayFilterElement);
}
void SoXipGetCameraProperties::initClass() {
	SO_NODE_INIT_CLASS(SoXipGetCameraProperties, SoNode, "SoNode");

    SO_ENABLE(SoGLRenderAction, SoViewingMatrixElement);
	SO_ENABLE(SoGLRenderAction, SoModelMatrixElement);
	SO_ENABLE(SoGLRenderAction, SoViewVolumeElement);
	SO_ENABLE(SoGLRenderAction, SoViewportRegionElement);
}
/*! \fn SoXipTransparentGeometryGroup::initClass()
 * Initializes this class. Called on dll initialization.
 * \return void
 */
void SoXipTransparentGeometryGroup::initClass(void)
{
	SO_NODE_INIT_CLASS(SoXipTransparentGeometryGroup, SoGroup, "Group");

	SO_ENABLE(SoGLRenderAction, SoXipTransparentGeometryGroupElement);
	SO_ENABLE(SoPickAction,     SoXipTransparentGeometryGroupElement);
	SO_ENABLE(SoCallbackAction, SoXipTransparentGeometryGroupElement);
	SO_ENABLE(SoGetBoundingBoxAction, SoXipTransparentGeometryGroupElement);
}
void SoXipCPUMprRender::initClass()
{
	SO_NODE_INIT_CLASS(SoXipCPUMprRender, SoShape, "Shape");
	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);
	SO_ENABLE(SoGLRenderAction, SoViewVolumeElement);
	SO_ENABLE(SoGLRenderAction, SoModelMatrixElement);
	SO_ENABLE(SoGLRenderAction, SoViewportRegionElement);
	SO_ENABLE(SoGLRenderAction, SoXipMultiTextureElement);
}
/**
 *  Class initiation.
 */
void SoXipBindTextures::initClass()
{
    SO_NODE_INIT_CLASS(SoXipBindTextures, SoNode, "Node");
	SO_ENABLE(SoGLRenderAction, SoXipMultiTextureElement);
	SO_ENABLE(SoGLRenderAction, SoXipGLOWElement);

//    SO_ENABLE(SoGLRenderAction, SoXipFboElement);
//    SO_ENABLE(SoGLRenderAction, SoXipDrawBuffersElement);
}
// --------------------------------------------------------------------------
//! Initializes this class. Called on dll initialization.
// --------------------------------------------------------------------------
void SoMinimalEnclosingCircle::initClass()
{
   SO_NODE_INIT_CLASS(SoMinimalEnclosingCircle, SoSeparator, "Separator");
   SO_ENABLE(SoGLRenderAction, SoViewingMatrixElement);
   //SO_ENABLE(SoGLRenderAction, SoLazyElement);
   //SO_ENABLE(SoGLRenderAction, SoModelMatrixElement);
   //SO_ENABLE(SoGLRenderAction, SoViewVolumeElement);

}
/*!
  Required Coin method.
*/
void
InterleavedArraysShape::initClass()
{
  static int initialized = 0;
  if (!initialized) {
    initialized = 1;
    SO_NODE_INIT_CLASS(InterleavedArraysShape, SoVertexShape, "VertexShape");
  }
}
Example #18
0
void SoContext::initClass()
{
    SO_NODE_INIT_CLASS(SoContext, SoNode, "Node");

    // explicitly add to the SoHandle3DEventAction method table
    // SoHandle3DEventAction::addMethod(SoContext::getClassTypeId(), SoContext::callDoAction);
#ifdef __COIN__
    SoAudioRenderAction::addMethod(SoContext::getClassTypeId(), SoContext::callDoAction);
#endif
}
//  Initializes the type ID for this manipulator node. This
//  should be called once after SoInteraction::init().
//  and after TranslateRadialDragger::initClass()
void TranslateRadialManip::
initClass()
{
  if(TranslateRadialDragger::getClassTypeId().isBad())
  {
    TranslateRadialDragger::initClass();
  }

  SO_NODE_INIT_CLASS(
      TranslateRadialManip, SoTransformManip, "TranslateRadialManip");
}
void
SoXipRegistrationTransform::initClass()
{
	SO_NODE_INIT_CLASS(SoXipRegistrationTransform, SoNode, "Node");

	SO_ENABLE(SoHandleEventAction, SoXipRegistrationElement);	
	SO_ENABLE(SoGLRenderAction, SoXipRegistrationElement);
	SO_ENABLE(SoPickAction,     SoXipRegistrationElement);
	SO_ENABLE(SoCallbackAction, SoXipRegistrationElement);
	SO_ENABLE(SoGetBoundingBoxAction, SoXipRegistrationElement);
}
Example #21
0
// Documented in superclass.
void
SoSceneTextureCubeMap::initClass(void)
{
  SO_NODE_INIT_CLASS(SoSceneTextureCubeMap, SoNode, "Node");

  SO_ENABLE(SoGLRenderAction, SoGLMultiTextureImageElement);
  SO_ENABLE(SoGLRenderAction, SoGLMultiTextureEnabledElement);

  SO_ENABLE(SoCallbackAction, SoMultiTextureImageElement);
  SO_ENABLE(SoCallbackAction, SoMultiTextureEnabledElement);

  SO_ENABLE(SoRayPickAction, SoMultiTextureImageElement);
  SO_ENABLE(SoRayPickAction, SoMultiTextureEnabledElement);
}
void SoXipDicomExaminer::initClass()
{
	SO_NODE_INIT_CLASS( SoXipDicomExaminer, SoXipKit, "SoXipKit" );

	SO_ENABLE( SoGLRenderAction,		SoXipDataDicomElement );
	SO_ENABLE( SoWriteAction,			SoXipDataDicomElement );
	SO_ENABLE( SoHandleEventAction,		SoXipDataDicomElement );
	SO_ENABLE( SoRayPickAction,			SoXipDataDicomElement );

	SO_ENABLE( SoGLRenderAction,		SoXipDataImageElement );
	SO_ENABLE( SoWriteAction,			SoXipDataImageElement );
	SO_ENABLE( SoHandleEventAction,		SoXipDataImageElement );
	SO_ENABLE( SoRayPickAction,			SoXipDataImageElement );
}
Example #23
0
// Doc from parent class.
void
SoOrthoSlice::initClass(void)
{
  SO_NODE_INIT_CLASS(SoOrthoSlice, SoShape, "SoShape");

  SO_ENABLE(SoGLRenderAction, SoTransferFunctionElement);
  SO_ENABLE(SoGLRenderAction, SoGLClipPlaneElement);
  SO_ENABLE(SoGLRenderAction, SoModelMatrixElement);
  SO_ENABLE(SoGLRenderAction, SoLazyElement);

  SO_ENABLE(SoPickAction, SoTransferFunctionElement);
  SO_ENABLE(SoPickAction, SoClipPlaneElement);

  SO_ENABLE(SoGLRenderAction, CvrGLInterpolationElement);
}
void UMDSoArrow::initClass() { 
  // muss zur Initialisierung der Klasse einmal explizit aufgerufen werden
  SO_NODE_INIT_CLASS(UMDSoArrow, SoSeparator, "SoSeparator");
}
void
SoXipImageOverlayManager::initClass()
{
	SO_NODE_INIT_CLASS( SoXipImageOverlayManager, SoXipOverlayManager, "SoXipOverlayManager" );
}
// --------------------------------------------------------------------------
//! Initializes this class. Called on dll initialization.
// --------------------------------------------------------------------------
void SoTextureMaskedArea::initClass()
{
   SO_NODE_INIT_CLASS(SoTextureMaskedArea, SoView2DExtension, "SoView2DExtension");
}
// --------------------------------------------------------------------------
//! Initializes this class. Called on dll initialization.
// --------------------------------------------------------------------------
void SoFramesPerSecond::initClass()
{
   SO_NODE_INIT_CLASS(SoFramesPerSecond, SoSeparator, "Separator");
}
void MaterialStandardSpecular::initClass()
{
	 SO_NODE_INIT_CLASS( MaterialStandardSpecular, TMaterial, "Material" );
}
void
SoXipOverlayManips::initClass()
{
	SO_NODE_INIT_CLASS( SoXipOverlayManips, SoXipKit, "SoXipKit" );
}
//! Initializes this class (called on dll initialization).
void SoUMDViewerTrigger::initClass()
{
    SO_NODE_INIT_CLASS(SoUMDViewerTrigger, SoSeparator, "Separator");
    SO_ENABLE(SoGLRenderAction, SoViewVolumeElement); //wozu dies?
}