NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::Rect3D Class Reference

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)
 

Detailed Description

Helper for drawing a rectangle in 3D.

Definition at line 205 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

◆ Rect3D()

cx::Rect3D::Rect3D ( vtkRendererPtr  renderer,
QColor  color 
)

Definition at line 502 of file cxGraphicalPrimitives.cpp.

◆ ~Rect3D()

cx::Rect3D::~Rect3D ( )

Definition at line 549 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

◆ setColor()

void cx::Rect3D::setColor ( QColor  color)

Definition at line 555 of file cxGraphicalPrimitives.cpp.

◆ setLine()

void cx::Rect3D::setLine ( bool  on,
int  width 
)

Definition at line 523 of file cxGraphicalPrimitives.cpp.

◆ setSurface()

void cx::Rect3D::setSurface ( bool  on)

Definition at line 536 of file cxGraphicalPrimitives.cpp.

◆ updatePosition()

void cx::Rect3D::updatePosition ( const DoubleBoundingBox3D  bb,
const Transform3D M 
)

Definition at line 560 of file cxGraphicalPrimitives.cpp.


The documentation for this class was generated from the following files: