MCPcopy Create free account
hub / github.com/Kitware/VTK / SetInputData

Method SetInputData

Rendering/Volume/vtkVolumeMapper.cxx:95–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void vtkVolumeMapper::SetInputData(vtkDataSet* genericInput)
96{
97 if (vtkImageData* imageData = vtkImageData::SafeDownCast(genericInput))
98 {
99 this->SetInputData(imageData);
100 }
101 else if (vtkRectilinearGrid* rectGrid = vtkRectilinearGrid::SafeDownCast(genericInput))
102 {
103 this->SetInputData(rectGrid);
104 }
105 else
106 {
107 vtkErrorMacro("The SetInput method of this mapper requires either"
108 << " a vtkImageData or a vtkRectilinearGrid as input");
109 }
110}
111
112void vtkVolumeMapper::SetInputData(vtkImageData* input)
113{

Callers 15

ShowPickCellMethod · 0.45
LoadDataSetMethod · 0.45
CreateMappersMethod · 0.45
RenderMethod · 0.45
LoadDataSetMethod · 0.45
CreateMappersMethod · 0.45
RenderVolumeGeometryMethod · 0.45
RenderWithDepthPassMethod · 0.45
InternalUpdateMethod · 0.45

Calls

no outgoing calls