Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r491 - in trunk: Core Core/XUtils Engine/Display Engine/ImageTraversers StandAlone UserInterface


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r491 - in trunk: Core Core/XUtils Engine/Display Engine/ImageTraversers StandAlone UserInterface
  • Date: Tue, 23 Aug 2005 15:24:07 -0600 (MDT)

Author: bigler
Date: Tue Aug 23 15:24:06 2005
New Revision: 491

Added:
   trunk/Core/XUtils/
   trunk/Core/XUtils/XHelper.cc
      - copied, changed from r487, trunk/Engine/Display/XHelper.cc
   trunk/Core/XUtils/XHelper.h
      - copied unchanged from r487, trunk/Engine/Display/XHelper.h
Removed:
   trunk/Engine/Display/XHelper.cc
   trunk/Engine/Display/XHelper.h
Modified:
   trunk/Core/CMakeLists.txt
   trunk/Engine/Display/CMakeLists.txt
   trunk/Engine/Display/OpenGLDisplay.cc
   trunk/Engine/ImageTraversers/AFImageTraverser.cc
   trunk/StandAlone/CMakeLists.txt
   trunk/UserInterface/CMakeLists.txt
   trunk/UserInterface/XWindowUI.cc
Log:

Reorganization of XHelper class.  It needed to be moved to remove a
circular dependency between Manta_Engine and Manta_UserInterface.

Core/CMakeLists.txt

  Added Manta_Core_XUtils library compilation.

Core/XUtils
Core/XUtils/XHelper.cc
Core/XUtils/XHelper.h
Engine/Display/XHelper.cc
Engine/Display/XHelper.h

  XHelper moved to Core/XUtils from Engine/Display/XHelper.

Engine/Display/CMakeLists.txt

  Removed XHelper.cc

Core/XUtils/XHelper.cc
Engine/Display/OpenGLDisplay.cc
Engine/ImageTraversers/AFImageTraverser.cc
UserInterface/XWindowUI.cc

  Updated includes to point to the new location.

StandAlone/CMakeLists.txt
UserInterface/CMakeLists.txt

  Add the Manta_Core_XUtils library for linking.


Modified: trunk/Core/CMakeLists.txt
==============================================================================
--- trunk/Core/CMakeLists.txt   (original)
+++ trunk/Core/CMakeLists.txt   Tue Aug 23 15:24:06 2005
@@ -3,7 +3,8 @@
 SET (CORE_SOURCES ${CORE_SOURCES}
      Color/ColorDB.cc
      Color/RGBColor.cc
-     Color/GrayColor.cc)
+     Color/GrayColor.cc
+     Color/Colorimetry.cc)
 SET (CORE_SOURCES ${CORE_SOURCES}
      Geometry/PointVector.cc
      )
@@ -24,3 +25,8 @@
 ADD_LIBRARY (Manta_Core ${CORE_SOURCES})
 
 TARGET_LINK_LIBRARIES(Manta_Core SCIRun_Core)
+
+# The Manta_Core_XUtils library
+ADD_LIBRARY (Manta_Core_XUtils XUtils/XHelper.cc)
+TARGET_LINK_LIBRARIES(Manta_Core_XUtils SCIRun_Core Manta_Core)
+TARGET_LINK_LIBRARIES(Manta_Core_XUtils ${OPENGL_LIBRARIES} ${X11_LIBRARIES})

Copied: trunk/Core/XUtils/XHelper.cc (from r487, 
trunk/Engine/Display/XHelper.cc)
==============================================================================
--- trunk/Engine/Display/XHelper.cc     (original)
+++ trunk/Core/XUtils/XHelper.cc        Tue Aug 23 15:24:06 2005
@@ -1,4 +1,4 @@
-#include <Engine/Display/XHelper.h>
+#include <Core/XUtils/XHelper.h>
 #include <Core/Color/RGBColor.h>
 
 #include <GL/glx.h>

Modified: trunk/Engine/Display/CMakeLists.txt
==============================================================================
--- trunk/Engine/Display/CMakeLists.txt (original)
+++ trunk/Engine/Display/CMakeLists.txt Tue Aug 23 15:24:06 2005
@@ -3,5 +3,4 @@
      Display/NullDisplay.cc
      Display/OpenGLDisplay.cc
      Display/FileDisplay.cc
-     Display/XHelper.cc
      )

Modified: trunk/Engine/Display/OpenGLDisplay.cc
==============================================================================
--- trunk/Engine/Display/OpenGLDisplay.cc       (original)
+++ trunk/Engine/Display/OpenGLDisplay.cc       Tue Aug 23 15:24:06 2005
@@ -2,7 +2,7 @@
 #include <Core/Thread/Thread.h>
 
 #include <Engine/Display/OpenGLDisplay.h>
-#include <Engine/Display/XHelper.h>
+#include <Core/XUtils/XHelper.h>
 #include <Core/Exceptions/IllegalArgument.h>
 #include <Core/Util/Args.h>
 #include <Image/NullImage.h>

Modified: trunk/Engine/ImageTraversers/AFImageTraverser.cc
==============================================================================
--- trunk/Engine/ImageTraversers/AFImageTraverser.cc    (original)
+++ trunk/Engine/ImageTraversers/AFImageTraverser.cc    Tue Aug 23 15:24:06 
2005
@@ -14,7 +14,7 @@
 #include <Core/Util/Args.h>
 #include <Core/Util/NotFinished.h>
 #include <Core/Thread/Mutex.h>
-#include <Engine/Display/XHelper.h>
+#include <Core/XUtils/XHelper.h>
 
 #include <SCIRun/Core/Thread/Time.h>
 

Modified: trunk/StandAlone/CMakeLists.txt
==============================================================================
--- trunk/StandAlone/CMakeLists.txt     (original)
+++ trunk/StandAlone/CMakeLists.txt     Tue Aug 23 15:24:06 2005
@@ -1,11 +1,12 @@
 
 ADD_EXECUTABLE(manta manta.cc)
-TARGET_LINK_LIBRARIES(manta Manta_Engine 
-                            Manta_UserInterface 
-                            Manta_Model 
-                            Manta_Image 
-                            Manta_Interface 
-                            Manta_Core 
+TARGET_LINK_LIBRARIES(manta Manta_Engine
+                            Manta_UserInterface
+                            Manta_Model
+                            Manta_Image
+                            Manta_Interface
+                            Manta_Core
+                            Manta_Core_XUtils
                             SCIRun_Core)
 
  TARGET_LINK_LIBRARIES(manta ${CMAKE_THREAD_LIBS_INIT}

Modified: trunk/UserInterface/CMakeLists.txt
==============================================================================
--- trunk/UserInterface/CMakeLists.txt  (original)
+++ trunk/UserInterface/CMakeLists.txt  Tue Aug 23 15:24:06 2005
@@ -1,4 +1,5 @@
 
-ADD_LIBRARY (Manta_UserInterface PromptUI.cc XWindowUI.cc 
../Engine/Display/XHelper.cc)
-TARGET_LINK_LIBRARIES(Manta_UserInterface Manta_Core Manta_Interface)
+ADD_LIBRARY (Manta_UserInterface PromptUI.cc XWindowUI.cc)
+TARGET_LINK_LIBRARIES(Manta_UserInterface Manta_Interface
+                      Manta_Core_XUtils Manta_Core)
 TARGET_LINK_LIBRARIES(Manta_UserInterface ${OPENGL_LIBRARIES} 
${X11_LIBRARIES})

Modified: trunk/UserInterface/XWindowUI.cc
==============================================================================
--- trunk/UserInterface/XWindowUI.cc    (original)
+++ trunk/UserInterface/XWindowUI.cc    Tue Aug 23 15:24:06 2005
@@ -12,7 +12,7 @@
 #include <Core/Math/Trig.h>
 #include <Core/Thread/Runnable.h>
 #include <Core/Thread/Thread.h>
-#include <Engine/Display/XHelper.h>
+#include <Core/XUtils/XHelper.h>
 
 #include <X11/Xutil.h>
 #include <X11/keysym.h>




  • [MANTA] r491 - in trunk: Core Core/XUtils Engine/Display Engine/ImageTraversers StandAlone UserInterface, bigler, 08/23/2005

Archive powered by MHonArc 2.6.16.

Top of page