VTK
vtkCompositePolyDataMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositePolyDataMapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkCompositePolyDataMapper_h
32 #define vtkCompositePolyDataMapper_h
33 
34 #include "vtkRenderingCoreModule.h" // For export macro
35 #include "vtkMapper.h"
36 
37 class vtkPolyDataMapper;
38 class vtkInformation;
39 class vtkRenderer;
40 class vtkActor;
41 class vtkCompositePolyDataMapperInternals;
42 
43 class VTKRENDERINGCORE_EXPORT vtkCompositePolyDataMapper : public vtkMapper
44 {
45 
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 
55  void Render(vtkRenderer *ren, vtkActor *a);
56 
58 
61  double *GetBounds();
62  void GetBounds(double bounds[6]) { this->Superclass::GetBounds( bounds ); };
64 
69 
70 protected:
73 
80 
85 
91 
96 
101 
106 
112  vtkCompositePolyDataMapperInternals *Internal;
113 
119 
120 private:
121  vtkCompositePolyDataMapper(const vtkCompositePolyDataMapper&) VTK_DELETE_FUNCTION;
122  void operator=(const vtkCompositePolyDataMapper&) VTK_DELETE_FUNCTION;
123 };
124 
125 #endif
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:43
vtkCompositePolyDataMapper::vtkCompositePolyDataMapper
vtkCompositePolyDataMapper()
vtkAbstractMapper3D::GetBounds
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:36
vtkCompositePolyDataMapper::New
static vtkCompositePolyDataMapper * New()
vtkCompositePolyDataMapper::MakeAMapper
virtual vtkPolyDataMapper * MakeAMapper()
BuildPolyDataMapper uses this for each mapper.
vtkCompositePolyDataMapper::BuildPolyDataMapper
void BuildPolyDataMapper()
This is the build method for creating the internal polydata mapper that do the actual work.
vtkCompositePolyDataMapper
a class that renders hierarchical polygonal data
Definition: vtkCompositePolyDataMapper.h:44
vtkCompositePolyDataMapper::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
Release the underlying resources associated with this mapper.
vtkCompositePolyDataMapper::GetBounds
double * GetBounds()
Standard vtkProp method to get 3D bounds of a 3D prop.
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkCompositePolyDataMapper::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Need to define the type of data handled by this mapper.
vtkMapper.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExecutive
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:50
vtkCompositePolyDataMapper::GetBounds
void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Definition: vtkCompositePolyDataMapper.h:62
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:92
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkCompositePolyDataMapper::Internal
vtkCompositePolyDataMapperInternals * Internal
These are the internal polydata mapper that do the rendering.
Definition: vtkCompositePolyDataMapper.h:112
vtkCompositePolyDataMapper::InternalMappersBuildTime
vtkTimeStamp InternalMappersBuildTime
Time stamp for when we need to update the internal mappers.
Definition: vtkCompositePolyDataMapper.h:118
vtkCompositePolyDataMapper::~vtkCompositePolyDataMapper
~vtkCompositePolyDataMapper()
vtkCompositePolyDataMapper::CreateDefaultExecutive
vtkExecutive * CreateDefaultExecutive()
We need to override this method because the standard streaming demand driven pipeline is not what we ...
vtkCompositePolyDataMapper::Render
void Render(vtkRenderer *ren, vtkActor *a)
Standard method for rendering a mapper.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkCompositePolyDataMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkCompositePolyDataMapper::ComputeBounds
void ComputeBounds()
Need to loop over the hierarchy to compute bounds.
vtkCompositePolyDataMapper::BoundsMTime
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
Definition: vtkCompositePolyDataMapper.h:105