# projectors.3coin3 man page

projectors — Projector Classes

### Classes

classSbCylinderPlaneProjectorTheSbCylinderPlaneProjectorclass projects 2D points to a half-cylinder and a plane.

This projector uses a plane along with the half-cylinder of **SbCylinderSectionProjector** for projections. If the 2D point mapping 'misses' the cylinder section, the 3D point will be projected onto the plane. "

classSbCylinderProjectorTheSbCylinderProjectorclass is the abstract base class for mapping to cylindrical surfaces.

The cylinder projectors map 2D points to various surface types based on cylindrical shapes. "

classSbCylinderSectionProjectorTheSbCylinderSectionProjectorprojects 2D points to a sliced cylinder.

The projection cylinder for this class is sliced by a clipping plane parallel to its height axis. Projections will be mapped to the remaining cylinder part. "

classSbCylinderSheetProjectorTheSbCylinderSheetProjectorclass projects 2D points to 3D points on a sheet covering a cylindrical shape.

classSbLineProjectorTheSbLineProjectorclass projects 2D points to 3D points along a line.

The 3D projection of the 2D coordinates is for this projector class constrained to lie along a pre-defined line. "

classSbPlaneProjectorTheSbPlaneProjectorclass projects 2D points to 3D points in a plane.

The 3D projection of the 2D coordinates is for this projector class constrained to lie inside a pre-defined 3D plane. "

classSbProjectorTheSbProjectorclass is the abstract base projector class.

Projectors are used in the Coin library for mapping 2D coordinates (typically from the position of the mouse cursor in the rendering window) to 3D 'world' coordinates. "

classSbSpherePlaneProjectorTheSbSpherePlaneProjectorclass projects 2D points to a half-sphere and a plane.

This projector uses a plane along with the half-sphere of **SbSphereSectionProjector** for projections. If the 2D point mapping 'misses' the sphere section, the 3D point will be projected onto the plane. "

classSbSphereProjectorTheSbSphereProjectorclass is the abstract base class for mapping to spherical surfaces.

The sphere projectors map 2D points to various surface types based on spherical shapes. "

classSbSphereSectionProjectorTheSbSphereSectionProjectorprojects 2D points to a sliced sphere.

The projection sphere for this class is sliced by a clipping plane. Projections will be mapped to the remaining sphere part. "

classSbSphereSheetProjectorTheSbSphereSheetProjectorclass projects 2D points to 3D points on a sheet covering a spherical shape.

The following stand-alone example shows how screen space coordinates projects into 3D when mapped with an **SbSphereSheetProjector**. It outputs the resulting projections as an **SoPointSet** in a Inventor-file on stdout: "

## Detailed Description

The projector classes are used to convert between screenspace (2D) locations and locations in worldspace (3D). They are mostly used in relation to user interaction with the mouse in the viewport.

## Author

Generated automatically by Doxygen for Coin from the source code.

## Referenced By

projectors.3coin2(3) is an alias of projectors.3coin3(3).