Page MenuHomePhabricator

Bug1692.txt

Authored By
mersmann
Aug 12 2009, 4:10 PM
Size
1 KB
Referenced Files
None
Subscribers
None

Bug1692.txt

This document is not UTF8. It was detected as Shift JIS and converted to UTF8 for display.
Summary of bug description
* actual behaviour
PointSet stores a PointData for each Point. In PointData, different types of points can be specified (and other properties too). The current PointSetVtkMapper2D and PointSetVtkMapper3D allow the setting of different shapes of the points but point specific properties such as color, size, visibility, opacity etc. could not be set. This is considered to be a useful feature.
* expected behavior
The mitk::PointSet class provides a PointDataType struct in which a point specific ID is created and a PointSpecificationType. This PointSpecificationType is currently used to set the points shapes (i.e. sphere, cone, cube, cylinder). In addition to that the mitk::GenericLookupTable class shall be template according to the existing properties and the mapper shall doublecheck if for a point痴 ID a special property is requested and if so map it to the specific LookupTable.
Cause of the bug
Bug is a feature request to enhance point set functionality
Proposed solution
Create different GenericLookupTable types with specific template parameter for the properties. The user if he needs a specific property adds the property in his class. As an alternative the properties could be added in a new method in the mitkEnhancedPointSetVtkMapper3D.
Affected classes
- EnhancedPointSetVtkMapper3D
How will the bugfix get tested?
Not clear yet!

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
153
Default Alt Text
Bug1692.txt (1 KB)