VTK
|
#include <vtkRenderedRepresentation.h>
Public Types | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkRenderedRepresentation * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetLabelRenderMode (int) |
virtual int | GetLabelRenderMode () |
Static Public Member Functions | |
static vtkRenderedRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderedRepresentation * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRenderedRepresentation () | |
~vtkRenderedRepresentation () | |
vtkUnicodeString | GetHoverText (vtkView *view, vtkProp *prop, vtkIdType cell) |
virtual void | PrepareForRendering (vtkRenderView *view) |
void | AddPropOnNextRender (vtkProp *p) |
void | RemovePropOnNextRender (vtkProp *p) |
virtual vtkUnicodeString | GetHoverTextInternal (vtkSelection *) |
Protected Attributes | |
Internals * | Implementation |
int | LabelRenderMode |
Friends | |
class | vtkRenderView |
Definition at line 41 of file vtkRenderedRepresentation.h.
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkParallelCoordinatesRepresentation, vtkRenderedGraphRepresentation, vtkParallelCoordinatesHistogramRepresentation, vtkRenderedTreeAreaRepresentation, vtkRenderedSurfaceRepresentation, and vtkRenderedHierarchyRepresentation.
Definition at line 45 of file vtkRenderedRepresentation.h.
vtkRenderedRepresentation::vtkRenderedRepresentation | ( | ) | [protected] |
vtkRenderedRepresentation::~vtkRenderedRepresentation | ( | ) | [protected] |
static vtkRenderedRepresentation* vtkRenderedRepresentation::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkParallelCoordinatesRepresentation, vtkRenderedGraphRepresentation, vtkParallelCoordinatesHistogramRepresentation, vtkRenderedTreeAreaRepresentation, vtkRenderedSurfaceRepresentation, and vtkRenderedHierarchyRepresentation.
static int vtkRenderedRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkParallelCoordinatesRepresentation, vtkRenderedGraphRepresentation, vtkParallelCoordinatesHistogramRepresentation, vtkRenderedTreeAreaRepresentation, vtkRenderedSurfaceRepresentation, and vtkRenderedHierarchyRepresentation.
virtual int vtkRenderedRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkParallelCoordinatesRepresentation, vtkRenderedGraphRepresentation, vtkParallelCoordinatesHistogramRepresentation, vtkRenderedTreeAreaRepresentation, vtkRenderedSurfaceRepresentation, and vtkRenderedHierarchyRepresentation.
static vtkRenderedRepresentation* vtkRenderedRepresentation::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
virtual vtkObjectBase* vtkRenderedRepresentation::NewInstanceInternal | ( | ) | const [protected, virtual] |
void vtkRenderedRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkParallelCoordinatesRepresentation, vtkRenderedGraphRepresentation, vtkParallelCoordinatesHistogramRepresentation, vtkRenderedTreeAreaRepresentation, vtkRenderedSurfaceRepresentation, and vtkRenderedHierarchyRepresentation.
virtual void vtkRenderedRepresentation::SetLabelRenderMode | ( | int | ) | [virtual] |
Set the label render mode. vtkRenderView::QT - Use Qt-based labeler with fitted labeling and unicode support. Requires VTK_USE_QT to be on. vtkRenderView::FREETYPE - Use standard freetype text rendering.
Reimplemented in vtkRenderedTreeAreaRepresentation.
virtual int vtkRenderedRepresentation::GetLabelRenderMode | ( | ) | [virtual] |
Set the label render mode. vtkRenderView::QT - Use Qt-based labeler with fitted labeling and unicode support. Requires VTK_USE_QT to be on. vtkRenderView::FREETYPE - Use standard freetype text rendering.
void vtkRenderedRepresentation::AddPropOnNextRender | ( | vtkProp * | p | ) | [protected] |
Subclasses may call these methods to add or remove props from the representation. Use these if the number of props/actors changes as the result of input connection changes.
void vtkRenderedRepresentation::RemovePropOnNextRender | ( | vtkProp * | p | ) | [protected] |
Subclasses may call these methods to add or remove props from the representation. Use these if the number of props/actors changes as the result of input connection changes.
vtkUnicodeString vtkRenderedRepresentation::GetHoverText | ( | vtkView * | view, |
vtkProp * | prop, | ||
vtkIdType | cell | ||
) | [protected] |
Obtains the hover text for a particular prop and cell. If the prop is not applicable to the representation, return an empty string. Subclasses should override GetHoverTextInternal, in which the prop and cell are converted to an appropriate selection using ConvertSelection().
virtual vtkUnicodeString vtkRenderedRepresentation::GetHoverTextInternal | ( | vtkSelection * | ) | [inline, protected, virtual] |
Subclasses may override this method to generate the hover text.
Reimplemented in vtkRenderedGraphRepresentation, and vtkRenderedTreeAreaRepresentation.
Definition at line 77 of file vtkRenderedRepresentation.h.
virtual void vtkRenderedRepresentation::PrepareForRendering | ( | vtkRenderView * | view | ) | [protected, virtual] |
The view will call this method before every render. Representations may add their own pre-render logic here.
Reimplemented in vtkRenderedGraphRepresentation, vtkRenderedTreeAreaRepresentation, vtkParallelCoordinatesRepresentation, and vtkRenderedSurfaceRepresentation.
friend class vtkRenderView [friend] |
Reimplemented from vtkDataRepresentation.
Definition at line 86 of file vtkRenderedRepresentation.h.
Internals* vtkRenderedRepresentation::Implementation [protected] |
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkRenderedTreeAreaRepresentation, and vtkRenderedHierarchyRepresentation.
Definition at line 87 of file vtkRenderedRepresentation.h.
int vtkRenderedRepresentation::LabelRenderMode [protected] |
Definition at line 91 of file vtkRenderedRepresentation.h.