|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
29 #ifndef CDPL_VIS_VIEW2D_HPP
30 #define CDPL_VIS_VIEW2D_HPP
88 #endif // CDPL_VIS_VIEW2D_HPP
An interface that provides methods for low level 2D drawing operations.
Definition: Renderer2D.hpp:86
A class providing methods for the storage and lookup of control-parameter values.
Definition: ControlParameterContainer.hpp:93
The abstract base of classes implementing the 2D visualization of data objects.
Definition: View2D.hpp:59
virtual void setFontMetrics(FontMetrics *font_metrics)=0
Specifies a font metrics object that will be used to measure the dimension of text labels.
virtual void render(Renderer2D &renderer)=0
Renders the visual representation of the model using the specified Vis::Renderer2D instance.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
virtual ~View2D()
Virtual destructor.
Definition: View2D.hpp:65
virtual void getModelBounds(Rectangle2D &bounds)=0
Calculates the bounding rectangle of the visualized model.
The namespace of the Chemical Data Processing Library.
Specifies an axis aligned rectangular area in 2D space.
Definition: Rectangle2D.hpp:51
Definition of the class CDPL::Base::ControlParameterContainer.
An interface class with methods that provide information about the metrics of a font.
Definition: FontMetrics.hpp:71
Definition of the preprocessor macro CDPL_VIS_API.