CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions | Public Attributes
osgCloudyDay::CloudCreateVolume Class Reference

#include <CloudCreateVolume.h>

List of all members.

Public Member Functions

 CloudCreateVolume (void)
 ~CloudCreateVolume (void)
osg::Node * LoadingVolume (std::string path)
bool PointInside (osg::Vec3 point)

Public Attributes

std::vector< std::pair
< osg::Vec3, osg::Vec3 > > 
m_aabb_boundbox

Detailed Description

Helperclass to create a cloud which uses a controlmesh.

Author:
Michael Beham

Constructor & Destructor Documentation

osgCloudyDay::CloudCreateVolume::CloudCreateVolume ( void  )

Standard constructor

osgCloudyDay::CloudCreateVolume::~CloudCreateVolume ( void  )

Standard deconstructor


Member Function Documentation

osg::Node * osgCloudyDay::CloudCreateVolume::LoadingVolume ( std::string  path)

This method loads a mesh, which is used as control mesh.

Parameters:
pathpath to the mesh
Returns:
mesh- node
bool osgCloudyDay::CloudCreateVolume::PointInside ( osg::Vec3  point)

This method perform an in- out- test at a specific point.

Parameters:
point,whichshould checked.
Returns:
true if the point is inside the mesh. Otherwise false.

Member Data Documentation

std::vector<std::pair<osg::Vec3, osg::Vec3> > osgCloudyDay::CloudCreateVolume::m_aabb_boundbox

AABB-Boundingbox of the mesh


The documentation for this class was generated from the following files: