#include <CanvasProjection.h>
inet::CanvasProjection::CanvasProjection |
( |
| ) |
|
|
inline |
36 :
scale(cFigure::Point(1, 1)) {}
cFigure::Point scale
Definition: CanvasProjection.h:29
inet::CanvasProjection::CanvasProjection |
( |
Rotation |
rotation, |
|
|
cFigure::Point |
translation |
|
) |
| |
27 scale(cFigure::Point(1, 1)),
Rotation rotation
Definition: CanvasProjection.h:28
cFigure::Point translation
Definition: CanvasProjection.h:30
cFigure::Point scale
Definition: CanvasProjection.h:29
cFigure::Point inet::CanvasProjection::computeCanvasPoint |
( |
const Coord & |
point | ) |
const |
Referenced by inet::visualizer::PhysicalEnvironmentCanvasVisualizer::computeFacePoints(), inet::visualizer::LinkBreakCanvasVisualizer::createLinkBreakVisualization(), inet::visualizer::NetworkConnectionCanvasVisualizer::createNetworkConnectionVisualization(), inet::visualizer::TracingObstacleLossCanvasVisualizer::createObstacleLossVisualization(), inet::visualizer::PacketDropCanvasVisualizer::createPacketDropVisualization(), inet::visualizer::MediumCanvasVisualizer::createSignalFigure(), inet::visualizer::MediumCanvasVisualizer::initialize(), inet::visualizer::SceneCanvasVisualizer::initializeAxis(), inet::visualizer::NetworkNodeCanvasVisualizer::refreshDisplay(), inet::visualizer::LinkBreakCanvasVisualizer::refreshDisplay(), inet::visualizer::RoutingTableCanvasVisualizer::refreshDisplay(), inet::visualizer::PathCanvasVisualizerBase::refreshDisplay(), inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay(), inet::visualizer::MobilityCanvasVisualizer::refreshDisplay(), inet::visualizer::PhysicalEnvironmentCanvasVisualizer::refreshDisplay(), inet::visualizer::MediumCanvasVisualizer::refreshSignalFigure(), inet::visualizer::PacketDropCanvasVisualizer::setAlpha(), and inet::MobilityBase::updateVisualRepresentation().
Rotation rotation
Definition: CanvasProjection.h:28
Coord rotateVectorClockwise(const Coord &vector) const
Definition: Rotation.cc:50
cFigure::Point translation
Definition: CanvasProjection.h:30
cFigure::Point scale
Definition: CanvasProjection.h:29
const CanvasProjection * inet::CanvasProjection::getCanvasProjection |
( |
const cCanvas * |
canvas | ) |
|
|
static |
Referenced by inet::visualizer::NetworkConnectionCanvasVisualizer::initialize(), inet::visualizer::NetworkNodeCanvasVisualizer::initialize(), inet::visualizer::LinkBreakCanvasVisualizer::initialize(), inet::visualizer::LinkCanvasVisualizerBase::initialize(), inet::visualizer::PacketDropCanvasVisualizer::initialize(), inet::visualizer::PathCanvasVisualizerBase::initialize(), inet::visualizer::RoutingTableCanvasVisualizer::initialize(), inet::visualizer::TransportConnectionCanvasVisualizer::initialize(), inet::visualizer::MobilityCanvasVisualizer::initialize(), inet::visualizer::PhysicalEnvironmentCanvasVisualizer::initialize(), inet::visualizer::TracingObstacleLossCanvasVisualizer::initialize(), inet::MobilityBase::initialize(), and inet::visualizer::MediumCanvasVisualizer::initialize().
static std::map< const cCanvas *, const CanvasProjection * > canvasProjections
Definition: CanvasProjection.h:33
static CanvasProjection defaultCanvasProjection
Definition: CanvasProjection.h:32
const Rotation& inet::CanvasProjection::getRotation |
( |
| ) |
const |
|
inline |
const cFigure::Point& inet::CanvasProjection::getScale |
( |
| ) |
const |
|
inline |
cFigure::Point scale
Definition: CanvasProjection.h:29
const cFigure::Point& inet::CanvasProjection::getTranslation |
( |
| ) |
const |
|
inline |
cFigure::Point translation
Definition: CanvasProjection.h:30
void inet::CanvasProjection::setCanvasProjection |
( |
const cCanvas * |
canvas, |
|
|
const CanvasProjection * |
canvasProjection |
|
) |
| |
|
static |
void inet::CanvasProjection::setRotation |
( |
const Rotation & |
rotation | ) |
|
|
inline |
void inet::CanvasProjection::setScale |
( |
const cFigure::Point & |
scale | ) |
|
|
inline |
void inet::CanvasProjection::setTranslation |
( |
const cFigure::Point & |
translation | ) |
|
|
inline |
std::map< const cCanvas *, const CanvasProjection * > inet::CanvasProjection::canvasProjections |
|
staticprotected |
Rotation inet::CanvasProjection::rotation |
|
protected |
cFigure::Point inet::CanvasProjection::scale |
|
protected |
cFigure::Point inet::CanvasProjection::translation |
|
protected |
The documentation for this class was generated from the following files: