VTK
Public Types | Public Member Functions | Protected Attributes | List of all members
vtkQtPointMarker Class Reference

The vtkQtPointMarker class is used to draw a shape at a point. More...

#include <vtkQtPointMarker.h>

Public Types

enum  MarkerStyle {
  NoMarker = 0, Cross, Plus, Square,
  Circle, Diamond, UserStyle = 32
}

Public Member Functions

 vtkQtPointMarker (const QSizeF &size, MarkerStyle style=Circle)
virtual ~vtkQtPointMarker ()
virtual void paint (QPainter *painter)
QSizeF getSize () const
void setSize (const QSizeF &size)
MarkerStyle getStyle () const
void setStyle (MarkerStyle style)

Protected Attributes

QRectF Rect

Detailed Description

The vtkQtPointMarker class is used to draw a shape at a point.

Definition at line 38 of file vtkQtPointMarker.h.

Member Enumeration Documentation

Enumerator:
NoMarker 

Nothing is drawn.

Cross 

Draws a cross.

Plus 

Draws a plus.

Square 

Draws a square.

Circle 

Draws a circle.

Diamond 

Draws a diamond.

UserStyle 

The next available style for extension classes.

Definition at line 41 of file vtkQtPointMarker.h.

Constructor & Destructor Documentation

vtkQtPointMarker::vtkQtPointMarker ( const QSizeF &  size,
MarkerStyle  style = Circle 
)
virtual vtkQtPointMarker::~vtkQtPointMarker ( )
virtual

Member Function Documentation

virtual void vtkQtPointMarker::paint ( QPainter *  painter)
virtual
QSizeF vtkQtPointMarker::getSize ( ) const
void vtkQtPointMarker::setSize ( const QSizeF &  size)
MarkerStyle vtkQtPointMarker::getStyle ( ) const
inline

Definition at line 63 of file vtkQtPointMarker.h.

void vtkQtPointMarker::setStyle ( MarkerStyle  style)

Member Data Documentation

QRectF vtkQtPointMarker::Rect
protected

Definition at line 67 of file vtkQtPointMarker.h.


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