bbtk::manualConnectorContourView Class Reference

#include <manualConnectorContourView.h>

List of all members.

Public Member Functions

 manualConnectorContourView ()
 ~manualConnectorContourView ()
virtual void TransfromCoordViewWorld (double &X, double &Y, double &Z, int type=2)
void updateStartAndEnd (double *start, double *end)
virtual void AddControlPoints ()
virtual void RefreshText ()


Detailed Description

Definition at line 61 of file manualConnectorContourView.h.


Constructor & Destructor Documentation

bbtk::manualConnectorContourView::manualConnectorContourView (  ) 

Definition at line 45 of file manualConnectorContourView.cxx.

00046         {
00047         }

bbtk::manualConnectorContourView::~manualConnectorContourView (  ) 

Definition at line 51 of file manualConnectorContourView.cxx.

00052         {
00053         }


Member Function Documentation

void bbtk::manualConnectorContourView::AddControlPoints (  )  [virtual]

Definition at line 76 of file manualConnectorContourView.cxx.

00077         {
00078                 vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer();
00079                 SetIfViewControlPoints( true );
00080                  if( _viewControlPoints )
00081                  {
00082                         int i,size=_lstViewPoints.size();
00083                         //The first and last points are avoided
00084                         for (i=1;i<size-1; i++)
00085                         {
00086                                 vtkActor * pointActor = _lstViewPoints[i]->GetVtkActor();
00087                                 theRenderer->AddActor( pointActor );
00088                         }
00089                  }
00090         }

void bbtk::manualConnectorContourView::RefreshText (  )  [virtual]

Definition at line 94 of file manualConnectorContourView.cxx.

00095         {
00096                 // The text that goes with the contour is not shown
00097         }

void bbtk::manualConnectorContourView::TransfromCoordViewWorld ( double &  X,
double &  Y,
double &  Z,
int  type = 2 
) [virtual]

Definition at line 57 of file manualConnectorContourView.cxx.

00058         {
00059                 // Make the conversion using the system of creaMaracasVisu
00060                 _wxvtkbaseview->TransCoordScreenToWorld(X,Y,Z,type);
00061         }

void bbtk::manualConnectorContourView::updateStartAndEnd ( double *  start,
double *  end 
)

Definition at line 65 of file manualConnectorContourView.cxx.

00066         {
00067                 // Update contour first and last point
00068                 _manContModel->MovePoint(0,start[0],start[1],start[2]);
00069                 _manContModel->MovePoint(_manContModel->GetSizeLstPoints()-1,end[0],end[1],end[2]);
00070                 
00071                 Refresh();
00072         }


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

Generated on Thu May 31 15:13:41 2012 for bbtkGEditor by  doxygen 1.5.7.1