#include <arViewer.h>
Public Member Functions | |
arVrmlViewer (openvrml::browser &browser) | |
arVrmlViewer () | |
void | redraw () |
void | redraw () |
void | setInternalLight (bool f) |
void | setInternalLight (bool f) |
void | timerUpdate () |
void | timerUpdate () |
~arVrmlViewer () | |
~arVrmlViewer () throw () | |
Public Attributes | |
char | filename [512] |
bool | internal_light |
double | rotation [4] |
double | scale [3] |
double | translation [3] |
Protected Member Functions | |
virtual viewer::object_t | insert_background (const std::vector< float > &groundAngle, const std::vector< openvrml::color > &groundColor, const std::vector< float > &skyAngle, const std::vector< openvrml::color > &skyColor, size_t *whc=0, unsigned char **pixels=0) |
virtual viewer::object_t | insert_background (const std::vector< float > &groundAngle, const std::vector< openvrml::color > &groundColor, const std::vector< float > &skyAngle, const std::vector< openvrml::color > &skyColor, const openvrml::image &front, const openvrml::image &back, const openvrml::image &left, const openvrml::image &right, const openvrml::image &top, const openvrml::image &bottom) |
virtual viewer::object_t | insert_dir_light (float ambientIntensity, float intensity, const openvrml::color &color, const openvrml::vec3f &direction) |
virtual viewer::object_t | insert_dir_light (float ambientIntensity, float intensity, const openvrml::color &color, const openvrml::vec3f &direction) |
virtual viewer::object_t | insert_point_light (float ambientIntensity, const openvrml::vec3f &attenuation, const openvrml::color &color, float intensity, const openvrml::vec3f &location, float radius) |
virtual viewer::object_t | insert_point_light (float ambientIntensity, const openvrml::vec3f &attenuation, const openvrml::color &color, float intensity, const openvrml::vec3f &location, float radius) |
virtual viewer::object_t | insert_spot_light (float ambientIntensity, const openvrml::vec3f &attenuation, float beamWidth, const openvrml::color &color, float cutOffAngle, const openvrml::vec3f &direction, float intensity, const openvrml::vec3f &location, float radius) |
virtual viewer::object_t | insert_spot_light (float ambientIntensity, const openvrml::vec3f &attenuation, float beamWidth, const openvrml::color &color, float cutOffAngle, const openvrml::vec3f &direction, float intensity, const openvrml::vec3f &location, float radius) |
virtual openvrml::bounding_volume::intersection | intersect_view_volume (const openvrml::bounding_volume &bvolume) const |
virtual openvrml::bounding_volume::intersection | intersect_view_volume (const openvrml::bounding_volume &bvolume) const |
virtual void | post_redraw () |
virtual void | post_redraw () |
virtual void | set_cursor (openvrml::gl::viewer::cursor_style c) |
virtual void | set_cursor (openvrml::gl::viewer::cursor_style c) |
virtual void | set_timer (double) |
virtual void | set_timer (double) |
virtual void | set_viewpoint (const openvrml::vec3f &position, const openvrml::rotation &orientation, float fieldOfView, float avatarSize, float visibilityLimit) |
virtual void | set_viewpoint (const openvrml::vec3f &position, const openvrml::rotation &orientation, float fieldOfView, float avatarSize, float visibilityLimit) |
virtual void | swap_buffers () |
virtual void | swap_buffers () |
Definition at line 45 of file arViewer.h.
arVrmlViewer::arVrmlViewer | ( | ) | [explicit] |
Definition at line 149 of file arViewer.cpp.
arVrmlViewer::~arVrmlViewer | ( | ) | throw () |
Definition at line 167 of file arViewer.cpp.
arVrmlViewer::arVrmlViewer | ( | openvrml::browser & | browser | ) |
Definition at line 20 of file arViewer_openvrml-0.14.3.cpp.
arVrmlViewer::~arVrmlViewer | ( | ) |
viewer::object_t arVrmlViewer::insert_background | ( | const std::vector< float > & | groundAngle, | |
const std::vector< openvrml::color > & | groundColor, | |||
const std::vector< float > & | skyAngle, | |||
const std::vector< openvrml::color > & | skyColor, | |||
size_t * | whc = 0 , |
|||
unsigned char ** | pixels = 0 | |||
) | [protected, virtual] |
Definition at line 141 of file arViewer_openvrml-0.14.3.cpp.
virtual viewer::object_t arVrmlViewer::insert_background | ( | const std::vector< float > & | groundAngle, | |
const std::vector< openvrml::color > & | groundColor, | |||
const std::vector< float > & | skyAngle, | |||
const std::vector< openvrml::color > & | skyColor, | |||
const openvrml::image & | front, | |||
const openvrml::image & | back, | |||
const openvrml::image & | left, | |||
const openvrml::image & | right, | |||
const openvrml::image & | top, | |||
const openvrml::image & | bottom | |||
) | [protected, virtual] |
virtual viewer::object_t arVrmlViewer::insert_dir_light | ( | float | ambientIntensity, | |
float | intensity, | |||
const openvrml::color & | color, | |||
const openvrml::vec3f & | direction | |||
) | [protected, virtual] |
viewer::object_t arVrmlViewer::insert_dir_light | ( | float | ambientIntensity, | |
float | intensity, | |||
const openvrml::color & | color, | |||
const openvrml::vec3f & | direction | |||
) | [protected, virtual] |
Definition at line 284 of file arViewer.cpp.
virtual viewer::object_t arVrmlViewer::insert_point_light | ( | float | ambientIntensity, | |
const openvrml::vec3f & | attenuation, | |||
const openvrml::color & | color, | |||
float | intensity, | |||
const openvrml::vec3f & | location, | |||
float | radius | |||
) | [protected, virtual] |
viewer::object_t arVrmlViewer::insert_point_light | ( | float | ambientIntensity, | |
const openvrml::vec3f & | attenuation, | |||
const openvrml::color & | color, | |||
float | intensity, | |||
const openvrml::vec3f & | location, | |||
float | radius | |||
) | [protected, virtual] |
Definition at line 293 of file arViewer.cpp.
virtual viewer::object_t arVrmlViewer::insert_spot_light | ( | float | ambientIntensity, | |
const openvrml::vec3f & | attenuation, | |||
float | beamWidth, | |||
const openvrml::color & | color, | |||
float | cutOffAngle, | |||
const openvrml::vec3f & | direction, | |||
float | intensity, | |||
const openvrml::vec3f & | location, | |||
float | radius | |||
) | [protected, virtual] |
viewer::object_t arVrmlViewer::insert_spot_light | ( | float | ambientIntensity, | |
const openvrml::vec3f & | attenuation, | |||
float | beamWidth, | |||
const openvrml::color & | color, | |||
float | cutOffAngle, | |||
const openvrml::vec3f & | direction, | |||
float | intensity, | |||
const openvrml::vec3f & | location, | |||
float | radius | |||
) | [protected, virtual] |
Definition at line 306 of file arViewer.cpp.
virtual openvrml::bounding_volume::intersection arVrmlViewer::intersect_view_volume | ( | const openvrml::bounding_volume & | bvolume | ) | const [protected, virtual] |
virtual openvrml::bounding_volume::intersection arVrmlViewer::intersect_view_volume | ( | const openvrml::bounding_volume & | bvolume | ) | const [protected, virtual] |
virtual void arVrmlViewer::post_redraw | ( | ) | [protected, virtual] |
void arVrmlViewer::post_redraw | ( | ) | [protected, virtual] |
Definition at line 241 of file arViewer.cpp.
void arVrmlViewer::redraw | ( | ) |
void arVrmlViewer::redraw | ( | ) |
Definition at line 184 of file arViewer.cpp.
virtual void arVrmlViewer::set_cursor | ( | openvrml::gl::viewer::cursor_style | c | ) | [protected, virtual] |
virtual void arVrmlViewer::set_cursor | ( | openvrml::gl::viewer::cursor_style | c | ) | [protected, virtual] |
virtual void arVrmlViewer::set_timer | ( | double | ) | [protected, virtual] |
void arVrmlViewer::set_timer | ( | double | t | ) | [protected, virtual] |
Definition at line 255 of file arViewer.cpp.
virtual void arVrmlViewer::set_viewpoint | ( | const openvrml::vec3f & | position, | |
const openvrml::rotation & | orientation, | |||
float | fieldOfView, | |||
float | avatarSize, | |||
float | visibilityLimit | |||
) | [protected, virtual] |
void arVrmlViewer::set_viewpoint | ( | const openvrml::vec3f & | position, | |
const openvrml::rotation & | orientation, | |||
float | fieldOfView, | |||
float | avatarSize, | |||
float | visibilityLimit | |||
) | [protected, virtual] |
Definition at line 261 of file arViewer.cpp.
void arVrmlViewer::setInternalLight | ( | bool | f | ) |
void arVrmlViewer::setInternalLight | ( | bool | f | ) |
Definition at line 179 of file arViewer.cpp.
virtual void arVrmlViewer::swap_buffers | ( | ) | [protected, virtual] |
void arVrmlViewer::swap_buffers | ( | ) | [protected, virtual] |
Definition at line 250 of file arViewer.cpp.
void arVrmlViewer::timerUpdate | ( | ) |
void arVrmlViewer::timerUpdate | ( | ) |
Definition at line 172 of file arViewer.cpp.
Definition at line 51 of file arViewer.h.
Definition at line 55 of file arViewer.h.
double arVrmlViewer::rotation |
Definition at line 53 of file arViewer.h.
double arVrmlViewer::scale |
Definition at line 54 of file arViewer.h.
double arVrmlViewer::translation |
Definition at line 52 of file arViewer.h.