VTK
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkRenderedRepresentation Class Reference

#include <vtkRenderedRepresentation.h>

Inheritance diagram for vtkRenderedRepresentation:
[legend]
Collaboration diagram for vtkRenderedRepresentation:
[legend]

Public Types

typedef vtkDataRepresentation Superclass
 
- Public Types inherited from vtkDataRepresentation
typedef vtkPassInputTypeAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkRenderedRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetLabelRenderMode (int)
 
virtual int GetLabelRenderMode ()
 
- Public Member Functions inherited from vtkDataRepresentation
vtkDataRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme))
 
virtual vtkSelection * ConvertSelection (vtkView *view, vtkSelection *selection)
 
vtkAlgorithmOutput * GetInputConnection (int port=0, int index=0)
 
vtkAnnotationLink * GetAnnotationLink ()
 
void SetAnnotationLink (vtkAnnotationLink *link)
 
void Select (vtkView *view, vtkSelection *selection)
 
void Select (vtkView *view, vtkSelection *selection, bool extend)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend)
 
virtual void SetSelectable (bool)
 
virtual bool GetSelectable ()
 
virtual void SelectableOn ()
 
virtual void SelectableOff ()
 
void UpdateSelection (vtkSelection *selection)
 
void UpdateSelection (vtkSelection *selection, bool extend)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend)
 
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort ()
 
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort (int port)
 
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort ()
 
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort (int port)
 
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutput * GetInternalOutputPort ()
 
virtual vtkAlgorithmOutput * GetInternalOutputPort (int port)
 
virtual vtkAlgorithmOutput * GetInternalOutputPort (int port, int conn)
 
virtual void SetSelectionType (int)
 
virtual int GetSelectionType ()
 
virtual void SetSelectionArrayNames (vtkStringArray *names)
 
virtual vtkStringArray * GetSelectionArrayNames ()
 
virtual void SetSelectionArrayName (const char *name)
 
virtual const char * GetSelectionArrayName ()
 

Static Public Member Functions

static vtkRenderedRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkRenderedRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkDataRepresentation
static vtkDataRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDataRepresentationSafeDownCast (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 Member Functions inherited from vtkDataRepresentation
 vtkDataRepresentation ()
 
 ~vtkDataRepresentation ()
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual bool AddToView (vtkView *vtkNotUsed(view))
 
virtual bool RemoveFromView (vtkView *vtkNotUsed(view))
 
virtual vtkAnnotationLayers * ConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations)
 
vtkTrivialProducer * GetInternalInput (int port, int conn)
 
void SetInternalInput (int port, int conn, vtkTrivialProducer *producer)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void SetAnnotationLinkInternal (vtkAnnotationLink *link)
 

Protected Attributes

Internals * Implementation
 
int LabelRenderMode
 
- Protected Attributes inherited from vtkDataRepresentation
bool Selectable
 
int SelectionType
 
vtkStringArray * SelectionArrayNames
 
CommandObserver
 
vtkAnnotationLink * AnnotationLinkInternal
 

Friends

class vtkRenderView
 

Detailed Description

Definition at line 41 of file vtkRenderedRepresentation.h.

Member Typedef Documentation

Definition at line 45 of file vtkRenderedRepresentation.h.

Constructor & Destructor Documentation

vtkRenderedRepresentation::vtkRenderedRepresentation ( )
protected
vtkRenderedRepresentation::~vtkRenderedRepresentation ( )
protected

Member Function Documentation

static vtkRenderedRepresentation* vtkRenderedRepresentation::New ( )
static
static int vtkRenderedRepresentation::IsTypeOf ( const char *  type)
static
virtual int vtkRenderedRepresentation::IsA ( const char *  type)
virtual
static vtkRenderedRepresentation* vtkRenderedRepresentation::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkRenderedRepresentation::NewInstanceInternal ( ) const
protectedvirtual
vtkRenderedRepresentation* vtkRenderedRepresentation::NewInstance ( ) const
void vtkRenderedRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  )
inlineprotectedvirtual

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)
protectedvirtual

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.

Friends And Related Function Documentation

friend class vtkRenderView
friend

Definition at line 86 of file vtkRenderedRepresentation.h.

Member Data Documentation

Internals* vtkRenderedRepresentation::Implementation
protected

Definition at line 87 of file vtkRenderedRepresentation.h.

int vtkRenderedRepresentation::LabelRenderMode
protected

Definition at line 91 of file vtkRenderedRepresentation.h.


The documentation for this class was generated from the following file: