|
| | mitkClassMacro (SurfaceVtkMapper3D, VtkMapper) |
| |
| Pointer | Clone () const |
| |
| virtual void | SetGenerateNormals (bool _arg) |
| | Enable or disable automatic surface normal generation. More...
|
| |
| virtual bool | GetGenerateNormals () |
| | Get whether automatic surface normal generation is enabled. More...
|
| |
| virtual const mitk::Surface * | GetInput () |
| | Get the input Surface from the associated DataNode. More...
|
| |
| vtkProp * | GetVtkProp (mitk::BaseRenderer *renderer) override |
| | Get the VTK prop (actor) for the given renderer. More...
|
| |
| virtual void | ApplyAllProperties (mitk::BaseRenderer *renderer, vtkActor *actor) |
| | Apply all material, color, opacity, and scalar visibility properties to the given actor. More...
|
| |
| | mitkClassMacro (VtkMapper, Mapper) |
| |
| void | MitkRender (mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override |
| | Determine the render pass type and call the appropriate render method. More...
|
| |
| virtual void | MitkRenderOverlay (BaseRenderer *renderer) |
| | Check visibility and render the overlay pass. More...
|
| |
| virtual void | MitkRenderOpaqueGeometry (BaseRenderer *renderer) |
| | Check visibility and render opaque (untransparent) geometry. More...
|
| |
| virtual void | MitkRenderTranslucentGeometry (BaseRenderer *renderer) |
| | Check visibility and render translucent (transparent) geometry. More...
|
| |
| virtual void | MitkRenderVolumetricGeometry (BaseRenderer *renderer) |
| | Check visibility and render volumetric geometry. More...
|
| |
| virtual bool | HasVtkProp (const vtkProp *prop, BaseRenderer *renderer) |
| | Check whether this mapper owns the specified vtkProp for the given renderer. More...
|
| |
| virtual void | UpdateVtkTransform (mitk::BaseRenderer *renderer) |
| | Set the vtkTransform of the m_Prop3D for the current time step of renderer. More...
|
| |
| void | ApplyColorAndOpacityProperties (mitk::BaseRenderer *renderer, vtkActor *actor) override |
| | Apply color and opacity properties read from the PropertyList to the given vtkActor. More...
|
| |
| virtual void | ReleaseGraphicsResources (mitk::BaseRenderer *) |
| | Release VTK-based graphics resources consumed by this mapper. More...
|
| |
| | mitkClassMacroItkParent (Mapper, itk::Object) |
| |
| virtual void | SetDataNode (DataNode *_arg) |
| | Set the DataNode containing the data to map. More...
|
| |
| virtual DataNode * | GetDataNode () const |
| | Get the DataNode containing the data to map. More...
|
| |
| virtual void | Update (BaseRenderer *renderer) |
| | Calculate the time step for the current renderer and generate rendering data. More...
|
| |
| TimeStepType | GetTimestep () const |
| | Return the current time step as calculated from the renderer. More...
|
| |
| virtual bool | IsLODEnabled (BaseRenderer *) const |
| | Return whether this Mapper currently allows for Level-of-Detail rendering. More...
|
| |
Vtk-based mapper for Surfaces.
The mapper renders a surface in 3D. The actor is adapted according to the geometry in the base class in mitk::VtkMapper::UpdateVtkTransform().
Properties that can be set for surfaces and influence the surfaceVTKMapper3D are:
- "Backface Culling": True enables backface culling, which means only front-facing polygons will be visualized. False/disabled by default.
- "color": (ColorProperty) Diffuse color of the surface object (this property will be read when material.diffuseColor is not defined)
- "Opacity": (FloatProperty) Opacity of the surface object
- "material.ambientColor": (ColorProperty) Ambient color of the surface object
- "material.ambientCoefficient": ( FloatProperty) Ambient coefficient of the surface object
- "material.diffuseColor": ( ColorProperty) Diffuse color of the surface object
- "material.diffuseCoefficient": (FloatProperty) Diffuse coefficient of the surface object
- "material.specularColor": (ColorProperty) Specular Color of the surface object
- "material.specularCoefficient": (FloatProperty) Specular coefficient of the surface object
- "material.specularPower": (FloatProperty) Specular power of the surface object
- "material.interpolation": (VtkInterpolationProperty) Interpolation
- "material.representation": (VtkRepresentationProperty*) Representation
- "material.wireframeLineWidth": (FloatProperty) Width in pixels of the lines drawn.
- "material.pointSize": (FloatProperty) Size in pixels of the points drawn.
- "scalar visibility": (BoolProperty) If the scarlars of the surface are visible
- "Surface.TransferFunction (TransferFunctionProperty) Set a transferfunction for coloring the surface
- \b "LookupTable (LookupTableProperty) LookupTable
Properties to look for are:
- "scalar visibility": if set to on, scalars assigned to the data are shown Turn this on if using a lookup table.
- "ScalarsRangeMinimum": Optional. Can be used to store the scalar min, e.g. for the level window settings.
- "ScalarsRangeMaximum": Optional. See above.
There might be still some other, deprecated properties. These will not be documented anymore. Please check the source if you really need them.
Definition at line 74 of file mitkSurfaceVtkMapper3D.h.
Set default properties for 3D surface rendering on the given DataNode.
Initializes material properties (ambient, diffuse, specular), color, opacity, scalar visibility, and related rendering options.
- Parameters
-
| [in] | node | The DataNode on which to set the properties. |
| [in] | renderer | The renderer context (nullptr for default property list). |
| [in] | overwrite | If true, overwrite existing properties. |