Two Ways To Add Data Object For vtkView

Two ways to add data object for a vtkView. 1) Create a representation object, set the inputs for it by calling SetInputConnection() or SetInput(), then add representation for the view. 2) Use AddRepresentationFromInputConnection or AddRepresentationFromInput to create representation automatically. 1) Python from vtk import * surfaceRepresentation = vtkRenderedSurfaceRepresentation() sphere = Read more…

Image Processing: support to flip your image.

A prohibited operation