- char m_TextBuffer[ 1024 ];
- vtkSmartPointer< vtkTextActor > m_TextActor;
- */
-
-
-
-
-
- /*
- // Reset values
- this->m_VisibleExtent[ 0 ] =
- this->m_VisibleExtent[ 2 ] =
- this->m_VisibleExtent[ 4 ] = -1;
- this->m_VisibleExtent[ 1 ] =
- this->m_VisibleExtent[ 3 ] =
- this->m_VisibleExtent[ 5 ] = 0;
- this->m_VisibleBounds[ 0 ] =
- this->m_VisibleBounds[ 2 ] =
- this->m_VisibleBounds[ 4 ] = double( 0 );
- this->m_VisibleBounds[ 1 ] =
- this->m_VisibleBounds[ 3 ] =
- this->m_VisibleBounds[ 5 ] = double( 0 );
-
- // Delete all images
- this->m_ImageActor = NULL;
- this->m_ImageMapper = NULL;
-
- // Reconfigure unique objects
- this->m_Cursor = vtkSmartPointer< vtkPolyData >::New( );
- this->m_CursorMapper = vtkSmartPointer< vtkPolyDataMapper >::New( );
- this->m_CursorActor = vtkSmartPointer< vtkActor >::New( );
- this->m_HorizontalLine = vtkSmartPointer< vtkPolyData >::New( );
- this->m_HorizontalLineMapper = vtkSmartPointer< vtkPolyDataMapper >::New( );
- this->m_HorizontalLineActor = vtkSmartPointer< vtkActor >::New( );
- this->m_VerticalLine = vtkSmartPointer< vtkPolyData >::New( );
- this->m_VerticalLineMapper = vtkSmartPointer< vtkPolyDataMapper >::New( );
- this->m_VerticalLineActor = vtkSmartPointer< vtkActor >::New( );
- this->m_Plane = vtkSmartPointer< vtkPolyData >::New( );
- this->m_PlaneMapper = vtkSmartPointer< vtkPolyDataMapper >::New( );
- this->m_TextActor = vtkSmartPointer< vtkTextActor >::New( );
- this->m_PlaneActor = vtkSmartPointer< vtkActor >::New( );
- this->m_TextBuffer[ 0 ] = '\0';
-
- // Unique objects configuration
- vtkSmartPointer< vtkPoints > cursor_points =
- vtkSmartPointer< vtkPoints >::New( );
- vtkSmartPointer< vtkCellArray > cursor_lines =
- vtkSmartPointer< vtkCellArray >::New( );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_points->InsertNextPoint( 0, 0, 0 );
- cursor_lines->InsertNextCell( 2 );
- cursor_lines->InsertCellPoint( 0 );
- cursor_lines->InsertCellPoint( 1 );
- cursor_lines->InsertNextCell( 2 );
- cursor_lines->InsertCellPoint( 2 );
- cursor_lines->InsertCellPoint( 3 );
- cursor_lines->InsertNextCell( 2 );
- cursor_lines->InsertCellPoint( 4 );
- cursor_lines->InsertCellPoint( 5 );
- cursor_lines->InsertNextCell( 2 );
- cursor_lines->InsertCellPoint( 6 );
- cursor_lines->InsertCellPoint( 7 );
- this->m_Cursor->SetPoints( cursor_points );
- this->m_Cursor->SetLines( cursor_lines );
- this->m_CursorMapper->SetInputData( this->m_Cursor );
- this->m_CursorActor->SetMapper( this->m_CursorMapper );