GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SBPROJECTOR (3)

NAME

SbProjector — base class for representing projectors

CONTENTS

Inherits From
Synopsis
Description
Methods
File Format/defaults
See Also

INHERITS FROM

SbProjector

SYNOPSIS

#include <Inventor/projectors/SbProjector.h>

Methods from class SbProjector:

    virtual SbVec3f    
                       
virtual SbVec3f         project(const SbVec2f &point)    
virtual void    
                       
virtual void            setViewVolume(const SbViewVolume &vol)    
const SbViewVolume &    
                       
const SbViewVolume &    getViewVolume() const    
virtual void    
                       
virtual void            setWorkingSpace(const SbMatrix &space)    
const SbMatrix &    
                       
const SbMatrix &        getWorkingSpace() const    
virtual SbProjector *    
                       
virtual SbProjector *   copy() const

DESCRIPTION

SbProjector is the base class for all projector classes. Projector classes are used to convert from window space (usually based on the mouse location) into a 3D point. This is done by projecting the window coordinate as a 3D vector onto a geometric function in 3-space, and computing the intersection point. Most projectors actually compute incremental changes and produce incremental rotations and translation as needed. Projectors are used to write 3D interactive manipulators and viewers.

METHODS

    virtual SbVec3f    
                       
virtual SbVec3f         project(const SbVec2f &point)
Apply the projector using the given point, returning the point in three dimensions that it projects to. The point should be normalized (lie in the range [0.0,1.0]), with (0,0) at the lower-left.

    virtual void    
                       
virtual void            setViewVolume(const SbViewVolume &vol)    
const SbViewVolume &    
                       
const SbViewVolume &    getViewVolume() const
Set and get the view volume to use for the projection. This is typically supplied from SoCamera::getViewVolume().

    virtual void    
                       
virtual void            setWorkingSpace(const SbMatrix &space)    
const SbMatrix &    
                       
const SbMatrix &        getWorkingSpace() const
Set and get the transform space to work in. This matrix should transform working space coordinates into world space. The default matrix is identity, meaning that the default working space is world space.

    virtual SbProjector *    
                       
virtual SbProjector *   copy() const
Creates and returns an exact copy of the projector.

FILE FORMAT/DEFAULTS

SEE ALSO

SbCylinderProjector, SbCylinderPlaneProjector, SbCylinderSectionProjector, SbCylinderSheetProjector, SbLineProjector, SbPlaneProjector, SbSpherePlaneProjector, SbSphereProjector, SbSphereSectionProjector, SbSphereSheetProjector

Search for    or go to Top of page |  Section 3 |  Main Index


SBPROJECTOR(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.