 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkCompositeDataDisplayAttributesLegacy_h
27 #define vtkCompositeDataDisplayAttributesLegacy_h
31 #include "vtkRenderingCoreModule.h"
191 std::map<unsigned int, bool> BlockVisibilities;
192 std::map<unsigned int, vtkColor3d> BlockColors;
193 std::map<unsigned int, double> BlockOpacities;
194 std::map<unsigned int, bool> BlockPickabilities;
197 #endif // vtkCompositeDataDisplayAttributesLegacy_h
void RemoveBlockVisibility(unsigned int flat_index)
Removes the block visibility flag for the block with flat_index.
bool HasBlockVisibilities() const
Returns true if any block has any block visibility is set.
void SetBlockColor(unsigned int flat_index, const double color[3])
Set/get the color for the block with flat_index.
bool HasBlockOpacity(unsigned int flat_index) const
Returns true if the block with flat_index has an opacity set.
bool HasBlockPickability(unsigned int flat_index) const
Returns true if the block with the given flat_index has a visibility set.
void RemoveBlockVisibilites()
bool HasBlockColor(unsigned int flat_index) const
Returns true if the block with the given flat_index has a color.
void SetBlockVisibility(unsigned int flat_index, bool visible)
Set/get the visibility for the block with flat_index.
~vtkCompositeDataDisplayAttributesLegacy() override
void RemoveBlockColor(unsigned int flat_index)
Removes the block color for the block with flat_index.
bool GetBlockPickability(unsigned int flat_index) const
abstract base class for most VTK objects
vtkCompositeDataDisplayAttributesLegacy()
void RemoveBlockOpacities()
Removes all block opacities.
void GetBlockColor(unsigned int flat_index, double color[3]) const
Fast, simple class for dealing with 3D bounds.
bool GetBlockVisibility(unsigned int flat_index) const
void RemoveBlockVisibilities()
Removes all block visibility flags.
void RemoveBlockColors()
Removes all block colors.
void RemoveBlockPickability(unsigned int flat_index)
Removes the block visibility flag for the block with flat_index.
a simple class to control print indentation
vtkColor3d GetBlockColor(unsigned int flat_index) const
static vtkCompositeDataDisplayAttributesLegacy * New()
bool HasBlockColors() const
Returns true if any block has any block color is set.
bool HasBlockOpacities() const
Returns true if any block has an opacity set.
void RemoveBlockPickabilities()
Removes all block visibility flags.
static void ComputeVisibleBounds(vtkCompositeDataDisplayAttributesLegacy *cda, vtkDataObject *dobj, double bounds[6])
double GetBlockOpacity(unsigned int flat_index) const
bool HasBlockPickabilities() const
Returns true if any block has any block visibility is set.
void SetBlockPickability(unsigned int flat_index, bool visible)
Set/get the visibility for the block with flat_index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveBlockOpacity(unsigned int flat_index)
Removes the set opacity for the block with flat_index.
general representation of visualization data
void SetBlockOpacity(unsigned int flat_index, double opacity)
Set/get the opacity for the block with flat_index.
bool HasBlockVisibility(unsigned int flat_index) const
Returns true if the block with the given flat_index has a visibility set.
rendering attributes for a multi-block dataset.