Changeset 134 for osgVisual/include
- Timestamp:
- Oct 17, 2010, 8:32:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/sky_Silverlining/skySilverLining_skyDrawable.h
r88 r134 30 30 31 31 #include <skySilverLining_cloudLayerSlot.h> 32 #include <visual_util.h> 32 33 33 34 #include <SilverLining.h> … … 38 39 39 40 class skySilverLining_atmosphereReference; 41 42 struct cloudlayerOrder 43 { 44 int slot; 45 double lat; 46 double lon; 47 double baseLength; 48 double baseWidth; 49 double thickness; 50 double baseHeight; 51 double density; 52 CloudTypes cloudtype; 53 cloudLayerSlot* assocCloudLayerSlot; // Pointer to the cloudlayerslot managed by visual_skySilverlining. 54 }; 55 40 56 41 57 class skySilverLining_skyDrawable : public osg::Drawable … … 60 76 virtual void drawImplementation(osg::RenderInfo& renderInfo) const; 61 77 62 void addCloudLayer (cloudLayerSlot *cloudLayerSlot_);78 void addCloudLayerOrder(cloudlayerOrder newCL); 63 79 64 80 void shutdown(); … … 75 91 private: 76 92 OpenThreads::Mutex cloudLayersToAddMutex; 77 mutable std::vector<cloudLayerSlot*> cloudLayerSlots;93 std::vector<cloudlayerOrder> pendingNewCloudLayers; 78 94 bool newCloudLayersToAdd; 79 95 osg::ref_ptr<osg::CoordinateSystemNode> sceneRoot;
Note: See TracChangeset
for help on using the changeset viewer.