Itasca C++ Interface
Loading...
Searching...
No Matches
irangeelementinteractive.h
Go to the documentation of this file.
1#pragma once
9
10namespace itascaxd {
13
21 class IRangeElementPolygonBased { // name = "interactivepolygon"
22 public:
24 inline static const TType type_ = 0x4c815bbe;
25
26 shared::Signal<> verticesChanged;
27
29 virtual bool isPerspective() const=0;
30
32 virtual QVector<DVect> getVertices()const=0;
33 #ifdef THREED
35 virtual DVect getOrigin() const=0;
36 #endif
37
39 virtual void clearVertices()=0;
43 virtual bool setVertices(const QVector<DVect> &list)=0;
47 virtual bool addVertex(const DVect &vec)=0;
48 #ifdef THREED
50 virtual void setOrigin(const DVect &vec)=0;
52 virtual void setProjectionType(bool b)=0;
53 #endif
54
57 };
58} // namespace itascaxd
59// EoF
Interface to a filter element, which is a member of a IRange..
Definition irangeelement.h:19
Interface for accessing informations in the three drawable "interactive" filter elements in kernel/sr...
Definition irangeelementinteractive.h:21
virtual void clearVertices()=0
clears the list of vertices that delimitate a polygonal shape in 3D "real" coordinates
virtual bool setVertices(const QVector< DVect > &list)=0
virtual bool isPerspective() const =0
returns true if the projection mode was in perspective when the filter element was created
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to the IRangeElement object.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementinteractive.h:24
virtual bool addVertex(const DVect &vec)=0
virtual QVector< DVect > getVertices() const =0
returns the list of vertices that delimitate a polygonal shape in 3D "real" coordinates
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
Interface to a filter element, which is a member of a IRange.
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4