Fraxinus  18.10
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 204 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

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

Definition at line 497 of file cxGraphicalPrimitives.cpp.

cx::Rect3D::~Rect3D ( )

Definition at line 544 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

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

Definition at line 550 of file cxGraphicalPrimitives.cpp.

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

Definition at line 518 of file cxGraphicalPrimitives.cpp.

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

Definition at line 531 of file cxGraphicalPrimitives.cpp.

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

Definition at line 555 of file cxGraphicalPrimitives.cpp.


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