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

OSGGeometry.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include "OSGConfig.h"
#include <OSGGL.h>
#include <OSGAction.h>
#include <OSGDrawAction.h>
#include <OSGRenderAction.h>
#include <OSGIntersectAction.h>
#include <OSGMaterial.h>
#include "OSGGeometry.h"
#include "OSGGeoFunctions.h"
#include "OSGGeoPumpFactory.h"
#include "OSGPrimitiveIterator.h"
#include "OSGTriangleIterator.h"
#include "OSGFaceIterator.h"
#include "OSGGeoPropPtrs.h"

Include dependency graph for OSGGeometry.cpp:

Include dependency graph

Namespaces

namespace  osg

Defines

#define copyAttrib(NAME, APTR, GETFUNC)

Define Documentation

#define copyAttrib NAME,
APTR,
GETFUNC   
 

Value:

{                                                       \
    APTR NAME    =        GETFUNC();                    \
    APTR o##NAME = other->GETFUNC();                    \
                                                        \
    beginEditCP( NAME );                                \
    NAME##Base = NAME->getSize();                       \
    NAME->resize( NAME##Base + o##NAME->getSize() );    \
                                                        \
    for ( i = 0; i < o##NAME->getSize(); i++ )          \
        NAME->setValue( o##NAME->getValue( i ), NAME##Base + i );       \
                                                        \
    endEditCP( NAME );                                  \
}


Generated on Wed Jul 3 15:16:59 2002 for OpenSG by doxygen1.2.16