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 <OSGChunkMaterial.h>
#include <OSGSimpleMaterial.h>
#include <OSGSimpleTexturedMaterial.h>
#include "OSGDrawable.h"
#include "OSGGeometry.h"
#include "OSGGeoFunctions.h"
#include "OSGGeoPumpFactory.h"
#include <OSGIntersectActor.h>
#include "OSGPrimitiveIterator.h"
#include "OSGTriangleIterator.h"
#include "OSGFaceIterator.h"
#include "OSGLineIterator.h"
#include "OSGEdgeIterator.h"
#include "OSGGeoPropPtrs.h"

Go to the source code of this file.

Namespaces

namespace  osg

Defines

#define copyAttrib(Name, TypeT, Type)
#define copyAllAttrib

Variables

static Char8 cvsid_cpp [] = "@(#)$Id: $"
static Char8 cvsid_hpp [] = OSGGEOMETRY_HEADER_CVSID
static Char8 cvsid_inl [] = OSGGEOMETRY_INLINE_CVSID


Define Documentation

#define copyAttrib ( Name,
TypeT,
Type   ) 

Value:

{ \
    Geo ## TypeT ## Ptr prop1 = Geo ## TypeT ## Ptr::dcast(get ## Type ()); \
    Geo ## TypeT ## Ptr prop2 = Geo ## TypeT ## Ptr::dcast(other->get ## Type ()); \
    if(prop1 != NullFC && prop2 != NullFC) \
    { \
        beginEditCP(prop1); \
        Name##Base = prop1->getSize(); \
        prop1->resize(Name##Base + prop2->getSize()); \
        for(i = 0; i < prop2->getSize(); ++i) \
            prop1->getField()[Name##Base + i] = prop2->getField()[i]; \
        endEditCP(prop1); \
    } \
    }

Definition at line 2114 of file OSGGeometry.cpp.

#define copyAllAttrib


Variable Documentation

Char8 cvsid_cpp[] = "@(#)$Id: $" [static]

Definition at line 2781 of file OSGGeometry.cpp.

Char8 cvsid_hpp[] = OSGGEOMETRY_HEADER_CVSID [static]

Definition at line 2782 of file OSGGeometry.cpp.

Char8 cvsid_inl[] = OSGGEOMETRY_INLINE_CVSID [static]

Definition at line 2783 of file OSGGeometry.cpp.


Generated on Mon Mar 17 11:10:09 2008 for OpenSG by  doxygen 1.5.5