MeVisLab Toolbox Reference
SoCSOLineCreatorEditorExtension.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2012, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
16
17#pragma once
18
20
22
26{
27 SO_NODE_ABSTRACT_HEADER(SoCSOLineCreatorEditorExtension);
28
29public:
30
32 static void initClass();
33
36
37 // Shall new seed points be inserted into path points by clicking? Otherwise, the
42
43
44 bool expectsToCreateCSO() override { return _hasClickedToCreate && !_newCSO; }
45
46protected:
47
50
51 void initMembers() override;
52
56};
57
#define SOCSO_EXPORT
Header file for system independent resolution.
Definition SoCSOSystem.h:21
Base class for extensions that extend the editor with interaction and rendering for specific CSO type...
Base class for extensions that generate line-type CSOs with special interaction on finished CSOs.
SoCSOLineCreatorEditorExtension()
Hidden constructor.
SoSFBool generateSeedPointsWhileDragging
Shall seed points be generated while dragging in non-freehand mode?
bool expectsToCreateCSO() override
Returns whether an editor is awaiting to create a new CSO, depending on the requireMousemovement flag...
SoSFBool insertSeedPointByClickingOnPathPointList
CSO will be grabbed to be moved.
static void initClass()
init class in inventor runtime
Target mlrange_cast(Source arg)
Generic version of checked ML casts.