DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
NodeGraphics Class Reference

#include <nodegraphics.h>

Inheritance diagram for NodeGraphics:
NodeWithBathymetryGraphics NodeWithCumCatchesGraphics NodeWithCumCatchesWithThresholdGraphics NodeWithCumDiscardsGraphics NodeWithCumDiscardsRatioGraphics NodeWithCumFTimeGraphics NodeWithCumSubsurfaceSweptAreaGraphics NodeWithCumSweptAreaGraphics NodeWithDissolvedCarbonGraphics NodeWithNbChokedGraphics NodeWithNitrogenGraphics NodeWithOxygenGraphics NodeWithPhosphorusGraphics NodeWithPopStatsGraphics NodeWithSalinityGraphics NodeWithShippingdensityGraphics NodeWithSiltfractionGraphics NodeWithSSTGraphics NodeWithTariffs0Graphics NodeWithTariffs1Graphics NodeWithTariffs2Graphics NodeWithWindGraphics

Public Member Functions

 NodeGraphics (NodeData *node, MapObjectsController *controller, int indx)
 

Static Public Member Functions

static int piew ()
 
static int pieh ()
 
static void setPieSize (int w, int h)
 

Protected Member Functions

std::shared_ptr< types::EnvironmentDatagetEnvtData ()
 
virtual void drawShape (QPainter &painter, const qmapcontrol::RectWorldPx &rect)
 

Protected Attributes

QColor c
 
NodeDatamNode
 
MapObjectsControllermController
 
int mModelIndex
 

Constructor & Destructor Documentation

◆ NodeGraphics()

NodeGraphics::NodeGraphics ( NodeData node,
MapObjectsController controller,
int  indx 
)

Member Function Documentation

◆ drawShape()

◆ getEnvtData()

std::shared_ptr< types::EnvironmentData > NodeGraphics::getEnvtData ( )
protected

◆ pieh()

int NodeGraphics::pieh ( )
static

◆ piew()

int NodeGraphics::piew ( )
static

◆ setPieSize()

void NodeGraphics::setPieSize ( int  w,
int  h 
)
static

Member Data Documentation

◆ c

QColor NodeGraphics::c
protected

◆ mController

MapObjectsController* NodeGraphics::mController
protected

◆ mModelIndex

int NodeGraphics::mModelIndex
protected

◆ mNode

NodeData* NodeGraphics::mNode
protected

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