Vivek's email to osg-submissions: "I'm happy to release the osgdragger nodekit to the OSG community. I implemented the nodekit for my company, Fugro-Jason Inc., and they have kindly agreed to open source it. The nodekit contains a few draggers but it should be easy to build new draggers on top of it. The design of the nodekit is based on a SIGGRAPH 2002 course - "Design and Implementation of Direct Manipulation in 3D". You can find the course notes at http://www.pauliface.com/Sigg02/index.html. Reading pages 20 - 29 of the course notes should give you a fair understanding of how the nodekit works. The source code also contains an example of how to use the draggers."
38 lines
742 B
Makefile
38 lines
742 B
Makefile
TOPDIR = ../..
|
|
include $(TOPDIR)/Make/makedefs
|
|
|
|
|
|
CXXFILES = \
|
|
AntiSquish.cpp \
|
|
Command.cpp \
|
|
CommandManager.cpp \
|
|
Constraint.cpp \
|
|
Dragger.cpp \
|
|
Projector.cpp \
|
|
RotateCylinderDragger.cpp \
|
|
RotateSphereDragger.cpp \
|
|
Scale1DDragger.cpp \
|
|
Scale2DDragger.cpp \
|
|
ScaleAxisDragger.cpp \
|
|
Selection.cpp \
|
|
TabBoxDragger.cpp \
|
|
TabPlaneDragger.cpp \
|
|
TabPlaneTrackballDragger.cpp \
|
|
TrackballDragger.cpp \
|
|
Translate1DDragger.cpp \
|
|
Translate2DDragger.cpp \
|
|
TranslateAxisDragger.cpp \
|
|
TranslatePlaneDragger.cpp
|
|
|
|
DEF += -DOSGMANIPULATOR_LIBRARY
|
|
|
|
INC +=
|
|
LIBS += -losgGA -losgUtil -losg $(GL_LIBS) $(OTHER_LIBS)
|
|
|
|
TARGET_BASENAME = osgManipulator
|
|
|
|
LIB = $(LIB_PREFIX)$(TARGET_BASENAME).$(LIB_EXT)
|
|
|
|
include $(TOPDIR)/Make/makerules
|
|
|