Ignore:
Timestamp:
Feb 10, 2011, 12:51:47 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/include/object/visual_object.h

    r226 r227  
    7777        #include <leakDetection.h>
    7878public:
    79         //META_Object(osgVisual,visual_object);
     79        META_Node(osgVisual,visual_object);
     80        visual_object() {};
     81        visual_object(const osgVisual::visual_object& object_, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY):
     82            MatrixTransform(object_,copyop),
     83                        upVector(object_.upVector),
     84                        lat(object_.lat),
     85                        lon(object_.lon),
     86                        alt(object_.alt),
     87                        azimuthAngle_psi(object_.azimuthAngle_psi),
     88                        pitchAngle_theta(object_.pitchAngle_theta),
     89                        bankAngle_phi(object_.bankAngle_phi),
     90                        scaleX(object_.scaleX),
     91                        scaleY(object_.scaleY),
     92                        scaleZ(object_.scaleZ),
     93                        cameraMatrix(object_.cameraMatrix),
     94                        cameraTranslationOffset(object_.cameraTranslationOffset),
     95                        cameraRotationOffset(object_.cameraRotationOffset),
     96                        geometry_offset_rotation(object_.geometry_offset_rotation),
     97                        geometry(object_.geometry),
     98                        updater(object_.updater),
     99                        trackingId(object_.trackingId),
     100                        labels(object_.labels)         
     101                        {}
    80102
    81103        /**
Note: See TracChangeset for help on using the changeset viewer.