CustusX  2023.01.05-dev+develop.0da12
An IGT application
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 32 of file cxGraphicalDisk.h.

Constructor & Destructor Documentation

cx::GraphicalDisk::GraphicalDisk ( )

Definition at line 28 of file cxGraphicalDisk.cpp.

cx::GraphicalDisk::~GraphicalDisk ( )

Definition at line 42 of file cxGraphicalDisk.cpp.

Member Function Documentation

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

Definition at line 63 of file cxGraphicalDisk.cpp.

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

Definition at line 71 of file cxGraphicalDisk.cpp.

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

Definition at line 55 of file cxGraphicalDisk.cpp.

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

Definition at line 81 of file cxGraphicalDisk.cpp.

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

Definition at line 77 of file cxGraphicalDisk.cpp.

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

Definition at line 59 of file cxGraphicalDisk.cpp.

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

Definition at line 51 of file cxGraphicalDisk.cpp.

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

Definition at line 67 of file cxGraphicalDisk.cpp.

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

Definition at line 47 of file cxGraphicalDisk.cpp.

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

Definition at line 227 of file cxGraphicalDisk.cpp.

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

Definition at line 86 of file cxGraphicalDisk.cpp.

void cx::GraphicalDisk::update ( )

Definition at line 111 of file cxGraphicalDisk.cpp.


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