28 #ifndef vtkCompositeSurfaceLICMapper_h
29 #define vtkCompositeSurfaceLICMapper_h
31 #include "vtkRenderingLICOpenGL2Module.h"
40 class vtkCompositeLICHelper;
76 void SetBlockVisibility(
unsigned int index,
bool visible);
77 bool GetBlockVisibility(
unsigned int index)
const;
78 void RemoveBlockVisibility(
unsigned int index);
79 void RemoveBlockVisibilites();
84 void SetBlockColor(
unsigned int index,
double color[3]);
87 double color[3] = {r, g, b};
88 this->SetBlockColor(index, color);
90 double* GetBlockColor(
unsigned int index);
91 void RemoveBlockColor(
unsigned int index);
92 void RemoveBlockColors();
97 void SetBlockOpacity(
unsigned int index,
double opacity);
98 double GetBlockOpacity(
unsigned int index);
99 void RemoveBlockOpacity(
unsigned int index);
100 void RemoveBlockOpacities();
104 void CopyMapperValuesToHelper(vtkCompositeLICHelper *helper);
144 unsigned int &flat_index);
146 std::map<const vtkDataSet *, vtkCompositeLICHelper *>
Helpers;
148 friend class vtkCompositeLICHelper;
154 unsigned long int LastOpaqueCheckTime;
155 bool LastOpaqueCheckValue;
156 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()
Detect and break reference loops.
virtual bool GetIsOpaque()
window superclass for vtkRenderWindow
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *win)
mapper for composite dataset
static vtkSurfaceLICMapper * New()
std::stack< vtkColor3d > DiffuseColor
std::stack< vtkColor3d > AmbientColor
virtual void ReportReferences(vtkGarbageCollector *collector)
std::stack< bool > Visibility
std::stack< vtkColor3d > SpecularColor
virtual void Render(vtkRenderer *ren, vtkActor *act)
general representation of visualization data
RenderBlockState BlockState