Files
OpenSceneGraph/src/osgPlugins/Inventor/GroupSoLOD.cpp
Robert Osfield 218c6e8d13 Added Inventor plugin, submitted by Sean Spicer, Written by Vivek (c) Magic-Earth.
To compile in do a setenv/export USE_COIN or USE_INVENTOR.
2003-09-02 21:53:41 +00:00

29 lines
526 B
C++

#include <Inventor/nodes/SoGroup.h>
#include <Inventor/actions/SoCallbackAction.h>
#include "GroupSoLOD.h"
SO_NODE_SOURCE(GroupSoLOD);
void GroupSoLOD::initClass()
{
classTypeId = SoType::overrideType(SoLOD::getClassTypeId(),
createInstance);
parentFieldData = SoLOD::getFieldDataPtr();
}
GroupSoLOD::GroupSoLOD()
{
SO_NODE_CONSTRUCTOR(GroupSoLOD);
}
GroupSoLOD::~GroupSoLOD()
{
}
void GroupSoLOD::callback(SoCallbackAction *action)
{
SoGroup::doAction(action);
}