#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 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 |
Definition at line 2129 of file OSGGeometry.cpp.
Referenced by osg::Geometry::merge0(), osg::Geometry::merge1(), osg::Geometry::merge2(), osg::Geometry::merge3(), osg::Geometry::merge4(), osg::Geometry::merge5(), and osg::Geometry::merge6().
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.
1.5.5