NAME
vtkDataSetMapper - map vtkDataSet and derived classes to graphics primitives
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkDataSetMapper.h"
class VTK_EXPORT vtkDataSetMapper : public vtkMapper
vtkDataSetMapper();
~vtkDataSetMapper();
static vtkDataSetMapper *New() {return new vtkDataSetMapper;};
const char *GetClassName() {return "vtkDataSetMapper";};
void PrintSelf(ostream& os, vtkIndent indent);
void Render(vtkRenderer *ren, vtkActor *act);
float *GetBounds();
void SetInput(vtkDataSet *in);
void SetInput(vtkDataSet& in) {this->SetInput(&in);};
void SetInput(vtkImageCache *cache)
{this->SetInput(cache->GetImageToStructuredPoints()->GetOutput());}
vtkPolyDataMapper *GetPolyDataMapper();
DESCRIPTION
vtkDataSetMapper is a mapper to map data sets (i.e., vtkDataSet and all derived classes) to graphics primitives. The mapping procedure is as follows: all 0D, 1D, and 2D cells are converted into points, lines, and polygons/triangle strips and then mapped to the graphics system. The 2D faces of 3D cells are mapped only if they are used by only one cell, i.e., on the boundary of the data set.
SUMMARY
vtkPolyDataMapper *GetPolyDataMapper()
Specify the input data to map. Get the internal poly data mapper used to map data set to graphics system.