24#if !defined _SO_RECTANGLE_SCREEN_DRAWER_H_
25#define _SO_RECTANGLE_SCREEN_DRAWER_H_
28#include <Inventor/drawers/SoPolyLineScreenDrawer.h>
29#include <Inventor/fields/SoSFEnum.h>
129 static void initClass();
132 static void exitClass();
134SoEXTENDER_Documented
private:
149 inline bool isCreating()
const {
return m_initPoint[0] != -1 && m_initPoint[1] != -1; }
Allows nodes in a graph to receive input events.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Interactively dr...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Interactively dr...
virtual void reset()
Clears the points in the line and resets internal state to initial values.
SoRectangleScreenDrawer()
Constructor.
CreationMethod
Methods to create rectangle.
@ CORNER_CORNER
Initial point is a corner, current point is a corner.
@ CENTER_CORNER
Initial point is the center, current point is a corner.
SoSFEnum method
Method to create rectangle.
Field containing an enumerated value.