#include <cxMetricNamesRep.h>
|
static MetricNamesRepPtr | New (const QString &uid="") |
|
template<class REP > |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
|
|
| MetricNamesRep () |
|
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
|
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
|
virtual void | onModifiedStartRender () |
|
void | setColoredTextList (std::vector< std::pair< QColor, QString > > text, Eigen::Array2d pos, vtkViewport *vp=0) |
|
DoubleBoundingBox3D | findNormalizedBoundingBoxAroundText (std::vector< std::pair< QColor, QString > > text, Eigen::Array2d pos, vtkViewport *vp) |
|
DoubleBoundingBox3D | moveBoxIntoAnother (DoubleBoundingBox3D box, DoubleBoundingBox3D another) |
|
bool | equal (std::vector< DataMetricPtr > a, std::vector< DataMetricPtr > b) const |
|
std::vector< DataMetricPtr > | convertToMetrics (std::vector< DataPtr > data) |
|
std::vector< std::pair< QColor, QString > > | getAllMetricTexts () const |
|
QString | getText (DataMetricPtr metric, bool showLabel) const |
|
ViewPtr | getView () const |
|
vtkRendererPtr | getRenderer () |
|
RepPtr | getSelf () |
|
virtual void | onEveryRender () |
|
- Date
- 2014-02-13
- Author
- christiana
Definition at line 43 of file cxMetricNamesRep.h.
◆ ~MetricNamesRep()
cx::MetricNamesRep::~MetricNamesRep |
( |
| ) |
|
|
virtual |
◆ MetricNamesRep()
cx::MetricNamesRep::MetricNamesRep |
( |
| ) |
|
|
protected |
◆ addRepActorsToViewRenderer()
void cx::MetricNamesRep::addRepActorsToViewRenderer |
( |
ViewPtr |
view | ) |
|
|
protectedvirtual |
◆ convertToMetrics()
◆ equal()
◆ findNormalizedBoundingBoxAroundText()
DoubleBoundingBox3D cx::MetricNamesRep::findNormalizedBoundingBoxAroundText |
( |
std::vector< std::pair< QColor, QString > > |
text, |
|
|
Eigen::Array2d |
pos, |
|
|
vtkViewport * |
vp |
|
) |
| |
|
protected |
◆ getAllMetricTexts()
std::vector< std::pair< QColor, QString > > cx::MetricNamesRep::getAllMetricTexts |
( |
| ) |
const |
|
protected |
◆ getText()
QString cx::MetricNamesRep::getText |
( |
DataMetricPtr |
metric, |
|
|
bool |
showLabel |
|
) |
| const |
|
protected |
◆ getType()
virtual QString cx::MetricNamesRep::getType |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- a string identifying the Rep type. Each suclass implement this with its own class name. Subclasses from other namespaces (such as cx and snw) should add that namespace as a prefix.
Implements cx::RepImpl.
Definition at line 50 of file cxMetricNamesRep.h.
◆ moveBoxIntoAnother()
◆ New()
◆ onModifiedStartRender()
void cx::MetricNamesRep::onModifiedStartRender |
( |
| ) |
|
|
protectedvirtual |
◆ removeRepActorsFromViewRenderer()
void cx::MetricNamesRep::removeRepActorsFromViewRenderer |
( |
ViewPtr |
view | ) |
|
|
protectedvirtual |
◆ setColoredTextList()
void cx::MetricNamesRep::setColoredTextList |
( |
std::vector< std::pair< QColor, QString > > |
text, |
|
|
Eigen::Array2d |
pos, |
|
|
vtkViewport * |
vp = 0 |
|
) |
| |
|
protected |
Add a list of colored strings at pos. This is not directly supported by VTK, so the input viewport is required for extra calculations, if renderer is set, this is not required.
Definition at line 128 of file cxMetricNamesRep.cpp.
◆ setData()
void cx::MetricNamesRep::setData |
( |
std::vector< DataPtr > |
data | ) |
|
◆ setFontSize()
void cx::MetricNamesRep::setFontSize |
( |
int |
size | ) |
|
◆ mDisplayText
◆ mFontSize
int cx::MetricNamesRep::mFontSize |
|
protected |
◆ mMetrics
The documentation for this class was generated from the following files:
- /mnt/bamboo/bamboo/buildagent/xml-data/build-dir/NN-RE-BU2/CX/CX/source/resource/view/Rep3D/cxMetricNamesRep.h
- /mnt/bamboo/bamboo/buildagent/xml-data/build-dir/NN-RE-BU2/CX/CX/source/resource/view/Rep3D/cxMetricNamesRep.cpp