26 #ifndef vtkCompositeDataDisplayAttributes_h
27 #define vtkCompositeDataDisplayAttributes_h
43 void PrintSelf(ostream& os,
vtkIndent indent);
46 bool HasBlockVisibilities() const;
50 void SetBlockVisibility(
unsigned int flat_index,
bool visible);
51 bool GetBlockVisibility(
unsigned int flat_index) const;
56 bool HasBlockVisibility(
unsigned int flat_index) const;
59 void RemoveBlockVisibility(
unsigned int flat_index);
63 void RemoveBlockVisibilites();
67 void SetBlockColor(
unsigned int flat_index, const
double color[3]);
68 void GetBlockColor(
unsigned int flat_index,
double color[3]) const;
69 vtkColor3d GetBlockColor(
unsigned int flat_index) const;
73 bool HasBlockColors() const;
76 bool HasBlockColor(
unsigned int flat_index) const;
79 void RemoveBlockColor(
unsigned int flat_index);
82 void RemoveBlockColors();
86 void SetBlockOpacity(
unsigned int flat_index,
double opacity);
87 double GetBlockOpacity(
unsigned int flat_index) const;
91 bool HasBlockOpacities() const;
94 bool HasBlockOpacity(
unsigned int flat_index) const;
97 void RemoveBlockOpacity(
unsigned int flat_index);
100 void RemoveBlockOpacities();
106 static
void ComputeVisibleBounds(
113 ~vtkCompositeDataDisplayAttributes();
116 vtkCompositeDataDisplayAttributes(const vtkCompositeDataDisplayAttributes&);
117 void operator=(const vtkCompositeDataDisplayAttributes&);
126 static
void ComputeVisibleBoundsInternal(
127 vtkCompositeDataDisplayAttributes* cda,
129 unsigned int& flat_index,
131 bool parentVisible = true);
134 std::map<
unsigned int,
bool> BlockVisibilities;
135 std::map<
unsigned int,
vtkColor3d> BlockColors;
136 std::map<
unsigned int,
double> BlockOpacities;
140 #endif // vtkCompositeDataDisplayAttributes_h
abstract base class for most VTK objects
rendering attributes for a multi-block dataset.
a simple class to control print indentation
#define VTKRENDERINGCORE_EXPORT
general representation of visualization data
Fast Simple Class for dealing with 3D bounds.