29 #ifndef vtkCompositeSurfaceLICMapper_h
30 #define vtkCompositeSurfaceLICMapper_h
32 #include "vtkRenderingLICOpenGL2Module.h"
41 class vtkCompositeLICHelper;
87 void SetBlockVisibility(
unsigned int index,
bool visible);
88 bool GetBlockVisibility(
unsigned int index)
const;
89 void RemoveBlockVisibility(
unsigned int index);
90 void RemoveBlockVisibilites();
97 void SetBlockColor(
unsigned int index,
double color[3]);
100 double color[3] = {r, g, b};
101 this->SetBlockColor(index, color);
103 double* GetBlockColor(
unsigned int index);
104 void RemoveBlockColor(
unsigned int index);
105 void RemoveBlockColors();
112 void SetBlockOpacity(
unsigned int index,
double opacity);
113 double GetBlockOpacity(
unsigned int index);
114 void RemoveBlockOpacity(
unsigned int index);
115 void RemoveBlockOpacities();
119 void CopyMapperValuesToHelper(vtkCompositeLICHelper *helper);
169 unsigned int &flat_index);
171 std::map<const vtkDataSet *, vtkCompositeLICHelper *>
Helpers;
173 friend class vtkCompositeLICHelper;
182 bool LastOpaqueCheckValue;
183 double ColorResult[3];
std::map< const vtkDataSet *, vtkCompositeLICHelper * > Helpers
represents an object (geometry & properties) in a rendered scene
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
mapper that performs LIC on the surface of arbitrary geometry.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
std::stack< double > Opacity
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void ReportReferences(vtkGarbageCollector *) override
void SetBlockColor(unsigned int index, double r, double g, double b)
Set/get the color for a block given its flat index.
record modification and/or execution time
rendering attributes for a multi-block dataset.
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
Composite data set attributes.
abstract specification for renderers
Superclass for all pipeline executives in VTK.
virtual void ComputeBounds()
Called in GetBounds().
vtkTypeUInt64 vtkMTimeType
Detect and break reference loops.
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
window superclass for vtkRenderWindow
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *win)
Release any graphics resources that are being consumed by this mapper.
mapper for composite dataset
static vtkSurfaceLICMapper * New()
std::stack< vtkColor3d > DiffuseColor
std::stack< vtkColor3d > AmbientColor
vtkTimeStamp BoundsMTime
Time stamp for computation of bounds.
std::stack< bool > Visibility
std::stack< vtkColor3d > SpecularColor
virtual void Render(vtkRenderer *ren, vtkActor *act)
This calls RenderPiece (in a for loop if streaming is necessary).
general representation of visualization data
RenderBlockState BlockState