SoVRMLDragSensor - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin

NAMESoVRMLDragSensor − The SoVRMLDragSensor class is a superclass for VRML drag sensors​.

SYNOPSIS
#include <Inventor/VRMLnodes/SoVRMLDragSensor​.h> Inherits SoVRMLSensor​. Inherited by SoVRMLCylinderSensor, SoVRMLPlaneSensor, and SoVRMLSphereSensor​.

Public Member Functionsvirtual SoType getTypeId (void) const
virtual void handleEvent (SoHandleEventAction *action)

Static Public Member Functionsstatic SoType getClassTypeId (void)
static void initClass (void)

Public AttributesSoSFVec3f trackPoint_changed
SoSFBool autoOffset

Protected Member Functionsvirtual const SoFieldData * getFieldData (void) const
virtual SbBool dragStart (void)=0
virtual void drag (void)=0
virtual void dragFinish (void)=0
SoVRMLDragSensor (void)
virtual ~SoVRMLDragSensor ()
const SbVec3f & getLocalStartingPoint (void) const
const SbMatrix & getLocalToWorldMatrix (void) const
const SbMatrix & getWorldToLocalMatrix (void) const
const SbViewVolume & getViewVolume (void) const
const SbVec2f & getNormalizedLocaterPosition (void) const

Static Protected Member Functionsstatic const SoFieldData ** getFieldDataPtr (void)

Additional Inherited Members

Detailed DescriptionThe SoVRMLDragSensor class is a superclass for VRML drag sensors​. This class collects the two fields that are common for some of the sensor nodes, plus some common functions for these​. Since this is an abstract 'helper' class, it does not represent an actual node from the VRML97 specification, so don't use it as such​. For more information, a detailed discussion of drag sensors is available in section 4​.6​.7​.4 of the VRML97 specification: http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-VRML97/part1/concepts.html#4.6.7.4​.

Constructor & Destructor Documentation

SoVRMLDragSensor::SoVRMLDragSensor (void) [protected]Constructor​.

SoVRMLDragSensor::~SoVRMLDragSensor () [protected], [virtual]Destructor​.

Member Function Documentation

SoType SoVRMLDragSensor::getTypeId (void) const [virtual]Returns the type identification of an object derived from a class inheriting SoBase​. This is used for run-time type checking and 'downward' casting​. Usage example: void foo(SoNode * node) { if (node->getTypeId() == SoFile::getClassTypeId()) { SoFile * filenode = (SoFile *)node; // safe downward cast, knows the type } }For application programmers wanting to extend the library with new nodes, engines, nodekits, draggers or others: this method needs to be overridden in all subclasses​. This is typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre-defined macros available through for instance Inventor/nodes/SoSubNode​.h (SO_NODE_INIT_CLASS and SO_NODE_CONSTRUCTOR for node classes), Inventor/engines/SoSubEngine​.h (for engine classes) and so on​. For more information on writing Coin extensions, see the class documentation of the toplevel superclasses for the various class groups​. Reimplemented from SoVRMLSensor​. Reimplemented in SoVRMLSphereSensor, SoVRMLPlaneSensor, and SoVRMLCylinderSensor​.

const SoFieldData * SoVRMLDragSensor::getFieldData (void) const [protected], [virtual]Returns a pointer to the class-wide field data storage object for this instance​. If no fields are present, returns NULL​. Reimplemented from SoVRMLSensor​. Reimplemented in SoVRMLSphereSensor, SoVRMLPlaneSensor, and SoVRMLCylinderSensor​.

void SoVRMLDragSensor::handleEvent (SoHandleEventAction * action) [virtual]Action method for SoHandleEventAction​. Inspects the event data from action, and processes it if it is something which this node should react to​. Nodes influencing relevant state variables for how event handling is done also overrides this method​. Reimplemented from SoNode​.

SbBool SoVRMLDragSensor::dragStart (void) [protected], [pure virtual]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer​.


 Called when dragger is selected (picked) by the user​.
Implemented in SoVRMLSphereSensor, SoVRMLPlaneSensor, and SoVRMLCylinderSensor​.

void SoVRMLDragSensor::drag (void) [protected], [pure virtual]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer​.


 Called when user drags the mouse after picking the dragger​.
Implemented in SoVRMLSphereSensor, SoVRMLPlaneSensor, and SoVRMLCylinderSensor​.

void SoVRMLDragSensor::dragFinish (void) [protected], [pure virtual]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer​.


 Called when mouse button is released after picking and interacting with the dragger​.
Implemented in SoVRMLSphereSensor, SoVRMLPlaneSensor, and SoVRMLCylinderSensor​.

const SbVec3f & SoVRMLDragSensor::getLocalStartingPoint (void) const [protected]Returns the interaction starting point​.

const SbMatrix & SoVRMLDragSensor::getLocalToWorldMatrix (void) const [protected]Returns the matrix that transforms to the world coordinate system​.

const SbMatrix & SoVRMLDragSensor::getWorldToLocalMatrix (void) const [protected]Returns the matrix that transforms from the world coordinate system​.

const SbViewVolume & SoVRMLDragSensor::getViewVolume (void) const [protected]Returns the current view volume​.

const SbVec2f & SoVRMLDragSensor::getNormalizedLocaterPosition (void) const [protected]Returns the current normalized pointer position​.

Member Data Documentation

SoSFVec3f SoVRMLDragSensor::trackPoint_changedAn event out that is generated when the trackpoint is changed​.

SoSFBool SoVRMLDragSensor::autoOffsetWhen TRUE, the offset field is updated when a dragging sequence is finished​. Default value is TRUE​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   29,324 byte
man-SoVRMLDragSensor.3coin3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 183,070
Visitor ID   :     :  
Visitor IP   :   18.117.151.198   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
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 - 24.12.05
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 johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.