Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sbsphereplaneprojector(3) [debian man page]

SbSpherePlaneProjector(3)					       Coin						 SbSpherePlaneProjector(3)

NAME
SbSpherePlaneProjector - The SbSpherePlaneProjector class 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. SYNOPSIS
#include <Inventor/projectors/SbSpherePlaneProjector.h> Inherits SbSphereSectionProjector. Public Member Functions SbSpherePlaneProjector (const float edgetol=0.9f, const SbBool orienttoeye=TRUE) SbSpherePlaneProjector (const SbSphere &sph, const float edgetol=0.9f, const SbBool orienttoeye=TRUE) virtual SbProjector * copy (void) const virtual SbVec3f project (const SbVec2f &point) virtual SbRotation getRotation (const SbVec3f &point1, const SbVec3f &point2) Protected Member Functions SbRotation getRotation (const SbVec3f &point1, const SbBool tol1, const SbVec3f &point2, const SbBool tol2) Additional Inherited Members Detailed Description The SbSpherePlaneProjector class 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. See also: SbCylinderPlaneProjector Constructor &; Destructor Documentation SbSpherePlaneProjector::SbSpherePlaneProjector (const floatedgetol = 0.9f, const SbBoolorienttoeye = TRUE) Default constructor. See SbSphereSectionProjector::SbSphereSectionProjector(). SbSpherePlaneProjector::SbSpherePlaneProjector (const SbSphere &sph, const floatedgetol = 0.9f, const SbBoolorienttoeye = TRUE) Constructor with explicit specification of projection sphere. Member Function Documentation SbProjector * SbSpherePlaneProjector::copy (void) const [virtual] Construct and return a copy of this projector. The caller is responsible for destructing the new instance. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. Reimplemented from SbSphereSectionProjector. SbVec3f SbSpherePlaneProjector::project (const SbVec2f &point) [virtual] Project the 2D point from normalized viewport coordinates to a 3D point. The mapping will be done in accordance with the type of the projector. Reimplemented from SbSphereSectionProjector. SbRotation SbSpherePlaneProjector::getRotation (const SbVec3f &point1, const SbVec3f &point2) [virtual] Returns rotation on the projection surface which re-orients point1 to point2. Reimplemented from SbSphereSectionProjector. SbRotation SbSpherePlaneProjector::getRotation (const SbVec3f &point1, const SbBooltol1, const SbVec3f &point2, const SbBooltol2) [protected] Calculates rotation from point1 to point2, with tol1 and tol2 deciding whether or not to use the tolerance setting. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SbSpherePlaneProjector(3)

Check Out this Related Man Page

Projector Classes(3)						       Coin						      Projector Classes(3)

NAME
Projector Classes - Classes class SbCylinderPlaneProjector The SbCylinderPlaneProjector class 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. " class SbCylinderProjector The SbCylinderProjector class is the abstract base class for mapping to cylindrical surfaces. The cylinder projectors map 2D points to various surface types based on cylindrical shapes. " class SbCylinderSectionProjector The SbCylinderSectionProjector projects 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. " class SbCylinderSheetProjector The SbCylinderSheetProjector class projects 2D points to 3D points on a sheet covering a cylindrical shape. class SbLineProjector The SbLineProjector class 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. " class SbPlaneProjector The SbPlaneProjector class 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. " class SbProjector The SbProjector class 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. " class SbSpherePlaneProjector The SbSpherePlaneProjector class 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. " class SbSphereProjector The SbSphereProjector class is the abstract base class for mapping to spherical surfaces. The sphere projectors map 2D points to various surface types based on spherical shapes. " class SbSphereSectionProjector The SbSphereSectionProjector projects 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. " class SbSphereSheetProjector The SbSphereSheetProjector class 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. Version 3.1.3 Wed May 23 2012 Projector Classes(3)
Man Page