ParaView
|
vtkSelectionRepresentation is a representation to show the extracted cells. More...
#include <vtkSelectionRepresentation.h>
Public Types | |
typedef vtkPVDataRepresentation | Superclass |
![]() | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetLabelRepresentation (vtkDataLabelRepresentation *) |
One must change the internal representations only before the representation is added to a view, after that it should not be touched. More... | |
virtual void | MarkModified () |
This needs to be called on all instances of vtkSelectionRepresentation when the input is modified. More... | |
virtual void | SetVisibility (bool val) |
Get/Set the visibility for this representation. More... | |
virtual unsigned int | Initialize (unsigned int minIdAvailable, unsigned int maxIdAvailable) |
Override because of internal composite representations that need to be initilized as well. More... | |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | RemoveInputConnection (int port, int idx) |
Overridden to simply pass the input to the internal representations. More... | |
virtual void | SetUpdateTime (double time) |
Passed on to internal representations as well. More... | |
virtual void | SetForceUseCache (bool val) |
Passed on to internal representations as well. More... | |
virtual void | SetForcedCacheKey (double val) |
Passed on to internal representations as well. More... | |
void | SetColor (double r, double g, double b) |
Forwarded to GeometryRepresentation. More... | |
void | SetLineWidth (double val) |
Forwarded to GeometryRepresentation. More... | |
void | SetOpacity (double val) |
Forwarded to GeometryRepresentation. More... | |
void | SetPointSize (double val) |
Forwarded to GeometryRepresentation. More... | |
void | SetRepresentation (int val) |
Forwarded to GeometryRepresentation. More... | |
void | SetUseOutline (int) |
Forwarded to GeometryRepresentation. More... | |
void | SetOrientation (double, double, double) |
Forwarded to GeometryRepresentation and LabelRepresentation. More... | |
void | SetOrigin (double, double, double) |
Forwarded to GeometryRepresentation and LabelRepresentation. More... | |
void | SetPosition (double, double, double) |
Forwarded to GeometryRepresentation and LabelRepresentation. More... | |
void | SetScale (double, double, double) |
Forwarded to GeometryRepresentation and LabelRepresentation. More... | |
void | SetUserTransform (const double[16]) |
Forwarded to GeometryRepresentation and LabelRepresentation. More... | |
virtual void | SetPointFieldDataArrayName (const char *val) |
Forwarded to vtkDataLabelRepresentation. More... | |
virtual void | SetCellFieldDataArrayName (const char *val) |
Forwarded to vtkDataLabelRepresentation. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) |
vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More... | |
unsigned int | GetUniqueIdentifier () |
Return 0 if the Initialize() method was not called otherwise a unique ID that will be shared across the processes for that same object. More... | |
virtual bool | GetVisibility () |
virtual vtkDataObject * | GetRenderedDataObject (int vtkNotUsed(port)) |
Returns the data object that is rendered from the given input port. More... | |
bool | GetUsingCacheForUpdate () |
Called by vtkPVDataRepresentationPipeline to see if using cache is valid and will be used for the update. More... | |
virtual bool | GetNeedUpdate () |
virtual vtkAlgorithmOutput * | GetInternalOutputPort () |
Retrieves an output port for the input data object at the specified port and connection index. More... | |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port) |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) |
vtkView * | GetView () const |
Provides access to the view. More... | |
virtual double | GetUpdateTime () |
Set the update time. More... | |
virtual bool | GetUpdateTimeValid () |
Set whether the UpdateTime is valid. More... | |
virtual void | SetUseCache (bool) |
virtual void | SetCacheKey (double val) |
virtual double | GetCacheKey () |
Returns whether caching is used and what key to use when caching is enabled. More... | |
virtual bool | GetUseCache () |
Returns whether caching is used and what key to use when caching is enabled. More... | |
Static Public Member Functions | |
static vtkSelectionRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkSelectionRepresentation * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVDataRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSelectionRepresentation () | |
~vtkSelectionRepresentation () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual bool | AddToView (vtkView *view) |
Adds the representation to the view. More... | |
virtual bool | RemoveFromView (vtkView *view) |
Removes the representation to the view. More... | |
void | TriggerUpdateDataEvent () |
Fires UpdateDataEvent. More... | |
![]() | |
vtkPVDataRepresentation () | |
~vtkPVDataRepresentation () | |
virtual bool | IsCached (double cache_key) |
Subclasses should override this method when they support caching to indicate if the particular key is cached. More... | |
virtual vtkExecutive * | CreateDefaultExecutive () |
Create a default executive. More... | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Overridden to invoke vtkCommand::UpdateDataEvent. More... | |
virtual int | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkGeometryRepresentation * | GeometryRepresentation |
vtkDataLabelRepresentation * | LabelRepresentation |
![]() | |
double | UpdateTime |
bool | UpdateTimeValid |
unsigned int | UniqueIdentifier |
vtkSelectionRepresentation is a representation to show the extracted cells.
It uses vtkGeometryRepresentation and vtkPVDataRepresentation internally.
Definition at line 35 of file vtkSelectionRepresentation.h.
Definition at line 40 of file vtkSelectionRepresentation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
void vtkSelectionRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkSelectionRepresentation::SetLabelRepresentation | ( | vtkDataLabelRepresentation * | ) |
One must change the internal representations only before the representation is added to a view, after that it should not be touched.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
Overridden to simply pass the input to the internal representations.
We won't need this if vtkPVDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.
|
virtual |
This needs to be called on all instances of vtkSelectionRepresentation 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 |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
|
virtual |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
|
virtual |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
|
virtual |
Get/Set the visibility for this representation.
When the visibility of representation of false, all view passes are ignored. Overridden to propagate to the active representation.
Reimplemented from vtkPVDataRepresentation.
void vtkSelectionRepresentation::SetColor | ( | double | r, |
double | g, | ||
double | b | ||
) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetLineWidth | ( | double | val | ) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetOpacity | ( | double | val | ) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetPointSize | ( | double | val | ) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetRepresentation | ( | int | val | ) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetUseOutline | ( | int | ) |
Forwarded to GeometryRepresentation.
void vtkSelectionRepresentation::SetOrientation | ( | double | , |
double | , | ||
double | |||
) |
Forwarded to GeometryRepresentation and LabelRepresentation.
void vtkSelectionRepresentation::SetOrigin | ( | double | , |
double | , | ||
double | |||
) |
Forwarded to GeometryRepresentation and LabelRepresentation.
void vtkSelectionRepresentation::SetPosition | ( | double | , |
double | , | ||
double | |||
) |
Forwarded to GeometryRepresentation and LabelRepresentation.
void vtkSelectionRepresentation::SetScale | ( | double | , |
double | , | ||
double | |||
) |
Forwarded to GeometryRepresentation and LabelRepresentation.
void vtkSelectionRepresentation::SetUserTransform | ( | const double | [16] | ) |
Forwarded to GeometryRepresentation and LabelRepresentation.
|
virtual |
Forwarded to vtkDataLabelRepresentation.
|
virtual |
Forwarded to vtkDataLabelRepresentation.
|
virtual |
Override because of internal composite representations that need to be initilized as well.
Reimplemented from vtkPVDataRepresentation.
|
protectedvirtual |
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protected |
Fires UpdateDataEvent.
|
protected |
Definition at line 149 of file vtkSelectionRepresentation.h.
|
protected |
Definition at line 150 of file vtkSelectionRepresentation.h.