vtkControlLine Class Reference

#include <vtkControlLine.h>

List of all members.


Detailed Description

Control line actor that can be moved and rotated.

vtkControlLine provides a control line that can be moved and rotated using three control points. It can be used for example to define reformatting planes or imaging planes.

Author:
Eigil Samset


Public Member Functions

 vtkTypeRevisionMacro (vtkControlLine, vtkObject)
virtual void PrintSelf (::ostream &os, vtkIndent indent)
vtkActor2D * GetActor ()
 Returns the actor for the control line.
void SetPosition (int x, int y)
 Sets the position of the center control point, the angle is reset to 0.
void SetCenterPosition (int x, int y)
 Sets the position of the center control point.
void SetLeftPosition (int x, int y)
 Sets the position of the left control point.
void SetRightPosition (int x, int y)
 Sets the position of the right control point.
void SetAngle (float a)
 Sets the angle of the control line.
void GetCenterPosition (int *pos)
 Returns the position of the center control point in an int[2] array.
void GetLeftPosition (int *pos)
 Returns the position of the left control point in an int[2] array.
void GetRightPosition (int *pos)
 Returns the position of the right control point in an int[2] array.
float GetAngle ()
 Returns the angle of the control line.
std::string GetName ()
 Returns the name of the control line.
void SetName (std::string)
 Sets the name of the control line.
void GetQFromR (const vtkMatrix4x4 *matrix, float quat[4])
 Computes a quaternion from a rotation matrix.

Static Public Member Functions

static vtkControlLineNew ()
 VTK constructor.

Protected Member Functions

 vtkControlLine ()
 ~vtkControlLine ()


Constructor & Destructor Documentation

vtkControlLine::vtkControlLine  )  [protected]
 

vtkControlLine::~vtkControlLine  )  [protected]
 


Member Function Documentation

vtkActor2D * vtkControlLine::GetActor  ) 
 

Returns the actor for the control line.

float vtkControlLine::GetAngle  ) 
 

Returns the angle of the control line.

void vtkControlLine::GetCenterPosition int *  pos  ) 
 

Returns the position of the center control point in an int[2] array.

void vtkControlLine::GetLeftPosition int *  pos  ) 
 

Returns the position of the left control point in an int[2] array.

string vtkControlLine::GetName  ) 
 

Returns the name of the control line.

void vtkControlLine::GetQFromR const vtkMatrix4x4 *  matrix,
float  quat[4]
 

Computes a quaternion from a rotation matrix.

Parameters:
matrix input matrix
quat float[4] array where the quaternion will be stored

void vtkControlLine::GetRightPosition int *  pos  ) 
 

Returns the position of the right control point in an int[2] array.

static vtkControlLine* vtkControlLine::New  )  [static]
 

VTK constructor.

void vtkControlLine::PrintSelf ::ostream &  os,
vtkIndent  indent
[virtual]
 

void vtkControlLine::SetAngle float  a  )  [inline]
 

Sets the angle of the control line.

void vtkControlLine::SetCenterPosition int  x,
int  y
 

Sets the position of the center control point.

void vtkControlLine::SetLeftPosition int  x,
int  y
 

Sets the position of the left control point.

void vtkControlLine::SetName std::string   ) 
 

Sets the name of the control line.

void vtkControlLine::SetPosition int  x,
int  y
 

Sets the position of the center control point, the angle is reset to 0.

void vtkControlLine::SetRightPosition int  x,
int  y
 

Sets the position of the right control point.

vtkControlLine::vtkTypeRevisionMacro vtkControlLine  ,
vtkObject 
 


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:26 2007 for TheSIGN by  doxygen 1.4.6