22#ifndef _SLICE_SCALE_BAR_H
23#define _SLICE_SCALE_BAR_H
25#include <Inventor/nodes/SoAnnotation.h>
27#include <Inventor/fields/SoSFEnum.h>
28#include <Inventor/fields/SoSFFloat.h>
29#include <Inventor/fields/SoSFInt32.h>
30#include <Inventor/fields/SoSFNode.h>
31#include <Inventor/fields/SoSFString.h>
32#include <Inventor/fields/SoSFVec2f.h>
166 void buildSceneGraph();
183 bool m_fieldsChanged;
194 static void sensorCB(
void* data,
SoSensor* sensor );
196 static void staticCB(
void* data,
SoAction* action );
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
SoSFString label
Label (default is empty string).
SoSFVec2f position
Position in normalized screen coordinates (-1 to 1).
static void initClass()
Initialize the class.
static void exitClass()
Finish using the class.
Alignment
Scale bar alignment.
SoSFEnum alignment
Scale bar alignment (default is CENTER).
SoSFFloat length
Length in normalized screen coordinates (-1 to 1) if not tracking, else length in 3D world coordinate...
SoSFEnum orientation
Scale bar orientation (default is HORIZONTAL).
Orientation
Scale bar orientation.
SliceScaleBar()
Constructor.
SoSFNode trackedCamera
Tracked camera (default is null).
SoSFInt32 numTickIntervals
Number of tick intervals (default is 0).
Abstract base class for all actions.
Node that defines the style to use when rendering.
Node that defines font name, size, and type for text.
Surface material definition node.
Sensor class that can be attached to Open Inventor nodes.
Smart pointer for any class inheriting SoRefCounter.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a int32_t integer.
Field containing a a node.
Field containing a string.
Field containing a two-dimensional vector.
Abstract base class for Open Inventor sensors.
Group node that saves and restores traversal state.
Screen-aligned 2D text shape node.
Node representing a 3D translation.