#include "waterdyn3d.h"
#include "skyBox.h"
#include "glob.h"
Include dependency graph for waterdyn3d.cpp:
Go to the source code of this file.
Data Structures | |
class | findNodeVisitor |
Typedefs | |
typedef std::vector< osg::ref_ptr< osg::Image > > | ImageList |
Functions | |
osg::Node * | clip_object_with_plane (osg::Node *subgraph, osg::Vec3 plane_norm, osg::Vec3 plane_point) |
osg::Node * | clip_object_with_box (osg::Node *subgraph, osg::BoundingBox bb) |
osg::Node * | createWaterNode (osg::Node *scene, waterPlan *water1) |
osg::StateSet * | createMirrorTexturedState (const std::string &filename) |
osg::Node * | createWaterNodeWithoutMirror (osg::Node *scene, osg::Geode *mirrors) |
osg::Group * | initWater (osg::ref_ptr< osg::Group > scene, osgProducer::Viewer *viewer, osg::Node *terrainNode, bool isfog) |
typedef std::vector< osg::ref_ptr<osg::Image> > ImageList |
Definition at line 28 of file waterdyn3d.cpp.
osg::Node* clip_object_with_box | ( | osg::Node * | subgraph, | |
osg::BoundingBox | bb | |||
) |
osg::Node* clip_object_with_plane | ( | osg::Node * | subgraph, | |
osg::Vec3 | plane_norm, | |||
osg::Vec3 | plane_point | |||
) |
Definition at line 47 of file waterdyn3d.cpp.
osg::StateSet* createMirrorTexturedState | ( | const std::string & | filename | ) |
osg::Node* createWaterNode | ( | osg::Node * | scene, | |
waterPlan * | water1 | |||
) |
Definition at line 148 of file waterdyn3d.cpp.
References waterPlan::createMirrorTexturedState(), waterPlan::getOrCreateDrawable(), waterPlan::getOrCreateGeodeWater(), and waterPlan::getZ().
Referenced by initWater().
Here is the call graph for this function:
osg::Node* createWaterNodeWithoutMirror | ( | osg::Node * | scene, | |
osg::Geode * | mirrors | |||
) |
Definition at line 370 of file waterdyn3d.cpp.
References createMirrorTexturedState().
Referenced by initWater().
Here is the call graph for this function:
osg::Group* initWater | ( | osg::ref_ptr< osg::Group > | scene, | |
osgProducer::Viewer * | viewer, | |||
osg::Node * | terrainNode, | |||
bool | isfog | |||
) |
Definition at line 413 of file waterdyn3d.cpp.
References FogCube::addDynamicFogCoords(), FogCube::addFog(), clip_object_with_box(), waterPlan::createGeodeUnderWater(), waterPlan::createMirrorSurface(), waterPlan::createMirrorSurfaceForTheDam(), waterPlan::createMirrorTexturedState(), createWaterNode(), createWaterNodeWithoutMirror(), waterPlan::getOrCreateGeodeWater(), waterPlan::getStateCallback(), pat_dam, quaternion, findNodeVisitor::results, FogCube::setCube(), waterPlan::setDeplacementWater(), waterPlan::setPlan(), findNodeVisitor::setSearchName(), and waterPlan::setTexture().
Referenced by Scene3D::createScene().
Here is the call graph for this function: