SbCylinderProjector - Online Linux Manual Page

Section : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin

NAMESbCylinderProjector − The SbCylinderProjector class is the abstract base class for mapping to cylindrical surfaces​.

SYNOPSIS
#include <Inventor/projectors/SbCylinderProjector​.h> Inherits SbProjector​. Inherited by SbCylinderSectionProjector, and SbCylinderSheetProjector​.

Public Member Functionsvirtual SbVec3f project (const SbVec2f &point)=0
SbVec3f projectAndGetRotation (const SbVec2f &point, SbRotation &rot)
virtual SbRotation getRotation (const SbVec3f &point1, const SbVec3f &point2)=0
void setCylinder (const SbCylinder &cyl)
const SbCylinder & getCylinder (void) const
void setOrientToEye (const SbBool orienttoeye)
SbBool isOrientToEye (void) const
void setFront (const SbBool infront)
SbBool isFront (void) const
SbBool isPointInFront (const SbVec3f &point) const
virtual void setWorkingSpace (const SbMatrix &space)

Protected Member FunctionsSbCylinderProjector (const SbBool orienttoeye)
SbCylinderProjector (const SbCylinder &cylinder, const SbBool orienttoeye)
SbBool intersectCylinderFront (const SbLine &line, SbVec3f &result)

Protected AttributesSbBool intersectFront
SbCylinder cylinder
SbBool orientToEye
SbBool needSetup
SbVec3f lastPoint

Detailed DescriptionThe 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​. See also SbSphereProjector

Constructor & Destructor Documentation

SbCylinderProjector::SbCylinderProjector (const SbBool orienttoeye) [protected]Default constructor sets up a cylinder along the Y axis with height 1​.

SbCylinderProjector::SbCylinderProjector (const SbCylinder & cylinder, const SbBool orienttoeye) [protected]Constructor taking an explicit cylinder projection definition​.

Member Function Documentation

virtual SbVec3f SbCylinderProjector::project (const SbVec2f & point) [pure 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​. Implements SbProjector​. Implemented in SbCylinderSheetProjector, SbCylinderSectionProjector, and SbCylinderPlaneProjector​.

SbVec3f SbCylinderProjector::projectAndGetRotation (const SbVec2f & point, SbRotation & rot)Project the 2D point to a 3D coordinate on the cylindrical surface, and find the rotation from the last projection to this one​. See also project(), getRotation()

SbRotation SbCylinderProjector::getRotation (const SbVec3f & point1, const SbVec3f & point2) [pure virtual]Returns rotation on the projection surface which re-orients point1 to point2​. Implemented in SbCylinderSheetProjector, SbCylinderSectionProjector, and SbCylinderPlaneProjector​.

void SbCylinderProjector::setCylinder (const SbCylinder & cylinderref)Set cylinder to project onto​.

const SbCylinder & SbCylinderProjector::getCylinder (void) constReturns projection cylinder​.

void SbCylinderProjector::setOrientToEye (const SbBool orienttoeye)Sets whether or not the projection surface should be oriented towards the eye of the viewer​.

SbBool SbCylinderProjector::isOrientToEye (void) constReturns the state of the cylinder orientation flag​.

void SbCylinderProjector::setFront (const SbBool infront)Set whether to intersect with the outside of the cylinder (isfront equal to TRUE), or the inside​.

SbBool SbCylinderProjector::isFront (void) constReturns value of the flag which decides whether to intersect with the outside or inside of the cylinder​.

SbBool SbCylinderProjector::isPointInFront (const SbVec3f & point) constCheck if point is on the frontside or the backside of the cylinder​.

void SbCylinderProjector::setWorkingSpace (const SbMatrix & space) [virtual]Sets the matrix used for converting from the projector's coordinate system to the world coordinate system​. Reimplemented from SbProjector​.

SbBool SbCylinderProjector::intersectCylinderFront (const SbLine & line, SbVec3f & result) [protected]Intersect line with the SbCylinderProjector::cylinder and place the intersection point (if any) in result​. Considers setFront() settings​. Returns TRUE if line actually hits the cylinder, FALSE if it doesn't intersect with it​.

Member Data Documentation

SbCylinderProjector::intersectFront [protected]Flag which says whether or not we should map to the outside or inside of the cylinder surface​.

SbCylinderProjector::cylinder [protected]Specification of the projection cylinder​.

SbCylinderProjector::orientToEye [protected]Which direction the cylindrical surface is oriented​.

SbCylinderProjector::needSetup [protected]Set to TRUE whenever the projection surface needs to be recalculated according to the setting of the SbCylinderProjector::orientToEye flag​.

SbCylinderProjector::lastPoint [protected]Stores the previously projected 3D point​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   27,762 byte
man-SbCylinderProjector.3coin3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   24 / 2,084,049
Visitor ID   :     :  
Visitor IP   :   216.73.216.62   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   37.751000 x -97.822000   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :     :  
Provider Province   :   ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.