#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.
cx::MetricNamesRep::~MetricNamesRep |
( |
| ) |
|
|
virtual |
cx::MetricNamesRep::MetricNamesRep |
( |
| ) |
|
|
protected |
void cx::MetricNamesRep::addRepActorsToViewRenderer |
( |
ViewPtr |
view | ) |
|
|
protectedvirtual |
DoubleBoundingBox3D cx::MetricNamesRep::findNormalizedBoundingBoxAroundText |
( |
std::vector< std::pair< QColor, QString > > |
text, |
|
|
Eigen::Array2d |
pos, |
|
|
vtkViewport * |
vp |
|
) |
| |
|
protected |
std::vector< std::pair< QColor, QString > > cx::MetricNamesRep::getAllMetricTexts |
( |
| ) |
const |
|
protected |
QString cx::MetricNamesRep::getText |
( |
DataMetricPtr |
metric, |
|
|
bool |
showLabel |
|
) |
| const |
|
protected |
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.
void cx::MetricNamesRep::onModifiedStartRender |
( |
| ) |
|
|
protectedvirtual |
void cx::MetricNamesRep::removeRepActorsFromViewRenderer |
( |
ViewPtr |
view | ) |
|
|
protectedvirtual |
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.
void cx::MetricNamesRep::setData |
( |
std::vector< DataPtr > |
data | ) |
|
void cx::MetricNamesRep::setFontSize |
( |
int |
size | ) |
|
int cx::MetricNamesRep::mFontSize |
|
protected |
The documentation for this class was generated from the following files:
- /media/jenkins/bamboo/buildagent/xml-data/build-dir/CX-NI-JOB1/CX/CX/source/resource/view/Rep3D/cxMetricNamesRep.h
- /media/jenkins/bamboo/buildagent/xml-data/build-dir/CX-NI-JOB1/CX/CX/source/resource/view/Rep3D/cxMetricNamesRep.cpp