Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGSplitGraphOp.cpp File Reference

#include <OSGSplitGraphOp.h>
#include <OSGDirectionalLight.h>
#include <OSGSpotLight.h>
#include <OSGLight.h>
#include <OSGPointLight.h>
#include <OSGSwitch.h>
#include <OSGDistanceLOD.h>
#include <OSGBillboard.h>
#include <OSGMaterialGroup.h>
#include <OSGComponentTransform.h>
#include <OSGPrimitiveIterator.h>
#include <OSGGeometry.h>

Go to the source code of this file.

Namespaces

namespace  osg

Defines

#define addPoints(INDEX, LENGTH)
#define setupAttr(type, arr1, arr2, getmethod)


Define Documentation

#define addPoints INDEX,
LENGTH   ) 
 

Definition at line 150 of file OSGSplitGraphOp.cpp.

Referenced by osg::SplitGraphOp::splitNode().

#define setupAttr type,
arr1,
arr2,
getmethod   ) 
 

Value:

if (geo->getmethod()!=NullFC && geo->getmethod()->size()>0)                         \
{                                                                                   \
    arr1[i]    = type::dcast(geo->getmethod()->getType().createFieldContainer());   \
    beginEditCP(arr1[i]);                                                           \
    arr2[i]    = new int[geo->getmethod()->size()];                                 \
    for (UInt32 j=0; j<geo->getmethod()->size(); j++)                               \
        arr2[i][j]=-1;                                                              \
} else { arr2[i]=0; arr1[i]=NullFC; }

Definition at line 258 of file OSGSplitGraphOp.cpp.

Referenced by osg::SplitGraphOp::splitNode().


Generated on Thu Aug 25 04:12:23 2005 for OpenSG by  doxygen 1.4.3