sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
DepthSpecsOf< DerivedSpecs > Class Template Reference

The class used to attach depth options to a type. More...

#include <DepthSpecsOf.hpp>

Inheritance diagram for DepthSpecsOf< DerivedSpecs >:
[legend]
Collaboration diagram for DepthSpecsOf< DerivedSpecs >:
[legend]

Public Member Functions

 DepthSpecsOf ()
 Construct a default DepthSpecsOf instance.
 
auto front () -> DerivedSpecs &
 Set the underlying plot element to be displayed on the front of all plot elements.
 
auto back () -> DerivedSpecs &
 Set the underlying plot element to be displayed on the back of all plot elements.
 
auto behind () -> DerivedSpecs &
 Set the underlying plot element to be displayed behind of all plot elements. More...
 
auto repr () const -> std::string
 Convert this DepthSpecsOf object into a gnuplot formatted string.
 
- Public Member Functions inherited from Specs< DerivedSpecs >
virtual ~Specs ()=default
 Pure virtual destructor (this class is an abstract base class).
 
 operator std::string () const
 Return a string representation of this object of some class that derives from specs.
 
auto derived () -> DerivedSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const DerivedSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

template<typename DerivedSpecs>
class sciplot::DepthSpecsOf< DerivedSpecs >

The class used to attach depth options to a type.

Member Function Documentation

◆ behind()

auto behind

Set the underlying plot element to be displayed behind of all plot elements.

In 2D plots, this method is identical to front. In 3D plots, this method is applicable when in hidden mode.


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