CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::GraphicalPoint3D Class Reference

Helper for rendering a point in 3D. More...

#include <cxGraphicalPrimitives.h>

Public Member Functions

 GraphicalPoint3D (vtkRendererPtr renderer=vtkRendererPtr())
 
void setRenderer (vtkRendererPtr renderer=vtkRendererPtr())
 
 ~GraphicalPoint3D ()
 
void setRadius (double radius)
 
void setColor (QColor color)
 
void setValue (Vector3D point)
 
Vector3D getValue () const
 
vtkActorPtr getActor ()
 
vtkPolyDataPtr getPolyData ()
 

Detailed Description

Helper for rendering a point in 3D.

Definition at line 122 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

cx::GraphicalPoint3D::GraphicalPoint3D ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 267 of file cxGraphicalPrimitives.cpp.

cx::GraphicalPoint3D::~GraphicalPoint3D ( )

Definition at line 293 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

vtkActorPtr cx::GraphicalPoint3D::getActor ( )

Definition at line 333 of file cxGraphicalPrimitives.cpp.

vtkPolyDataPtr cx::GraphicalPoint3D::getPolyData ( )

Definition at line 338 of file cxGraphicalPrimitives.cpp.

Vector3D cx::GraphicalPoint3D::getValue ( ) const

Definition at line 328 of file cxGraphicalPrimitives.cpp.

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

Definition at line 318 of file cxGraphicalPrimitives.cpp.

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

Definition at line 313 of file cxGraphicalPrimitives.cpp.

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

Definition at line 298 of file cxGraphicalPrimitives.cpp.

void cx::GraphicalPoint3D::setValue ( Vector3D  point)

Definition at line 323 of file cxGraphicalPrimitives.cpp.


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