bpp-phyl3 3.0.0
AbstractDendrogramPlot.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: The Bio++ Development Group
2//
3// SPDX-License-Identifier: CECILL-2.1
4
6
7using namespace bpp;
8using namespace std;
9
10short AbstractDendrogramPlot::ORIENTATION_LEFT_TO_RIGHT = 1;
11short AbstractDendrogramPlot::ORIENTATION_RIGHT_TO_LEFT = 2;
12short AbstractDendrogramPlot::ORIENTATION_TOP_TO_BOTTOM = 3;
13short AbstractDendrogramPlot::ORIENTATION_BOTTOM_TO_TOP = 4;
14
15void AbstractDendrogramPlot::plot(GraphicDevice& gDevice) const
16{
17 gDevice.setCurrentPointSize(displaySettings().pointSize);
18 drawDendrogram_(gDevice);
19}
virtual void drawDendrogram_(GraphicDevice &gDevice) const =0
const TreeDrawingSettings & displaySettings() const override
virtual void setCurrentPointSize(unsigned int size)=0
Defines the basic types of data flow nodes.