SoVRMLTouchSensor Class Reference
[VRML97 nodes]

VSG extension Detects when the user has pointed at a specific piece of geometry. More...

#include <Inventor/VRMLnodes/SoVRMLTouchSensor.h>

Inheritance diagram for SoVRMLTouchSensor:
SoVRMLNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject SoVRMLGeoTouchSensor

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVRMLTouchSensor ()
virtual SbBool affectsState () const

Static Public Member Functions

static SoType getClassTypeId ()
static void enableEvents (SbBool OnOffFlag)
static SbBool isEventsEnabled ()

Public Attributes

SoSFBool enabled
SoSFString description
SoSFVec3f hitNormal_changed
SoSFVec3f hitPoint_changed
SoSFVec2f hitTexCoord_changed
SoSFBool isActive
SoSFBool isOver
SoSFTime touchTime

Detailed Description

VSG extension Detects when the user has pointed at a specific piece of geometry.

A SoVRMLTouchSensor tracks the location and state of the pointing device and detects when the user points at geometry contained by the SoVRMLTouchSensor's parent group. This sensor can be enabled or disabled by sending it an enabled event with a value of TRUE or FALSE. If the SoVRMLTouchSensor is disabled, it does not track user input or send output events.

NOTE: This class does not exist in Open Inventor 10.0 and later.

VRML97 SPECIFICATION

FILE FORMAT/DEFAULT

EVENTS


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/