Extends the WebLVC GUI to display the new object and interaction.
#include <vlutil/vlExceptions.h>
#include <vlutil/vlMiniDumper.h>
#include <vlutil/vlUtil.h>
#include <QApplication>
#include <iostream>
using namespace MAKVrExchange;
int main( int argc, char* argv[] )
{
DtINIT_MINIDUMPER( "Modified Portal App" );
int retVal = -1;
try
{
std::cout << "Modified VR-Exchange version("
std::cout << "Built on " << DtOperatingSystem() << " with "
<< DtCompiler() <<".\n" << std::endl;
initializer.parseCmdLine();
pApp.initialize();
retVal = pApp.run();
}
catch ( DtException& ex )
{
std::cout << "VR-Exchange caught exception: " << ex << std::endl;
}
catch ( ... )
{
std::cout << "VR-Exchange caught unknown exception." << std::endl;
}
return retVal;
}
#include <vlutil/vlString.h>
#include <vlutil/vlPrint.h>
using namespace MAKVrExchange;
{
return interView;
}
{
DtInfo << "DtModInteractionViewComponent starting...." << std::endl;
}
{
}
{
DtInteractionViewComponent::registerCallbacks();
DtInfo << "DtModInteractionViewComponent registering boom callback." << std::endl;
}
{
DtInteractionViewComponent::removeCallbacks();
DtInfo << "DtModInteractionViewComponent unregistering boom callback." << std::endl;
}
{
DtString description =
"Something went boom!";
}
#include <vlutil/vlPrint.h>
#include <vlutil/vlUtil.h>
#include <assert.h>
using namespace MAKVrExchange;
{
return objectView;
}
, myRefFruitMgr( 0 )
{
DtInfo << "Loading DtModObjectViewComponent...." << std::endl;
}
{
}
{
DtObjectViewComponent::registerCallbacks();
DtInfo << "DtModObjectViewComponent registering fruit callbacks." << std::endl;
}
{
DtObjectViewComponent::removeCallbacks();
DtInfo << "DtModObjectViewComponent unregistering fruit callbacks." << std::endl;
}
{
DtInfo << "DtModObjectViewComponent discovered a new fruit." << std::endl;
}
{
DtInfo << "DtModObjectViewComponent updated a fruit." << std::endl;
}
{
DtInfo << "DtModObjectViewComponent removed a fruit." << std::endl;
}