combine multiple representations into one with only 1 representation active at a time. More...
#include <vtkCompositeRepresentation.h>
Public Types | |
typedef vtkPVDataRepresentation | Superclass |
Public Types inherited from vtkPVDataRepresentation | |
enum | { SkippedUpdateDataEvent = vtkCommand::UserEvent + 91, UpdateTimeChangedEvent } |
typedef vtkDataRepresentation | Superclass |
Public Types inherited from vtkDataRepresentation | |
typedef vtkPassInputTypeAlgorithm | Superclass |
Public Types inherited from vtkPassInputTypeAlgorithm | |
typedef vtkAlgorithm | Superclass |
Public Types inherited from vtkAlgorithm | |
enum | DesiredOutputPrecision |
enum | DesiredOutputPrecision |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
int | ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override |
vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More... | |
void | SetVisibility (bool val) override |
Methods overridden to propagate to the active representation. More... | |
vtkPVDataRepresentation * | GetActiveRepresentation () |
Returns the active representation if valid. More... | |
void | SetSelectionConnection (vtkAlgorithmOutput *input) |
Set the selection connection. More... | |
void | MarkModified () override |
Propagate the modification to all internal representations. More... | |
vtkDataObject * | GetRenderedDataObject (int port) override |
Returns the data object that is rendered from the given input port. More... | |
vtkStringArray * | GetRepresentationTypes () |
Returns the list of available representation types as a string array. More... | |
virtual void | AddRepresentation (const char *key, vtkPVDataRepresentation *repr) |
Add/Remove representations. More... | |
virtual void | RemoveRepresentation (vtkPVDataRepresentation *repr) |
Add/Remove representations. More... | |
virtual void | RemoveRepresentation (const char *key) |
Add/Remove representations. More... | |
void | SetActiveRepresentation (const char *key) |
Set the active key. More... | |
const char * | GetActiveRepresentationKey () |
Set the active key. More... | |
void | SetInputConnection (int port, vtkAlgorithmOutput *input) override |
Overridden to simply pass the input to the internal representations. More... | |
void | SetInputConnection (vtkAlgorithmOutput *input) override |
Overridden to simply pass the input to the internal representations. More... | |
void | AddInputConnection (int port, vtkAlgorithmOutput *input) override |
Overridden to simply pass the input to the internal representations. More... | |
void | AddInputConnection (vtkAlgorithmOutput *input) override |
Overridden to simply pass the input to the internal representations. More... | |
void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) override |
Overridden to simply pass the input to the internal representations. More... | |
void | RemoveInputConnection (int port, int idx) override |
Overridden to simply pass the input to the internal representations. More... | |
void | SetUpdateTime (double time) override |
Passed on to internal representations as well. More... | |
void | SetForceUseCache (bool val) override |
Passed on to internal representations as well. More... | |
void | SetForcedCacheKey (double val) override |
Passed on to internal representations as well. More... | |
Public Member Functions inherited from vtkPVDataRepresentation | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual unsigned int | Initialize (unsigned int minIdAvailable, unsigned int maxIdAvailable) |
Initialize the representation with an identifier range so each internal representation can own a unique ID. 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... | |
double | GetCacheKey () const |
Returns the cache-key the representation is currently using. More... | |
vtkAlgorithmOutput * | GetInternalOutputPort () override |
Retrieves an output port for the input data object at the specified port and connection index. More... | |
vtkAlgorithmOutput * | GetInternalOutputPort (int port) override |
vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) override |
vtkView * | GetView () const |
Provides access to the view. More... | |
vtkMTimeType | GetPipelineDataTime () |
Returns the timestamp when RequestData was executed on the representation. More... | |
bool | GetNeedsUpdate () |
Returns true if the representation needs an update. More... | |
virtual void | SetArrayIdNames (const char *vtkNotUsed(pointArray), const char *vtkNotUsed(cellArray)) |
Specify the array names used for the selection. More... | |
virtual double | GetUpdateTime () |
Set the update time. More... | |
virtual bool | GetUpdateTimeValid () |
Get whether the UpdateTime is valid. More... | |
void | ResetUpdateTime () |
Get whether the UpdateTime is valid. More... | |
virtual double | GetForcedCacheKey () |
Generally, caching is within the purview of the vtkPVView (and subclasses). More... | |
virtual bool | GetForceUseCache () |
Generally, caching is within the purview of the vtkPVView (and subclasses). More... | |
bool | AddToView (vtkView *view) override |
Making these methods public. More... | |
bool | RemoveFromView (vtkView *view) override |
Making these methods public. More... | |
virtual void | SetLogName (const std::string &name) |
This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More... | |
const std::string & | GetLogName () const |
This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More... | |
virtual bool | GetHasTemporalPipeline () |
This flag indicates if the representation is for a temporal pipeline. More... | |
virtual void | SetHasTemporalPipeline (bool) |
This flag indicates if the representation is for a temporal pipeline. More... | |
void | SetInputConnection (int port, vtkAlgorithmOutput *input) override |
Overridden to ensure that MarkModified is called. More... | |
void | AddInputConnection (int port, vtkAlgorithmOutput *input) override |
Overridden to ensure that MarkModified is called. More... | |
Public Member Functions inherited from vtkDataRepresentation | |
vtkDataRepresentation * | NewInstance () const |
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 void | SetSelectionType (int) |
virtual int | GetSelectionType () |
virtual void | SetSelectionArrayNames (vtkStringArray *names) |
virtual vtkStringArray * | GetSelectionArrayNames () |
virtual void | SetSelectionArrayName (const char *name) |
virtual const char * | GetSelectionArrayName () |
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 void | SetSelectionType (int) |
virtual int | GetSelectionType () |
virtual void | SetSelectionArrayNames (vtkStringArray *names) |
virtual vtkStringArray * | GetSelectionArrayNames () |
virtual void | SetSelectionArrayName (const char *name) |
virtual const char * | GetSelectionArrayName () |
Public Member Functions inherited from vtkPassInputTypeAlgorithm | |
vtkPassInputTypeAlgorithm * | NewInstance () const |
vtkPolyData * | GetPolyDataOutput () |
vtkStructuredPoints * | GetStructuredPointsOutput () |
vtkImageData * | GetImageDataOutput () |
vtkStructuredGrid * | GetStructuredGridOutput () |
vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
vtkRectilinearGrid * | GetRectilinearGridOutput () |
vtkTable * | GetTableOutput () |
vtkGraph * | GetGraphOutput () |
vtkDataObject * | GetInput () |
vtkDataObject * | GetOutput () |
vtkDataObject * | GetOutput (int) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
vtkDataObject * | GetOutput () |
vtkDataObject * | GetOutput (int) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Public Member Functions inherited from vtkAlgorithm | |
vtkAlgorithm * | NewInstance () const |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveAllInputConnections (int port) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
vtkExecutive * | GetInputExecutive (int port, int index) |
vtkInformation * | GetInputInformation (int port, int index) |
vtkInformation * | GetOutputInformation (int port) |
virtual int | Update (int port, vtkInformationVector *requests) |
virtual int | Update (vtkInformation *requests) |
virtual int | UpdateExtent (const int extents[6]) |
virtual void | UpdateInformation () |
virtual void | UpdateDataObject () |
virtual void | PropagateUpdateExtent () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
int | SetUpdateExtentToWholeExtent (int port) |
int | SetUpdateExtentToWholeExtent () |
void | SetUpdateExtent (int port, int extent[6]) |
void | SetUpdateExtent (int extent[6]) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
combine multiple representations into one with only 1 representation active at a time.
vtkCompositeRepresentation makes is possible to combine multiple representations into one. Only one representation can be active at a give time. vtkCompositeRepresentation provides API to add the representations that form the composite and to pick the active representation.
vtkCompositeRepresentation relies on call AddToView and RemoveFromView on the internal representations whenever it needs to change the active representation. So it is essential that representations handle those methods correctly and don't suffer from uncanny side effects when that's done repeatedly.
Definition at line 28 of file vtkCompositeRepresentation.h.
Definition at line 32 of file vtkCompositeRepresentation.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
static |
|
overridevirtual |
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
overridevirtual |
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.
vtkDataRepresentation::GetVisibility()
returns false. Reimplemented from vtkPVDataRepresentation.
|
overridevirtual |
Methods overridden to propagate to the active representation.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
virtual |
Add/Remove representations.
key
is a unique string used to identify that representation.
|
virtual |
Add/Remove representations.
key
is a unique string used to identify that representation.
|
virtual |
Add/Remove representations.
key
is a unique string used to identify that representation.
void vtkCompositeRepresentation::SetActiveRepresentation | ( | const char * | key | ) |
Set the active key.
If a valid key is not specified, then none of the representations is treated as active.
const char* vtkCompositeRepresentation::GetActiveRepresentationKey | ( | ) |
Set the active key.
If a valid key is not specified, then none of the representations is treated as active.
vtkPVDataRepresentation* vtkCompositeRepresentation::GetActiveRepresentation | ( | ) |
Returns the active representation if valid.
|
overridevirtual |
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
overridevirtual |
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
overridevirtual |
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
overridevirtual |
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
|
overridevirtual |
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
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.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPVCompositeRepresentation, and vtkPVCompositeOrthographicSliceRepresentation.
void vtkCompositeRepresentation::SetSelectionConnection | ( | vtkAlgorithmOutput * | input | ) |
Set the selection connection.
This is used to pass a selection source output to the mapper in order to display the selection content.
|
overridevirtual |
Propagate the modification to all internal representations.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeOrthographicSliceRepresentation, and vtkPVCompositeRepresentation.
|
override |
Returns the data object that is rendered from the given input port.
vtkStringArray* vtkCompositeRepresentation::GetRepresentationTypes | ( | ) |
Returns the list of available representation types as a string array.
|
overridevirtual |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation.
|
overridevirtual |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation.
|
overridevirtual |
Passed on to internal representations as well.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkPVCompositeRepresentation.
|
overrideprotectedvirtual |
Reimplemented from vtkPassInputTypeAlgorithm.
|
overrideprotected |
Adds the representation to the view.
This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
|
overrideprotected |
Removes the representation to the view.
This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
|
protected |
Fires UpdateDataEvent.