Public Types | Public Member Functions | Protected Attributes

vtkQtPointMarker Class Reference

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

#include <vtkQtPointMarker.h>

List of all members.

Public Types

enum  MarkerStyle {
  Cross = 0, 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:
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.

    {
    Cross = 0, 
    Plus,      
    Square,    
    Circle,    
    Diamond,   

    UserStyle = 32
    };

Constructor & Destructor Documentation

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

Member Function Documentation

QSizeF vtkQtPointMarker::getSize (  ) const
MarkerStyle vtkQtPointMarker::getStyle (  ) const [inline]

Definition at line 62 of file vtkQtPointMarker.h.

{return this->Style;}
virtual void vtkQtPointMarker::paint ( QPainter *  painter ) [virtual]
void vtkQtPointMarker::setSize ( const QSizeF &  size )
void vtkQtPointMarker::setStyle ( MarkerStyle  style )

Member Data Documentation

QRectF vtkQtPointMarker::Rect [protected]

Definition at line 66 of file vtkQtPointMarker.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines