SoAnaglyphStereo Class Reference

VSG extension Class for anaglyph stereo support. More...

#include <Inventor/components/stereo/SoAnaglyphStereo.h>

Inheritance diagram for SoAnaglyphStereo:

List of all members.

Public Types

enum  ColorFilter {

Public Member Functions

 SoAnaglyphStereo (SoStereoViewer *stereoVwr=NULL, SoGuiViewer *guiViewer=NULL)
 ~SoAnaglyphStereo ()
StereoViewType getStereoViewType ()
void setColorFilter (ColorFilter filter)
ColorFilter getColorFilter ()

Detailed Description

VSG extension Class for anaglyph stereo support.

This type is similar to the raw stereo type (SoRawStereo). But it adds a color filter for each view rendered. The default is Red/Cyan. There are three kinds of filters (ColorFilter). You can reverse the left and rights views, making three new kinds of filters (CYAN_RED, etc.). The Alpha channel is used in both views.


SoStereoViewer, SoBaseStereo, SoWinViewer SoXtViewer

See related examples:


Member Enumeration Documentation

Color Filter.

There is 3 types of filters. Note that you can reverse the view, making 3 new types of filters (CYAN_RED,etc.). Note also that this types are able to deal with two-colors glasses (rather than 3 colors) : RED_CYAN is also adpated for red/green glasses, and so on. Note that the Alpha channel is kept in both views.


Default value.


Constructor & Destructor Documentation

SoAnaglyphStereo::SoAnaglyphStereo ( SoStereoViewer stereoVwr = NULL,
SoGuiViewer guiViewer = NULL 
) [inline]


SoAnaglyphStereo::~SoAnaglyphStereo (  )  [inline]


Member Function Documentation

ColorFilter SoAnaglyphStereo::getColorFilter (  )  [inline]

Queries the filter type.

StereoViewType SoAnaglyphStereo::getStereoViewType (  )  [inline, virtual]

Always returns SoBaseStereo::ANAGLYPH_STEREO.

Implements SoBaseStereo.

void SoAnaglyphStereo::setColorFilter ( ColorFilter  filter  )  [inline]

Sets the filter type.

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

Open Inventor Toolkit reference manual, generated on 1 Nov 2021
Copyright © Thermo Fisher Scientific All rights reserved.