Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::LineSegment Class Reference

Helper for drawing a line in 2D. More...

#include <cxVtkHelperClasses.h>

Public Member Functions

 LineSegment (vtkRendererPtr renderer)
 
 ~LineSegment ()
 
void setPoints (Vector3D point1, Vector3D point2, RGBColor color, int stipplePattern=0xFFFF)
 
void setResolution (int res)
 
void updatePosition (Vector3D point1, Vector3D point2)
 
vtkActor2DPtr getActor ()
 
void setColor (RGBColor color)
 
void setPattern (int stipplePattern)
 
void setWidth (float width)
 

Detailed Description

Helper for drawing a line in 2D.

Definition at line 101 of file cxVtkHelperClasses.h.

Constructor & Destructor Documentation

cx::LineSegment::LineSegment ( vtkRendererPtr  renderer)

Definition at line 180 of file cxVtkHelperClasses.cpp.

cx::LineSegment::~LineSegment ( )

Definition at line 188 of file cxVtkHelperClasses.cpp.

Member Function Documentation

vtkActor2DPtr cx::LineSegment::getActor ( )

Definition at line 230 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::setColor ( RGBColor  color)

Definition at line 220 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::setPattern ( int  stipplePattern)

Definition at line 225 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::setPoints ( Vector3D  point1,
Vector3D  point2,
RGBColor  color,
int  stipplePattern = 0xFFFF 
)

Definition at line 193 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::setResolution ( int  res)

Definition at line 204 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::setWidth ( float  width)

Definition at line 209 of file cxVtkHelperClasses.cpp.

void cx::LineSegment::updatePosition ( Vector3D  point1,
Vector3D  point2 
)

Definition at line 214 of file cxVtkHelperClasses.cpp.


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