コード例 #1
0
ファイル: moSoundManager.cpp プロジェクト: moldeo/libmoldeo
moSoundManager::moSoundManager() {
	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_SOUND );

	SetName("soundmanager");
	SetLabelName("soundmanager");
}
コード例 #2
0
moFontManager::moFontManager() {
	SetType(MO_OBJECT_RESOURCE);
	SetResourceType(MO_RESOURCETYPE_FONT);

	SetName("fontmanager");
	SetLabelName("fontmanager");
}
コード例 #3
0
void QmitkTubeGraphLabelGroupWidget::AddLabel(QString name, mitk::Color color)
{
  auto   label = new QmitkTubeGraphLabelWidget(this);
  label->SetLabelName(name);
  label->SetLabelColor(&color);

  m_GroupLayout->addWidget(label);

  connect(label, SIGNAL(SignalLabelVisibilityToggled(bool, QString)), this, SLOT(OnVisibilityToggled(bool, QString)));
  connect(label, SIGNAL(SignalLabelButtonClicked(QString)), this, SLOT(OnLabelButtonClicked(QString)));
  connect(label, SIGNAL(SignalLabelColorChanged(mitk::Color, QString)), this, SLOT(OnColoringButtonClicked(mitk::Color, QString)));
}
コード例 #4
0
mo3dModelManager::mo3dModelManager() {
	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_MODEL );
	SetName("3dModel Manager");
	SetLabelName("3dModel Manager");

	nMaxModels = MO_MAX_MODELOS;
	Models = new mo3dModel* [nMaxModels];
	for(MOuint i=0;i<nMaxModels;i++)  Models[i] = NULL;
	nModels = 0;
	Textures = NULL;
}
コード例 #5
0
moGUIManager::moGUIManager() {

	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_GUI );

	SetName("guimanager");
	SetLabelName("guimanager");
/*
	hOpWnd = NULL;
	hVisWnd = NULL;
	*/
	m_OpHandle = NULL;
	m_VisHandle = NULL;
}
コード例 #6
0
ファイル: moGLManager.cpp プロジェクト: moldeo/libmoldeo
moGLManager::moGLManager()
{

	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_GL );

	SetName("glmanager");
	SetLabelName("glmanager");

	m_Context = NULL;
	m_DisplayServer = NULL;
	m_DisplayScreen = NULL;
	m_DisplayWindow = NULL;

	m_gpu_vendor_code = 0;
	m_gpu_vendor_string = "undefined";
	m_gpu_renderer_string = "undefined";

	m_current_fbo = m_previous_fbo = 0;

	m_current_read_buffer = m_current_draw_buffer = 0;
	m_previous_read_buffer = m_previous_draw_buffer = 0;
	m_bFrameBufferObjectActive = false;
}