VTK
|
Draw labeled isolines. More...
#include <vtkLabeledContourMapper.h>
Draw labeled isolines.
Draw isolines with 3D inline labels.
The lines in the input polydata will be drawn with labels displaying the scalar value.
For this mapper to function properly, stenciling must be enabled in the render window (it is disabled by default). Otherwise the lines will be drawn through the labels.
Definition at line 46 of file vtkLabeledContourMapper.h.
Reimplemented from vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
Definition at line 50 of file vtkLabeledContourMapper.h.
vtkGetNewMacro (PolyDataMapper, vtkPolyDataMapper) protected vtkLabeledContourMapper::~vtkLabeledContourMapper | ( | ) |
The polydata mapper used to render the contours.
static vtkLabeledContourMapper* vtkLabeledContourMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkOpenGLLabeledContourMapper.
static int vtkLabeledContourMapper::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 vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
virtual int vtkLabeledContourMapper::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 vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
static vtkLabeledContourMapper* vtkLabeledContourMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
virtual vtkObjectBase* vtkLabeledContourMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
Reimplemented from vtkMapper.
Reimplemented in vtkOpenGLLabeledContourMapper.
void vtkLabeledContourMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkLabeledContourMapper::Render | ( | vtkRenderer * | ren, |
vtkActor * | a | ||
) | [virtual] |
Method initiates the mapping process. Generally sent by the actor as each frame is rendered.
Implements vtkMapper.
void vtkLabeledContourMapper::SetInputData | ( | vtkPolyData * | in | ) |
Specify the input data to map.
Specify the input data to map.
Reimplemented from vtkMapper.
virtual double* vtkLabeledContourMapper::GetBounds | ( | ) | [virtual] |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Reimplemented from vtkMapper.
virtual void vtkLabeledContourMapper::GetBounds | ( | double | bounds[6] | ) | [virtual] |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Reimplemented from vtkMapper.
virtual void vtkLabeledContourMapper::SetTextProperty | ( | vtkTextProperty * | tprop | ) | [virtual] |
The text property used to label the lines. Note that both vertical and horizontal justifications will be reset to "Centered" prior to rendering.
virtual void vtkLabeledContourMapper::SetTextProperties | ( | vtkTextPropertyCollection * | coll | ) | [virtual] |
The text properties used to label the lines. Note that both vertical and horizontal justifications will be reset to "Centered" prior to rendering. The collection is iterated through as the labels are generated, such that the first line (cell) in the dataset is labeled using the first text property in the collection, the second line is labeled with the second property, and so on. If the number of cells exceeds the number of properties, the property collection is repeated.
virtual vtkTextPropertyCollection* vtkLabeledContourMapper::GetTextProperties | ( | ) | [virtual] |
The text properties used to label the lines. Note that both vertical and horizontal justifications will be reset to "Centered" prior to rendering. The collection is iterated through as the labels are generated, such that the first line (cell) in the dataset is labeled using the first text property in the collection, the second line is labeled with the second property, and so on. If the number of cells exceeds the number of properties, the property collection is repeated.
virtual void vtkLabeledContourMapper::SetLabelVisibility | ( | bool | ) | [virtual] |
If true, labels will be placed and drawn during rendering. Otherwise, only the mapper returned by GetPolyDataMapper() will be rendered. The default is to draw labels.
virtual bool vtkLabeledContourMapper::GetLabelVisibility | ( | ) | [virtual] |
If true, labels will be placed and drawn during rendering. Otherwise, only the mapper returned by GetPolyDataMapper() will be rendered. The default is to draw labels.
virtual void vtkLabeledContourMapper::LabelVisibilityOn | ( | ) | [virtual] |
If true, labels will be placed and drawn during rendering. Otherwise, only the mapper returned by GetPolyDataMapper() will be rendered. The default is to draw labels.
virtual void vtkLabeledContourMapper::LabelVisibilityOff | ( | ) | [virtual] |
If true, labels will be placed and drawn during rendering. Otherwise, only the mapper returned by GetPolyDataMapper() will be rendered. The default is to draw labels.
virtual void vtkLabeledContourMapper::ComputeBounds | ( | ) | [virtual] |
The polydata mapper used to render the contours.
virtual int vtkLabeledContourMapper::FillInputPortInformation | ( | int | , |
vtkInformation * | |||
) | [virtual] |
The polydata mapper used to render the contours.
Reimplemented from vtkAlgorithm.
void vtkLabeledContourMapper::Reset | ( | ) |
The polydata mapper used to render the contours.
bool vtkLabeledContourMapper::CheckInputs | ( | vtkRenderer * | ren | ) |
The polydata mapper used to render the contours.
bool vtkLabeledContourMapper::CheckRebuild | ( | vtkRenderer * | ren, |
vtkActor * | act | ||
) |
The polydata mapper used to render the contours.
bool vtkLabeledContourMapper::PrepareRender | ( | vtkRenderer * | ren, |
vtkActor * | act | ||
) |
The polydata mapper used to render the contours.
bool vtkLabeledContourMapper::PlaceLabels | ( | ) |
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
virtual bool vtkLabeledContourMapper::ApplyStencil | ( | vtkRenderer * | ren, |
vtkActor * | act | ||
) | [virtual] |
The polydata mapper used to render the contours.
Reimplemented in vtkOpenGLLabeledContourMapper.
bool vtkLabeledContourMapper::RenderPolyData | ( | vtkRenderer * | ren, |
vtkActor * | act | ||
) |
The polydata mapper used to render the contours.
virtual bool vtkLabeledContourMapper::RemoveStencil | ( | ) | [virtual] |
The polydata mapper used to render the contours.
Reimplemented in vtkOpenGLLabeledContourMapper.
bool vtkLabeledContourMapper::RenderLabels | ( | vtkRenderer * | ren, |
vtkActor * | act | ||
) |
The polydata mapper used to render the contours.
bool vtkLabeledContourMapper::AllocateTextActors | ( | vtkIdType | num | ) |
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
vtkTextProperty* vtkLabeledContourMapper::GetTextPropertyForCellId | ( | vtkIdType | cellId | ) | const |
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
The polydata mapper used to render the contours.
Definition at line 129 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 130 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 131 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 132 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 134 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 135 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 137 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 138 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 139 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Definition at line 140 of file vtkLabeledContourMapper.h.
The polydata mapper used to render the contours.
Reimplemented from vtkMapper.
Definition at line 143 of file vtkLabeledContourMapper.h.