VTK
|
mapper for composite dataset consisting of polygonal data. More...
#include <vtkCompositePolyDataMapper2.h>
mapper for composite dataset consisting of polygonal data.
vtkCompositePolyDataMapper2 is similar to vtkCompositePolyDataMapper except that instead of creating individual mapper for each block in the composite dataset, it iterates over the blocks internally.
Definition at line 36 of file vtkCompositePolyDataMapper2.h.
Reimplemented from vtkPainterPolyDataMapper.
Definition at line 40 of file vtkCompositePolyDataMapper2.h.
vtkCompositePolyDataMapper2::vtkCompositePolyDataMapper2 | ( | ) | [protected] |
vtkCompositePolyDataMapper2::~vtkCompositePolyDataMapper2 | ( | ) | [protected] |
static vtkCompositePolyDataMapper2* vtkCompositePolyDataMapper2::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPainterPolyDataMapper.
static int vtkCompositePolyDataMapper2::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPainterPolyDataMapper.
virtual int vtkCompositePolyDataMapper2::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPainterPolyDataMapper.
static vtkCompositePolyDataMapper2* vtkCompositePolyDataMapper2::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPainterPolyDataMapper.
virtual vtkObjectBase* vtkCompositePolyDataMapper2::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPainterPolyDataMapper.
Reimplemented from vtkPainterPolyDataMapper.
void vtkCompositePolyDataMapper2::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPainterPolyDataMapper.
virtual bool vtkCompositePolyDataMapper2::GetIsOpaque | ( | ) | [virtual] |
Returns if the mapper does not expect to have translucent geometry. This may happen when using ScalarMode is set to not map scalars i.e. render the scalar array directly as colors and the scalar array has opacity i.e. alpha component. Note that even if this method returns true, an actor may treat the geometry as translucent since a constant translucency is set on the property, for example. Overridden to use the actual data and ScalarMode to determine if we have opaque geometry.
Reimplemented from vtkPainterPolyDataMapper.
void vtkCompositePolyDataMapper2::SetCompositeDataDisplayAttributes | ( | vtkCompositeDataDisplayAttributes * | attributes | ) |
Set/get the composite data set attributes.
vtkCompositeDataDisplayAttributes* vtkCompositePolyDataMapper2::GetCompositeDataDisplayAttributes | ( | ) |
Set/get the composite data set attributes.
void vtkCompositePolyDataMapper2::SetBlockVisibility | ( | unsigned int | index, |
bool | visible | ||
) |
Set/get the visibility for a block given its flat index.
bool vtkCompositePolyDataMapper2::GetBlockVisibility | ( | unsigned int | index | ) | const |
Set/get the visibility for a block given its flat index.
void vtkCompositePolyDataMapper2::RemoveBlockVisibility | ( | unsigned int | index | ) |
Set/get the visibility for a block given its flat index.
Set/get the visibility for a block given its flat index.
void vtkCompositePolyDataMapper2::SetBlockColor | ( | unsigned int | index, |
double | color[3] | ||
) |
Set/get the color for a block given its flat index.
void vtkCompositePolyDataMapper2::SetBlockColor | ( | unsigned int | index, |
double | r, | ||
double | g, | ||
double | b | ||
) | [inline] |
Set/get the color for a block given its flat index.
Definition at line 70 of file vtkCompositePolyDataMapper2.h.
double* vtkCompositePolyDataMapper2::GetBlockColor | ( | unsigned int | index | ) |
Set/get the color for a block given its flat index.
void vtkCompositePolyDataMapper2::RemoveBlockColor | ( | unsigned int | index | ) |
Set/get the color for a block given its flat index.
Set/get the color for a block given its flat index.
void vtkCompositePolyDataMapper2::SetBlockOpacity | ( | unsigned int | index, |
double | opacity | ||
) |
Set/get the opacity for a block given its flat index.
double vtkCompositePolyDataMapper2::GetBlockOpacity | ( | unsigned int | index | ) |
Set/get the opacity for a block given its flat index.
void vtkCompositePolyDataMapper2::RemoveBlockOpacity | ( | unsigned int | index | ) |
Set/get the opacity for a block given its flat index.
Set/get the opacity for a block given its flat index.
vtkExecutive* vtkCompositePolyDataMapper2::CreateDefaultExecutive | ( | ) | [protected, virtual] |
We need to override this method because the standard streaming demand driven pipeline is not what we want - we are expecting hierarchical data as input
Reimplemented from vtkAlgorithm.
virtual int vtkCompositePolyDataMapper2::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Need to define the type of data handled by this mapper.
Reimplemented from vtkPolyDataMapper.
virtual void vtkCompositePolyDataMapper2::ComputeBounds | ( | ) | [protected, virtual] |
Need to loop over the hierarchy to compute bounds
Reimplemented from vtkPainterPolyDataMapper.
virtual void vtkCompositePolyDataMapper2::UpdatePainterInformation | ( | ) | [protected, virtual] |
Called when the PainterInformation becomes obsolete. Overridden to pass CompositeDataDisplayAttributes to the painters.
Reimplemented from vtkPainterPolyDataMapper.
vtkTimeStamp vtkCompositePolyDataMapper2::BoundsMTime [protected] |
Time stamp for computation of bounds.
Definition at line 109 of file vtkCompositePolyDataMapper2.h.
vtkSmartPointer<vtkCompositeDataDisplayAttributes> vtkCompositePolyDataMapper2::CompositeAttributes [protected] |
Composite data set attributes.
Definition at line 112 of file vtkCompositePolyDataMapper2.h.
Definition at line 114 of file vtkCompositePolyDataMapper2.h.