CustusX
22.04-rc5
An IGT application
|
Helper for drawing a rectangle in 3D. More...
#include <cxGraphicalPrimitives.h>
Public Member Functions | |
Rect3D (vtkRendererPtr renderer, QColor color) | |
~Rect3D () | |
void | setColor (QColor color) |
void | updatePosition (const DoubleBoundingBox3D bb, const Transform3D &M) |
void | setLine (bool on, int width) |
void | setSurface (bool on) |
Helper for drawing a rectangle in 3D.
Definition at line 205 of file cxGraphicalPrimitives.h.
cx::Rect3D::Rect3D | ( | vtkRendererPtr | renderer, |
QColor | color | ||
) |
Definition at line 502 of file cxGraphicalPrimitives.cpp.
cx::Rect3D::~Rect3D | ( | ) |
Definition at line 549 of file cxGraphicalPrimitives.cpp.
void cx::Rect3D::setColor | ( | QColor | color | ) |
Definition at line 555 of file cxGraphicalPrimitives.cpp.
void cx::Rect3D::setLine | ( | bool | on, |
int | width | ||
) |
Definition at line 523 of file cxGraphicalPrimitives.cpp.
void cx::Rect3D::setSurface | ( | bool | on | ) |
Definition at line 536 of file cxGraphicalPrimitives.cpp.
void cx::Rect3D::updatePosition | ( | const DoubleBoundingBox3D | bb, |
const Transform3D & | M | ||
) |
Definition at line 560 of file cxGraphicalPrimitives.cpp.