CustusX  15.4.0-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::GraphicalDisk Class Reference

#include <cxGraphicalDisk.h>

Public Member Functions

 GraphicalDisk ()
 
void setRenderer (vtkRendererPtr renderer=vtkRendererPtr())
 
 ~GraphicalDisk ()
 
void setRadius (double radius)
 
void setOutlineColor (QColor color)
 
void setOutlineWidth (double width)
 
void setColor (QColor color)
 
void setFillVisible (bool val)
 
void setLighting (bool on)
 
void setHeight (double height)
 
void setPosition (Vector3D pos)
 
void setDirection (Vector3D direction)
 
void update ()
 
void setRadiusBySlicingSphere (double sphereRadius, double sliceHeight)
 

Detailed Description

Render a flat disk in 2D/3D

Date
2014-02-25
Author
christiana

Definition at line 53 of file cxGraphicalDisk.h.

Constructor & Destructor Documentation

cx::GraphicalDisk::GraphicalDisk ( )

Definition at line 49 of file cxGraphicalDisk.cpp.

cx::GraphicalDisk::~GraphicalDisk ( )

Definition at line 63 of file cxGraphicalDisk.cpp.

Member Function Documentation

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

Definition at line 84 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setDirection ( Vector3D  direction)

Definition at line 92 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setFillVisible ( bool  val)

Definition at line 76 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setHeight ( double  height)

Definition at line 102 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setLighting ( bool  on)

Definition at line 98 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setOutlineColor ( QColor  color)

Definition at line 80 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setOutlineWidth ( double  width)

Definition at line 72 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setPosition ( Vector3D  pos)

Definition at line 88 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setRadius ( double  radius)

Definition at line 68 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setRadiusBySlicingSphere ( double  sphereRadius,
double  sliceHeight 
)

Definition at line 248 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::setRenderer ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 107 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::update ( )

Definition at line 132 of file cxGraphicalDisk.cpp.


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