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  -  SBCYLINDERPROJECTOR (3)

NAME

SbCylinderProjector — cylinder projector

CONTENTS

Inherits From
Synopsis
Description
Methods
File Format/defaults
See Also

INHERITS FROM

SbProjector > SbCylinderProjector

SYNOPSIS

#include <Inventor/projectors/SbCylinderProjector.h>

Methods from class SbCylinderProjector:

       
                    
                     ~SbCylinderProjector()    
SbVec3f    
                    
SbVec3f              projectAndGetRotation(const SbVec2f &point, SbRotation &rot)    
virtual SbRotation    
                    
virtual SbRotation   getRotation(const SbVec3f &point1, const SbVec3f &point2)    
void    
                    
void                 setCylinder(const SbCylinder &cyl)    
const SbCylinder &    
                    
const SbCylinder &   getCylinder() const    
void    
                    
void                 setOrientToEye(SbBool orientToEye)    
SbBool    
                    
SbBool               isOrientToEye() const    
void    
                    
void                 setFront(SbBool isFront)    
SbBool    
                    
SbBool               isFront() const    
SbBool    
                    
SbBool               isPointInFront(const SbVec3f &point) const

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

SbCylinderProjector is an abstract base class for projectors that use a cylinder in their projection. The getRotation() method for an SbCylinderProjector will always return a rotation that is about the axis of the cylinder. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.

METHODS

       
                    
                     ~SbCylinderProjector()
Destructor.

    SbVec3f    
                    
SbVec3f              projectAndGetRotation(const SbVec2f &point, SbRotation &rot)
Apply the projector using the given point, returning the point in three dimensions that it projects to. This also returns in rot a rotation about the axis of the cylinder from the last projected point to this one. The passed point should be normalized (i.e. lie in the range [0.0,1.0]), with (0,0) at the lower-left.

    virtual SbRotation    
                    
virtual SbRotation   getRotation(const SbVec3f &point1, const SbVec3f &point2)
Get a rotation given two points on this cylinder projector. The rotation will be about the axis of the cylinder.

    void    
                    
void                 setCylinder(const SbCylinder &cyl)    
const SbCylinder &    
                    
const SbCylinder &   getCylinder() const
Set and get the cylinder on which to project points. The default cylinder is aligned with the Y axis and has radius 1.0.

    void    
                    
void                 setOrientToEye(SbBool orientToEye)    
SbBool    
                    
SbBool               isOrientToEye() const
Set and get whether the projector should always be oriented towards the eye. Set to FALSE if the tolerance should be evaluated in working space.

    void    
                    
void                 setFront(SbBool isFront)    
SbBool    
                    
SbBool               isFront() const    
SbBool    
                    
SbBool               isPointInFront(const SbVec3f &point) const
Set and get whether the projector should intersect the half of the cylinder that faces the eye. Set to FALSE if the projector should intersect with the rear half.

FILE FORMAT/DEFAULTS

SEE ALSO

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

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


SBCYLINDERPROJECTOR(3IV) (-->)

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