/usr/include/vtk-5.10/vtkCompositePolyDataMapper2.h is in libvtk5-dev 5.10.1+dfsg-2.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkCompositePolyDataMapper2.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkCompositePolyDataMapper2 - mapper for composite dataset consisting
// of polygonal data.
// .SECTION Description
// vtkCompositePolyDataMapper2 is similar to vtkCompositePolyDataMapper except
// that instead of creating individual mapper for each block in the composite
// dataset, it iterates over the blocks internally.
#ifndef __vtkCompositePolyDataMapper2_h
#define __vtkCompositePolyDataMapper2_h
#include "vtkPainterPolyDataMapper.h"
class VTK_RENDERING_EXPORT vtkCompositePolyDataMapper2 : public vtkPainterPolyDataMapper
{
public:
static vtkCompositePolyDataMapper2* New();
vtkTypeMacro(vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Returns if the mapper does not expect to have translucent geometry. This
// may happen when using ScalarMode is set to not map scalars i.e. render the
// scalar array directly as colors and the scalar array has opacity i.e. alpha
// component. Note that even if this method returns true, an actor may treat
// the geometry as translucent since a constant translucency is set on the
// property, for example.
// Overridden to use the actual data and ScalarMode to determine if we have
// opaque geometry.
virtual bool GetIsOpaque();
//BTX
protected:
vtkCompositePolyDataMapper2();
~vtkCompositePolyDataMapper2();
// Description:
// We need to override this method because the standard streaming
// demand driven pipeline is not what we want - we are expecting
// hierarchical data as input
vtkExecutive* CreateDefaultExecutive();
// Description:
// Need to define the type of data handled by this mapper.
virtual int FillInputPortInformation(int port, vtkInformation* info);
// Description:
// Need to loop over the hierarchy to compute bounds
virtual void ComputeBounds();
// Description:
// Time stamp for computation of bounds.
vtkTimeStamp BoundsMTime;
private:
vtkCompositePolyDataMapper2(const vtkCompositePolyDataMapper2&); // Not implemented.
void operator=(const vtkCompositePolyDataMapper2&); // Not implemented.
//ETX
};
#endif
|