17#include <Inventor/nodes/SoSubNode.h> 
   18#include <Inventor/fields/SoSFBool.h> 
   19#include <Inventor/fields/SoSFEnum.h> 
   20#include <Inventor/fields/SoSFFloat.h> 
   21#include <Inventor/sensors/SoNodeSensor.h> 
   39    void renderArrowHead(
const SbVec2f& deviceStart, 
const SbVec2f& deviceEnd, 
bool isEndArrow=
true);
 
 
   89  void renderArrowHead(
const SbVec2f& deviceFrom, 
const SbVec2f& deviceTo, 
bool isEndArrow);
 
   93  void renderAsLines(
const SbVec2f& deviceTo, 
const SbVec2f& arrow1, 
const SbVec2f& arrow2) 
const;
 
   94  void renderAsTriangle(
const SbVec2f& deviceTo, 
const SbVec2f& arrow1, 
const SbVec2f& arrow2) 
const;
 
   95  void renderAsFilledTriangle(
const SbVec2f& deviceTo, 
const SbVec2f& arrow1, 
const SbVec2f& arrow2) 
const;
 
   97  bool useEndSettings(
bool isEndArrow) 
const;
 
   98  float getAngleFactor(
float vectorLengthInPixel, 
bool isEndArrow) 
const;
 
   99  float getAngleFactor(
bool isEndArrow) 
const;
 
  100  float getSize(
bool isEndArrow) 
const;
 
  103  float getDirectionAutomaticLengthThreshold(
bool isEndArrow) 
const;
 
  107  static void fieldChangedCB(
void *data, SoSensor *sensor);
 
  108  SoNodeSensor* _nodeSensor;
 
 
@ DIRECTION_MODE_STANDARD
 
@ DIRECTION_MODE_AUTOMATIC
 
@ RENDERING_STYLE_TRIANGLE
 
@ RENDERING_STYLE_FILLED_TRIANGLE
 
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
 
The SoSFMLBase field is the interface used by Inventor nodes to output ML Base objects to the outside...
 
~SoView2DArrowHeadSettings() override
 
SoSFTypedEnum< ArrowRenderingStyle > endRenderingStyle
 
SoSFFloat startDirectionAutomaticLengthThreshold
 
SoSFFloat startAngleFactor
 
SoView2DArrowHeadSettings()
 
SoSFMLBase outArrowHeadSettings
 
void renderArrowHead(const SbVec2f &deviceFrom, const SbVec2f &deviceTo, bool isEndArrow)
 
SoSFTypedEnum< ArrowRenderingStyle > startRenderingStyle
 
SoSFFloat endDirectionAutomaticLengthThreshold
 
SoSFBool useEndSettingsForStartArrowHead
 
SoSFTypedEnum< ArrowDirectionMode > startDirection
 
SoSFTypedEnum< ArrowDirectionMode > endDirection
 
void renderArrowHead(const SbVec2f &deviceStart, const SbVec2f &deviceEnd, bool isEndArrow=true)
 
void setRenderer(SoView2DArrowHeadSettings *renderer)
 
Class representing general ML objects that support import/export via strings (setPersistentState() an...
 
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
 
Main documentation file for ML users and developers.