PeriDyno 1.2.1
Loading...
Searching...
No Matches
WtConnectionGeometry Class Reference

#include <WtConnection.h>

Public Member Functions

 WtConnectionGeometry ()
 
Wt::WPointF const & getEndPoint (PortType portType) const
 
void setEndPoint (PortType portType, Wt::WPointF const &point)
 
void moveEndPoint (PortType portType, Wt::WPointF const &offset)
 
Wt::WRectF boundingRect () const
 
std::pair< Wt::WPointF, Wt::WPointF > pointsC1C2 () const
 
Wt::WPointF source () const
 
Wt::WPointF sink () const
 
double lineWidth () const
 
bool hovered () const
 
void setHovered (bool hovered)
 
Wt::WPointF out ()
 
Wt::WPointF in ()
 

Private Attributes

Wt::WPointF _in
 
Wt::WPointF _out
 
double _lineWidth
 
bool _hovered
 

Detailed Description

Definition at line 20 of file WtConnection.h.

Constructor & Destructor Documentation

◆ WtConnectionGeometry()

WtConnectionGeometry::WtConnectionGeometry ( )

Definition at line 16 of file WtConnection.cpp.

Member Function Documentation

◆ boundingRect()

Wt::WRectF WtConnectionGeometry::boundingRect ( ) const

Definition at line 61 of file WtConnection.cpp.

Here is the call graph for this function:

◆ getEndPoint()

Wt::WPointF const & WtConnectionGeometry::getEndPoint ( PortType portType) const

Definition at line 23 of file WtConnection.cpp.

Here is the call graph for this function:

◆ hovered()

bool WtConnectionGeometry::hovered ( ) const
inline

Definition at line 43 of file WtConnection.h.

Here is the caller graph for this function:

◆ in()

Wt::WPointF WtConnectionGeometry::in ( )
inline

Definition at line 51 of file WtConnection.h.

◆ lineWidth()

double WtConnectionGeometry::lineWidth ( ) const
inline

Definition at line 41 of file WtConnection.h.

Here is the caller graph for this function:

◆ moveEndPoint()

void WtConnectionGeometry::moveEndPoint ( PortType portType,
Wt::WPointF const & offset )

Definition at line 45 of file WtConnection.cpp.

◆ out()

Wt::WPointF WtConnectionGeometry::out ( )
inline

Definition at line 46 of file WtConnection.h.

◆ pointsC1C2()

std::pair< Wt::WPointF, Wt::WPointF > WtConnectionGeometry::pointsC1C2 ( ) const

Definition at line 84 of file WtConnection.cpp.

Here is the caller graph for this function:

◆ setEndPoint()

void WtConnectionGeometry::setEndPoint ( PortType portType,
Wt::WPointF const & point )

Definition at line 29 of file WtConnection.cpp.

◆ setHovered()

void WtConnectionGeometry::setHovered ( bool hovered)
inline

Definition at line 44 of file WtConnection.h.

Here is the call graph for this function:

◆ sink()

Wt::WPointF WtConnectionGeometry::sink ( ) const
inline

Definition at line 39 of file WtConnection.h.

Here is the caller graph for this function:

◆ source()

Wt::WPointF WtConnectionGeometry::source ( ) const
inline

Definition at line 38 of file WtConnection.h.

Here is the caller graph for this function:

Member Data Documentation

◆ _hovered

bool WtConnectionGeometry::_hovered
private

Definition at line 65 of file WtConnection.h.

◆ _in

Wt::WPointF WtConnectionGeometry::_in
private

Definition at line 58 of file WtConnection.h.

◆ _lineWidth

double WtConnectionGeometry::_lineWidth
private

Definition at line 63 of file WtConnection.h.

◆ _out

Wt::WPointF WtConnectionGeometry::_out
private

Definition at line 59 of file WtConnection.h.


The documentation for this class was generated from the following files: