-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* symbol_triangle.cpp * symbol_triangle.h * Update base.h * symbol_base.cpp * Update stylefactory.h * Update stylefactory.cpp * Update CMakeLists.txt * Update mainwindow.ui * Add material storage for symbol entity in base DataEntity. * Always add symbol renderer to Data1DEntity. * Add option to have no symbols (since we always have a renderer). * Remove additional vector argument from SymbolRenderer constructor. * Final fixup, and don't forget to add the material to the symbol renderer! * Update mainwindow_funcs.cpp * Update mainwindow.ui * Update mainwindow.h * Update examples/errors/mainwindow.h Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update examples/errors/mainwindow_funcs.cpp Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update src/renderers/1d/symbol_triangle.cpp Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update examples/errors/mainwindow_funcs.cpp Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update examples/errors/mainwindow_funcs.cpp Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update examples/errors/mainwindow_funcs.cpp Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk> * Update mainwindow.h * Update mainwindow.ui * Update mainwindow_funcs.cpp * Update base.h * Update stylefactory.h * Update symbol_triangle.cpp * Update symbol_triangle.h * Update symbol_triangle.h --------- Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
- Loading branch information
1 parent
ce666a3
commit b2a402a
Showing
16 changed files
with
334 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "base.h" | ||
|
||
using namespace Mildred; | ||
|
||
// Returns the symbol metric. | ||
double SymbolRenderer1D::symbolMetric() const { return symbolMetric_; } | ||
|
||
// Sets the symbol metric. | ||
void SymbolRenderer1D::setSymbolMetric(double symbolMetric) { symbolMetric_ = symbolMetric; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
|
||
#include "renderers/1d/base.h" | ||
|
||
namespace Mildred | ||
{ | ||
//! NoSymbolRenderer1D renders no symbols. | ||
/*! | ||
* NoSymbolRenderer1D is a dummy class to represent valid, but 'None' symbols. | ||
*/ | ||
class NoSymbolRenderer1D : public SymbolRenderer1D | ||
{ | ||
public: | ||
NoSymbolRenderer1D(Qt3DCore::QEntity *rootEntity) : SymbolRenderer1D(rootEntity) {} | ||
~NoSymbolRenderer1D(){}; | ||
|
||
void create(const ColourDefinition &colour, const std::vector<double> &x, const AxisEntity *xAxis, | ||
const std::vector<double> &values, const AxisEntity *valueAxis) override{}; | ||
}; | ||
} // namespace Mildred |
Oops, something went wrong.