Go to the documentation of this file.
29 #ifndef vtkCompositeSurfaceLICMapper_h
30 #define vtkCompositeSurfaceLICMapper_h
32 #include "vtkRenderingLICOpenGL2Module.h"
41 class vtkCompositeLICHelper;
100 double color[3] = {r, g, b};
169 unsigned int &flat_index);
171 std::map<const vtkDataSet *, vtkCompositeLICHelper *>
Helpers;
173 friend class vtkCompositeLICHelper;
182 bool LastOpaqueCheckValue;
183 double ColorResult[3];
std::stack< vtkColor3d > SpecularColor
std::stack< bool > Visibility
vtkCompositeDataDisplayAttributes * GetCompositeDataDisplayAttributes()
void RemoveBlockVisibility(unsigned int index)
record modification and/or execution time
void SetBlockColor(unsigned int index, double color[3])
Set/get the color for a block given its flat index.
double * GetBlockColor(unsigned int index)
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
bool GetBlockVisibility(unsigned int index) const
void RemoveBlockColor(unsigned int index)
window superclass for vtkRenderWindow
double GetBlockOpacity(unsigned int index)
rendering attributes for a multi-block dataset.
vtkTypeUInt64 vtkMTimeType
mapper for composite dataset
RenderBlockState BlockState
mapper that performs LIC on the surface of arbitrary geometry.
Superclass for all pipeline executives in VTK.
void SetBlockVisibility(unsigned int index, bool visible)
Set/get the visibility for a block given its flat index.
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
void CopyMapperValuesToHelper(vtkCompositeLICHelper *helper)
virtual void ReleaseGraphicsResources(vtkWindow *win)
Release any graphics resources that are being consumed by this mapper.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Need to define the type of data handled by this mapper.
std::map< const vtkDataSet *, vtkCompositeLICHelper * > Helpers
void RemoveBlockVisibilites()
virtual void ComputeBounds()
Need to loop over the hierarchy to compute bounds.
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
void RenderBlock(vtkRenderer *renderer, vtkActor *actor, vtkDataObject *dobj, unsigned int &flat_index)
void SetBlockColor(unsigned int index, double r, double g, double b)
Detect and break reference loops.
std::stack< vtkColor3d > AmbientColor
std::stack< double > Opacity
void RemoveBlockOpacity(unsigned int index)
vtkExecutive * CreateDefaultExecutive()
We need to override this method because the standard streaming demand driven pipeline is not what we ...
~vtkCompositeSurfaceLICMapper()
void RemoveBlockOpacities()
virtual void Render(vtkRenderer *ren, vtkActor *act)
This calls RenderPiece (in a for loop if streaming is necessary).
std::stack< vtkColor3d > DiffuseColor
abstract specification for renderers
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkCompositeSurfaceLICMapper()
void SetCompositeDataDisplayAttributes(vtkCompositeDataDisplayAttributes *attributes)
Set/get the composite data set attributes.
static vtkCompositeSurfaceLICMapper * New()
general representation of visualization data
void SetBlockOpacity(unsigned int index, double opacity)
Set/get the opacity for a block given its flat index.