Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irangeelementinteractive.h
Go to the documentation of this file.
1
#pragma once
7
8
#include "
module/interface/irangeelement.h
"
9
10
namespace
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
std::vector<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
std::vector<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
56
virtual
IRangeElement
*
getIRangeElement
()=0;
57
};
58
}
// namespace itascaxd
59
// EoF
itascaxd::IRangeElement
Interface to a filter element, which is a member of a IRange..
Definition
irangeelement.h:18
itascaxd::IRangeElementPolygonBased
Interface for accessing informations in the three drawable "interactive" filter elements in kernel/sr...
Definition
irangeelementinteractive.h:21
itascaxd::IRangeElementPolygonBased::clearVertices
virtual void clearVertices()=0
clears the list of vertices that delimitate a polygonal shape in 3D "real" coordinates
itascaxd::IRangeElementPolygonBased::getVertices
virtual std::vector< DVect > getVertices() const =0
returns the list of vertices that delimitate a polygonal shape in 3D "real" coordinates
itascaxd::IRangeElementPolygonBased::isPerspective
virtual bool isPerspective() const =0
returns true if the projection mode was in perspective when the filter element was created
itascaxd::IRangeElementPolygonBased::getIRangeElement
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to the IRangeElement object.
itascaxd::IRangeElementPolygonBased::setVertices
virtual bool setVertices(const std::vector< DVect > &list)=0
itascaxd::IRangeElementPolygonBased::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
irangeelementinteractive.h:24
itascaxd::IRangeElementPolygonBased::addVertex
virtual bool addVertex(const DVect &vec)=0
TType
uint32 TType
class type indicator
Definition
basedef.h:47
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
irangeelement.h
Interface to a filter element, which is a member of a IRange.
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
kernel
interface
irangeelementinteractive.h
Generated by
1.18.0