CloudyDay
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
WangCloud
ContrailUpdate.h
1
#pragma once
2
#include "Scene.h"
3
#include <osg/ref_ptr>
4
#include <osg/Geode>
5
#include <iostream>
6
#include <algorithm>
7
8
namespace
osgCloudyDay
9
{
13
class
ContrailUpdate
:
public
osg::NodeCallback
14
{
15
public
:
16
ContrailUpdate
(
void
);
17
~
ContrailUpdate
(
void
);
18
19
void
operator()(osg::Node* node, osg::NodeVisitor* nv);
20
24
bool
operator() (
unsigned
short
i,
unsigned
short
j)
25
{
26
return
(depth[i]<depth[j]);
27
};
28
29
float
* depth;
30
int
iteration;
31
32
unsigned
int
layerid;
33
34
osg::ref_ptr<osg::Geometry> bb_geo;
35
bool
cloud_added;
36
};
37
}
Generated on Thu Oct 2 2014 18:53:51 for CloudyDay by
1.8.1.1