Public Types | |
enum | Options { SHALLOW_COPY = 0, DEEP_COPY_OBJECTS = 1, DEEP_COPY_NODES = 2, DEEP_COPY_DRAWABLES = 4, DEEP_COPY_STATESETS = 8, DEEP_COPY_STATEATTRIBUTES = 16, DEEP_COPY_TEXTURES = 32, DEEP_COPY_IMAGES = 64, DEEP_COPY_ARRAYS = 128, DEEP_COPY_PRIMITIVES = 256, DEEP_COPY_SHAPES = 512, DEEP_COPY_UNIFORMS = 1024, DEEP_COPY_ALL = 0xffffffff } |
typedef unsigned int | CopyFlags |
Public Member Functions | |
CopyOp (CopyFlags flags=SHALLOW_COPY) | |
virtual | ~CopyOp () |
virtual Referenced * | operator() (const Referenced *ref) const |
virtual Object * | operator() (const Object *obj) const |
virtual Node * | operator() (const Node *node) const |
virtual Drawable * | operator() (const Drawable *drawable) const |
virtual StateSet * | operator() (const StateSet *stateset) const |
virtual StateAttribute * | operator() (const StateAttribute *attr) const |
virtual Texture * | operator() (const Texture *text) const |
virtual Image * | operator() (const Image *image) const |
virtual Array * | operator() (const Array *array) const |
virtual PrimitiveSet * | operator() (const PrimitiveSet *primitives) const |
virtual Shape * | operator() (const Shape *shape) const |
virtual Uniform * | operator() (const Uniform *shape) const |
Protected Attributes | |
CopyFlags | _flags |
typedef unsigned int osg::CopyOp::CopyFlags |
enum osg::CopyOp::Options |
osg::CopyOp::CopyOp | ( | CopyFlags | flags = SHALLOW_COPY |
) | [inline] |
virtual osg::CopyOp::~CopyOp | ( | ) | [inline, virtual] |
virtual Referenced* osg::CopyOp::operator() | ( | const Referenced * | ref | ) | const [virtual] |
virtual StateAttribute* osg::CopyOp::operator() | ( | const StateAttribute * | attr | ) | const [virtual] |
virtual PrimitiveSet* osg::CopyOp::operator() | ( | const PrimitiveSet * | primitives | ) | const [virtual] |
CopyFlags osg::CopyOp::_flags [protected] |