| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008929 | VTK | (No Category) | public | 2009-04-24 14:01 | 2016-08-12 09:55 |
|
| Reporter | Beck Olson | |
| Assigned To | Kitware Robot | |
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | moved | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0008929: vtkOpenGL/MesaImageActor classes are difficult to extend due to non-virtual methods. |
| Description | Methods in vtkOpenGL/MesaImageActor are not declared as virtual, and as such are very inefficient to subclass. It would be easy to solve this problem if the methods shared by these two classes (Load, InternalRender, MakeDataSuitable) were declared as pure virtual methods in their base class, vtkImageActor. |
| Additional Information | I am currently working on the development of an application using vtk to visualize medical images and data. To correctly visualize our data it is necessary to override the MakeDataSuitable method in vtkOpenGLImageActor. Unfortunately MakeDataSuitable is not virtual so I have to override (copy but not modify) all the non-virtual methods that call it (Load, InternalRender) until I reach the virtual Render method. |
| Tags | No tags attached. |
|
| Project | |
| Type | |
|
| Attached Files | |
|