ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDataLabelRepresentation Class Reference

representation for showing cell and point labels. More...

#include <vtkDataLabelRepresentation.h>

Inheritance diagram for vtkDataLabelRepresentation:
Inheritance graph
[legend]
Collaboration diagram for vtkDataLabelRepresentation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void MarkModified ()
void SetPointLabelVisibility (int)
void SetPointFieldDataArrayName (const char *)
void SetPointLabelMode (int)
void SetPointLabelColor (double r, double g, double b)
void SetPointLabelOpacity (double)
void SetPointLabelFontFamily (int)
void SetPointLabelBold (int)
void SetPointLabelItalic (int)
void SetPointLabelShadow (int)
void SetPointLabelJustification (int)
void SetPointLabelFontSize (int)
void SetPointLabelFormat (const char *)
void SetCellLabelVisibility (int)
void SetCellFieldDataArrayName (const char *)
void SetCellLabelMode (int)
void SetCellLabelColor (double r, double g, double b)
void SetCellLabelOpacity (double)
void SetCellLabelFontFamily (int)
void SetCellLabelBold (int)
void SetCellLabelItalic (int)
void SetCellLabelShadow (int)
void SetCellLabelJustification (int)
void SetCellLabelFontSize (int)
void SetCellLabelFormat (const char *)
virtual void SetVisibility (bool val)
virtual bool GetVisibility ()
void SetOrientation (double, double, double)
void SetOrigin (double, double, double)
void SetPosition (double, double, double)
void SetScale (double, double, double)

Static Public Member Functions

static vtkDataLabelRepresentationNew ()
static int IsTypeOf (const char *type)
static vtkDataLabelRepresentationSafeDownCast (vtkObject *o)

Protected Member Functions

virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)
void InitializeForCommunication ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual bool IsCached (double cache_key)
void UpdateTransform ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkCompositeDataToUnstructuredGridFilterMergeBlocks
vtkPVCacheKeeperCacheKeeper
vtkUnstructuredDataDeliveryFilterDataCollector
vtkPVUpdateSuppressorDeliverySuppressor
vtkLabeledDataMapperPointLabelMapper
vtkTextPropertyPointLabelProperty
vtkActor2DPointLabelActor
vtkCellCentersCellCenters
vtkLabeledDataMapperCellLabelMapper
vtkTextPropertyCellLabelProperty
vtkActor2DCellLabelActor
vtkProp3DTransformHelperProp
vtkTransformTransform
int PointLabelVisibility
int CellLabelVisibility
int ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
 vtkDataLabelRepresentation ()
 ~vtkDataLabelRepresentation ()

Detailed Description

representation for showing cell and point labels.

vtkDataLabelRepresentation is a representation for showing cell and/or point labels. This representation relies on all the data being cloned on all nodes hence beware of using this representation for large datasets.

Note that vtkDataLabelRepresentation adds the label props to the non-composited renderer.

Definition at line 43 of file vtkDataLabelRepresentation.h.


Constructor & Destructor Documentation

vtkDataLabelRepresentation::vtkDataLabelRepresentation ( ) [protected]

vtkAlgorithm::ProcessRequest() equivalent for rendering passes. This is typically called by the vtkView to request meta-data from the representations or ask them to perform certain tasks e.g. PrepareForRendering.

vtkDataLabelRepresentation::~vtkDataLabelRepresentation ( ) [protected]

vtkAlgorithm::ProcessRequest() equivalent for rendering passes. This is typically called by the vtkView to request meta-data from the representations or ask them to perform certain tasks e.g. PrepareForRendering.


Member Function Documentation

static vtkDataLabelRepresentation* vtkDataLabelRepresentation::New ( ) [static]

Reimplemented from vtkDataRepresentation.

virtual const char* vtkDataLabelRepresentation::GetClassName ( ) [virtual]

Reimplemented from vtkPVDataRepresentation.

static int vtkDataLabelRepresentation::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkPVDataRepresentation.

virtual int vtkDataLabelRepresentation::IsA ( const char *  type) [virtual]

Reimplemented from vtkPVDataRepresentation.

static vtkDataLabelRepresentation* vtkDataLabelRepresentation::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkPVDataRepresentation.

void vtkDataLabelRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkPVDataRepresentation.

virtual void vtkDataLabelRepresentation::MarkModified ( ) [virtual]

This needs to be called on all instances of vtkGeometryRepresentation when the input is modified. This is essential since the geometry filter does not have any real-input on the client side which messes with the Update requests.

Reimplemented from vtkPVDataRepresentation.

virtual void vtkDataLabelRepresentation::SetVisibility ( bool  val) [virtual]

Get/Set the visibility for this representation. When the visibility of representation of false, all view passes are ignored.

Reimplemented from vtkPVDataRepresentation.

virtual bool vtkDataLabelRepresentation::GetVisibility ( ) [virtual]

Get/Set the visibility for this representation. When the visibility of representation of false, all view passes are ignored.

Reimplemented from vtkPVDataRepresentation.

void vtkDataLabelRepresentation::SetPointLabelVisibility ( int  )
void vtkDataLabelRepresentation::SetPointFieldDataArrayName ( const char *  )
void vtkDataLabelRepresentation::SetPointLabelMode ( int  )
void vtkDataLabelRepresentation::SetPointLabelColor ( double  r,
double  g,
double  b 
)
void vtkDataLabelRepresentation::SetPointLabelOpacity ( double  )
void vtkDataLabelRepresentation::SetPointLabelFontFamily ( int  )
void vtkDataLabelRepresentation::SetPointLabelBold ( int  )
void vtkDataLabelRepresentation::SetPointLabelItalic ( int  )
void vtkDataLabelRepresentation::SetPointLabelShadow ( int  )
void vtkDataLabelRepresentation::SetPointLabelJustification ( int  )
void vtkDataLabelRepresentation::SetPointLabelFontSize ( int  )
void vtkDataLabelRepresentation::SetPointLabelFormat ( const char *  )
void vtkDataLabelRepresentation::SetCellLabelVisibility ( int  )
void vtkDataLabelRepresentation::SetCellFieldDataArrayName ( const char *  )
void vtkDataLabelRepresentation::SetCellLabelMode ( int  )
void vtkDataLabelRepresentation::SetCellLabelColor ( double  r,
double  g,
double  b 
)
void vtkDataLabelRepresentation::SetCellLabelOpacity ( double  )
void vtkDataLabelRepresentation::SetCellLabelFontFamily ( int  )
void vtkDataLabelRepresentation::SetCellLabelBold ( int  )
void vtkDataLabelRepresentation::SetCellLabelItalic ( int  )
void vtkDataLabelRepresentation::SetCellLabelShadow ( int  )
void vtkDataLabelRepresentation::SetCellLabelJustification ( int  )
void vtkDataLabelRepresentation::SetCellLabelFontSize ( int  )
void vtkDataLabelRepresentation::SetCellLabelFormat ( const char *  )
void vtkDataLabelRepresentation::SetOrientation ( double  ,
double  ,
double   
)

Used to build the internal transform.

void vtkDataLabelRepresentation::SetOrigin ( double  ,
double  ,
double   
)

Used to build the internal transform.

void vtkDataLabelRepresentation::SetPosition ( double  ,
double  ,
double   
)

Used to build the internal transform.

void vtkDataLabelRepresentation::SetScale ( double  ,
double  ,
double   
)

Used to build the internal transform.

int vtkDataLabelRepresentation::ProcessViewRequest ( vtkInformationRequestKey request_type,
vtkInformation inInfo,
vtkInformation outInfo 
) [virtual]

vtkAlgorithm::ProcessRequest() equivalent for rendering passes. This is typically called by the vtkView to request meta-data from the representations or ask them to perform certain tasks e.g. PrepareForRendering.

Reimplemented from vtkPVDataRepresentation.

virtual bool vtkDataLabelRepresentation::AddToView ( vtkView view) [protected, virtual]

Adds the representation to the view. This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.

Reimplemented from vtkPVDataRepresentation.

virtual bool vtkDataLabelRepresentation::RemoveFromView ( vtkView view) [protected, virtual]

Removes the representation to the view. This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.

Reimplemented from vtkPVDataRepresentation.

void vtkDataLabelRepresentation::InitializeForCommunication ( ) [protected]
virtual int vtkDataLabelRepresentation::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill input port information

Reimplemented from vtkPassInputTypeAlgorithm.

virtual int vtkDataLabelRepresentation::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Subclasses should override this to connect inputs to the internal pipeline as necessary. Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.

Reimplemented from vtkPVDataRepresentation.

virtual bool vtkDataLabelRepresentation::IsCached ( double  cache_key) [protected, virtual]

Overridden to check with the vtkPVCacheKeeper to see if the key is cached.

Reimplemented from vtkPVDataRepresentation.

void vtkDataLabelRepresentation::UpdateTransform ( ) [protected]

Member Data Documentation

Definition at line 149 of file vtkDataLabelRepresentation.h.

Definition at line 150 of file vtkDataLabelRepresentation.h.

Definition at line 151 of file vtkDataLabelRepresentation.h.

Definition at line 152 of file vtkDataLabelRepresentation.h.

Definition at line 154 of file vtkDataLabelRepresentation.h.

Definition at line 155 of file vtkDataLabelRepresentation.h.

Definition at line 156 of file vtkDataLabelRepresentation.h.

Definition at line 158 of file vtkDataLabelRepresentation.h.

Definition at line 159 of file vtkDataLabelRepresentation.h.

Definition at line 160 of file vtkDataLabelRepresentation.h.

Definition at line 161 of file vtkDataLabelRepresentation.h.

Definition at line 163 of file vtkDataLabelRepresentation.h.

Definition at line 164 of file vtkDataLabelRepresentation.h.

Definition at line 166 of file vtkDataLabelRepresentation.h.

Definition at line 167 of file vtkDataLabelRepresentation.h.


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