#include <ReflectionCamera.h>
Public Member Functions | |
| ReflectionCamera (void) | |
| ~ReflectionCamera (void) | |
| void | Initialize () |
| void | AddObject (osg::ref_ptr< osg::Geode > geo) |
| osg::Camera **& | GetCamera () |
Public Attributes | |
| osg::ref_ptr< osg::TextureCubeMap > | fbo_plane_cube |
| osg::ref_ptr< osg::TextureCubeMap > | fbo_plane_cube_depth |
Protected Attributes | |
| osg::Camera ** | camera_plane_cubemap |
Class, creates a reflection camera
| osgCloudyDay::ReflectionCamera::ReflectionCamera | ( | void | ) |
Constructor
| osgCloudyDay::ReflectionCamera::~ReflectionCamera | ( | void | ) |
Deconstructor
| void osgCloudyDay::ReflectionCamera::AddObject | ( | osg::ref_ptr< osg::Geode > | geo | ) |
Method adds an object with reflections
| geo | object geode |
| osg::Camera **& osgCloudyDay::ReflectionCamera::GetCamera | ( | ) |
Method returns the reflection camera
| void osgCloudyDay::ReflectionCamera::Initialize | ( | ) |
Method initialize the refleciton camera
1.8.1.1