#include <VP12DViewRZFishEyeTransformation.h>
◆ VP12DViewRZFishEyeTransformation()
VP12DViewRZFishEyeTransformation::VP12DViewRZFishEyeTransformation |
( |
| ) |
|
◆ ~VP12DViewRZFishEyeTransformation()
virtual VP12DViewRZFishEyeTransformation::~VP12DViewRZFishEyeTransformation |
( |
| ) |
|
|
inlinevirtual |
◆ inverseTransform() [1/2]
QPointF VP12DViewRZFishEyeTransformation::inverseTransform |
( |
const QPointF & |
source | ) |
const |
|
inlinevirtual |
◆ inverseTransform() [2/2]
virtual QRectF VP12DViewRZFishEyeTransformation::inverseTransform |
( |
const QRectF & |
source | ) |
const |
|
inlinevirtual |
◆ inverseTransformPath()
void IVP12DViewTransformation::inverseTransformPath |
( |
const QPainterPath & |
source, |
|
|
QPainterPath & |
target |
|
) |
| const |
|
virtualinherited |
◆ paintItem()
void IVP12DViewTransformation::paintItem |
( |
QPainter * |
painter, |
|
|
const QGraphicsItem * |
item |
|
) |
| const |
|
inherited |
Definition at line 80 of file IVP12DViewTransformation.cxx.
87 const QAbstractGraphicsShapeItem * shapeitem = qgraphicsitem_cast<const QAbstractGraphicsShapeItem*>(
item);
88 const QGraphicsLineItem * lineitem(0);
90 lineitem = qgraphicsitem_cast<const QGraphicsLineItem*>(
item);
92 if (shapeitem||lineitem) {
93 std::cout<<
"IVP12DViewTransformation::paintItem: INFO: Draws QAbstractGraphicsShapeItem/QGraphicsLineItem"<<std::endl;
95 const QGraphicsSimpleTextItem * simpletextitem = qgraphicsitem_cast<const QGraphicsSimpleTextItem*>(
item);
97 std::cout<<
"IVP12DViewTransformation::paintItem: WARNING - does not presently draw QGraphicsSimpleTextItems"<<std::endl;
103 painter->setPen(shapeitem->pen());
104 painter->setBrush(shapeitem->brush());
108 painter->setPen(lineitem->pen());
111 painter->drawPath(
path);
119 const QGraphicsItemGroup * groupitem = qgraphicsitem_cast<const QGraphicsItemGroup*>(
item);
121 std::cout<<
"IVP12DViewTransformation::paintItem: INFO: drawing QGraphicsGroupItem"<<std::endl;
124 const QGraphicsPixmapItem * pixmapitem = qgraphicsitem_cast<const QGraphicsPixmapItem*>(
item);
126 std::cout<<
"IVP12DViewTransformation::paintItem: WARNING - does not presently draw QGraphicsPixmapItems"<<std::endl;
132 std::cout<<
"IVP12DViewTransformation::paintItem: Can not paint graphics item in transformed view."
133 <<
" Please only use items derived from either QAbstractGraphicsShapeItem, QGraphicsLineItem, QGraphicsGroupItem or QGraphicsPixmapItem."<<std::endl;
◆ transform() [1/2]
QPointF VP12DViewRZFishEyeTransformation::transform |
( |
const QPointF & |
source | ) |
const |
|
inlinevirtual |
◆ transform() [2/2]
virtual QRectF VP12DViewRZFishEyeTransformation::transform |
( |
const QRectF & |
source | ) |
const |
|
inlinevirtual |
◆ transformPath()
void IVP12DViewTransformation::transformPath |
( |
const QPainterPath & |
source, |
|
|
QPainterPath & |
target |
|
) |
| const |
|
virtualinherited |
◆ m_fisheyepar
double VP12DViewRZFishEyeTransformation::m_fisheyepar |
|
private |
The documentation for this class was generated from the following files: