#include <SoView2DRectangle.h>

Public Member Functions | |
| SoView2DRectangle () | |
| Constructor. | |
| void | draw (View2DSliceList *dsl, View2DSlice *dslice, int slice) |
| reimplemented from SoView2DExtension | |
| bool | evalEvent (SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) |
| reimplemented from SoView2DExtension | |
| bool | ignoreEvent (View2DEvent *ec) |
| Overwrite ignoreEvent -> ignore the "ignoreHandledEvents"-Field. | |
Static Public Member Functions | |
| static void | initClass () |
| inventor runtime type system | |
Public Attributes | |
| SoSFVec3f | startWorldPos |
| start world position of rectangle | |
| SoSFVec3f | endWorldPos |
| end world position of rectangle | |
| SoSFFloat | blendInside |
| blend factor inside of rectangle | |
| SoSFFloat | blendOnto |
| blend factor on border of rectangle | |
| SoSFFloat | blendOutside |
| blend factor outside of rectangle | |
| SoSFFloat | lineBlendInside |
| line blend factor when inside of rectangle | |
| SoSFFloat | lineBlendOnto |
| line blend factor when on border of rectangle | |
| SoSFFloat | lineBlendOutside |
| line blend factor when outside of rectangle | |
| SoSFBool | resetToImage |
| reset to 80 percent of the original image | |
| SoSFBool | selectOutside |
| allow selection outside of rectangle | |
| SoSFBool | allowDrag |
| allow dragging of the rectangle | |
| SoSFBool | cooperative |
| enable cooperative mode | |
| SoSFFloat | shadeExterior |
| shade the exterior of the rectangle | |
Protected Attributes | |
| bool | _endPointEditing |
| end point is being edited (after startPoint is set) | |
| bool | _anyPointDrag |
| dragging any point | |
| bool | _xhigher |
| internal flag | |
| bool | _yhigher |
| internal flag | |
| bool | _dragx |
| flag if x is dragged | |
| bool | _dragy |
| flag if y is dragged | |
| bool | _rectDrag |
| dragging the rect | |
| SbVec3f | _lastWorldPos |
| last world position | |
| bool | _draggingInCooperativeMode |
| to remember in cooperative mode, if the rectangle is currently selected and edited | |
Definition at line 24 of file SoView2DRectangle.h.
| SoView2DRectangle::SoView2DRectangle | ( | ) |
Constructor.
| void SoView2DRectangle::draw | ( | View2DSliceList * | dsl, | |
| View2DSlice * | dslice, | |||
| int | slice | |||
| ) | [virtual] |
| bool SoView2DRectangle::evalEvent | ( | SoView2D * | view2d, | |
| View2DSliceList * | slicelist, | |||
| View2DEvent * | ec, | |||
| View2DEventPhase | phase | |||
| ) | [virtual] |
| bool SoView2DRectangle::ignoreEvent | ( | View2DEvent * | ec | ) | [virtual] |
Overwrite ignoreEvent -> ignore the "ignoreHandledEvents"-Field.
Reimplemented from SoView2DExtension.
| static void SoView2DRectangle::initClass | ( | ) | [static] |
bool SoView2DRectangle::_anyPointDrag [protected] |
bool SoView2DRectangle::_draggingInCooperativeMode [protected] |
to remember in cooperative mode, if the rectangle is currently selected and edited
Definition at line 106 of file SoView2DRectangle.h.
bool SoView2DRectangle::_dragx [protected] |
bool SoView2DRectangle::_dragy [protected] |
bool SoView2DRectangle::_endPointEditing [protected] |
end point is being edited (after startPoint is set)
Definition at line 84 of file SoView2DRectangle.h.
SbVec3f SoView2DRectangle::_lastWorldPos [protected] |
bool SoView2DRectangle::_rectDrag [protected] |
bool SoView2DRectangle::_xhigher [protected] |
bool SoView2DRectangle::_yhigher [protected] |
| SoSFBool SoView2DRectangle::allowDrag |
| SoSFFloat SoView2DRectangle::blendInside |
| SoSFFloat SoView2DRectangle::blendOnto |
| SoSFFloat SoView2DRectangle::blendOutside |
| SoSFBool SoView2DRectangle::cooperative |
| SoSFVec3f SoView2DRectangle::endWorldPos |
| SoSFFloat SoView2DRectangle::lineBlendInside |
| SoSFFloat SoView2DRectangle::lineBlendOnto |
| SoSFFloat SoView2DRectangle::lineBlendOutside |
| SoSFBool SoView2DRectangle::resetToImage |
| SoSFBool SoView2DRectangle::selectOutside |
| SoSFFloat SoView2DRectangle::shadeExterior |
| SoSFVec3f SoView2DRectangle::startWorldPos |
1.5.8