Skip to content

Commit

Permalink
add osgagg example
Browse files Browse the repository at this point in the history
remove osgqt5 example
  • Loading branch information
xarray committed Jan 13, 2013
1 parent 5e563a8 commit 485b598
Show file tree
Hide file tree
Showing 187 changed files with 70,277 additions and 1,334 deletions.
11 changes: 6 additions & 5 deletions integrations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ FIND_PACKAGE(OpenGL)
FIND_PACKAGE(GLEW)
FIND_PACKAGE(OpenCV COMPONENTS core imgproc)
FIND_PACKAGE(ALVAR)
FIND_PACKAGE(Freetype)

IF(WIN32)
IF(MSVC)
Expand Down Expand Up @@ -109,30 +110,30 @@ ADD_SUBDIRECTORY(osgrvo2) # OSG & RVO2
ADD_SUBDIRECTORY(osgdb_otl) # OSG & Oracle/ODBC/DB2 Template Library

# Wave 3
#ADD_SUBDIRECTORY(osgagg) # OSG & AGG
ADD_SUBDIRECTORY(osgagg) # OSG & AGG
ADD_SUBDIRECTORY(osgalvar) # OSG & ALVAR
#ADD_SUBDIRECTORY(osgberkelium) # OSG & Berkelium
#ADD_SUBDIRECTORY(osgdb_cdr) # OSG & libCDR
ADD_SUBDIRECTORY(osgdirectwrite) # OSG & Microsoft DirectWrite
#ADD_SUBDIRECTORY(osgguichan) # OSG & GUIChan
#ADD_SUBDIRECTORY(osgois) # OSG & OIS
ADD_SUBDIRECTORY(osgqt5) # OSG & Qt 5.x
#ADD_SUBDIRECTORY(osgrecast) # OSG & Recastnavigation
ADD_SUBDIRECTORY(osgsilverlining) # OSG & Sundog Silverlining
#ADD_SUBDIRECTORY(osgtriton) # OSG & Sundog Triton

# TODO List
#ADD_SUBDIRECTORY(osganimata) # OSG & Animata
#ADD_SUBDIRECTORY(osgcl) # OSG & OpenCL
#ADD_SUBDIRECTORY(osgcrogai) # OSG & Crogai
#ADD_SUBDIRECTORY(osgdance) # OSG & DANCE
#ADD_SUBDIRECTORY(osggameswf) # OSG & GameSWF
#ADD_SUBDIRECTORY(osgguichan) # OSG & GUIChan
#ADD_SUBDIRECTORY(osgdb_cdr) # OSG & libCDR
#ADD_SUBDIRECTORY(osggls) # OSG & libGLS
#ADD_SUBDIRECTORY(osgmini) # OSG & libMini
#ADD_SUBDIRECTORY(osgmathgl) # OSG & MathGL
#ADD_SUBDIRECTORY(osgmupdf) # OSG & MuPDF
#ADD_SUBDIRECTORY(osgnewton) # OSG & Newton Physics
#ADD_SUBDIRECTORY(osgnurbs) # OSG & openNURBS
#ADD_SUBDIRECTORY(osgsteers) # OSG & OpenSteers
#ADD_SUBDIRECTORY(osgrecast) # OSG & Recastnavigation
#ADD_SUBDIRECTORY(osgroboop) # OSG & ROBOOP
#ADD_SUBDIRECTORY(osgrtmidi) # OSG & RT-Midi
#ADD_SUBDIRECTORY(osgwoody3d) # OSG & Woody3D
Expand Down
57 changes: 57 additions & 0 deletions integrations/osgagg/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
SET(EXTERNAL_INCLUDE_DIR ./agg)
SET(EXAMPLE_NAME osgagg)
SET(EXAMPLE_FILES
osgagg.cpp

agg/agg_arc.cpp
agg/agg_arrowhead.cpp
agg/agg_bezier_arc.cpp
agg/agg_bspline.cpp
agg/agg_curves.cpp
agg/agg_embedded_raster_fonts.cpp
agg/agg_gsv_text.cpp
agg/agg_image_filters.cpp
agg/agg_line_aa_basics.cpp
agg/agg_line_profile_aa.cpp
agg/agg_rounded_rect.cpp
agg/agg_sqrt_tables.cpp
agg/agg_trans_affine.cpp
agg/agg_trans_double_path.cpp
agg/agg_trans_single_path.cpp
agg/agg_trans_warp_magnifier.cpp
agg/agg_vcgen_bspline.cpp
agg/agg_vcgen_contour.cpp
agg/agg_vcgen_dash.cpp
agg/agg_vcgen_markers_term.cpp
agg/agg_vcgen_smooth_poly1.cpp
agg/agg_vcgen_stroke.cpp
agg/agg_vpgen_clip_polygon.cpp
agg/agg_vpgen_clip_polyline.cpp
agg/agg_vpgen_segmentator.cpp

agg/ctrl/agg_bezier_ctrl.cpp
agg/ctrl/agg_cbox_ctrl.cpp
agg/ctrl/agg_gamma_ctrl.cpp
agg/ctrl/agg_gamma_spline.cpp
agg/ctrl/agg_polygon_ctrl.cpp
agg/ctrl/agg_rbox_ctrl.cpp
agg/ctrl/agg_scale_ctrl.cpp
agg/ctrl/agg_slider_ctrl.cpp
agg/ctrl/agg_spline_ctrl.cpp
agg/gpc/gpc.c
)

IF(WIN32)
SET(EXAMPLE_FILES ${EXAMPLE_FILES}
agg/font_win32_tt/agg_font_win32_tt.cpp
)
ENDIF(WIN32)

IF(FREETYPE_FOUND)
SET(EXTERNAL_INCLUDE_DIR ${EXTERNAL_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIRS})
SET(EXTERNAL_LIBRARIES ${FREETYPE_LIBRARIES})
SET(EXAMPLE_FILES ${EXAMPLE_FILES}
agg/font_freetype/agg_font_freetype.cpp
)
ENDIF(FREETYPE_FOUND)
START_EXAMPLE()
Loading

0 comments on commit 485b598

Please sign in to comment.