28 #ifndef vtkCompositeSurfaceLICMapper_h
29 #define vtkCompositeSurfaceLICMapper_h
31 #include "vtkRenderingLICOpenGL2Module.h"
40 class vtkCompositeLICHelper;
71 void SetBlockVisibility(
unsigned int index,
bool visible);
72 bool GetBlockVisibility(
unsigned int index)
const;
73 void RemoveBlockVisibility(
unsigned int index);
74 void RemoveBlockVisibilites();
79 void SetBlockColor(
unsigned int index,
double color[3]);
82 double color[3] = {r, g, b};
83 this->SetBlockColor(index, color);
85 double* GetBlockColor(
unsigned int index);
86 void RemoveBlockColor(
unsigned int index);
87 void RemoveBlockColors();
92 void SetBlockOpacity(
unsigned int index,
double opacity);
93 double GetBlockOpacity(
unsigned int index);
94 void RemoveBlockOpacity(
unsigned int index);
95 void RemoveBlockOpacities();
99 void CopyMapperValuesToHelper(vtkCompositeLICHelper *helper);
136 unsigned int &flat_index);
138 std::map<const vtkDataSet *, vtkCompositeLICHelper *>
Helpers;
140 friend class vtkCompositeLICHelper;
146 unsigned long int LastOpaqueCheckTime;
147 bool LastOpaqueCheckValue;
148 double ColorResult[3];
std::map< const vtkDataSet *, vtkCompositeLICHelper * > Helpers
represents an object (geometry & properties) in a rendered scene
virtual int FillInputPortInformation(int, vtkInformation *)
mapper that performs LIC on the surface of arbitrary geometry.
virtual vtkExecutive * CreateDefaultExecutive()
std::stack< double > Opacity
void PrintSelf(ostream &os, vtkIndent indent)
void SetBlockColor(unsigned int index, double r, double g, double b)
record modification and/or execution time
rendering attributes for a multi-block dataset.
vtkSmartPointer< vtkCompositeDataDisplayAttributes > CompositeAttributes
abstract specification for renderers
Superclass for all pipeline executives in VTK.
virtual void ComputeBounds()
virtual bool GetIsOpaque()
a simple class to control print indentation
mapper for composite dataset
static vtkSurfaceLICMapper * New()
std::stack< vtkColor3d > DiffuseColor
std::stack< vtkColor3d > AmbientColor
std::stack< bool > Visibility
std::stack< vtkColor3d > SpecularColor
virtual void Render(vtkRenderer *ren, vtkActor *act)
general representation of visualization data
RenderBlockState BlockState