Go to the documentation of this file.
50 #include "vtkViewsCoreModule.h"
188 {
return this->Message; }
194 {
return this->Progress; }
246 vtkGetMacro(ReuseSingleRepresentation,
bool);
253 void operator=(
const vtkView&) VTK_DELETE_FUNCTION;
255 class vtkImplementation;
256 vtkImplementation* Implementation;
259 friend class Command;
263 vtkInternal* Internal;
void RemoveRepresentation(vtkDataRepresentation *rep)
Removes the representation from the view.
superclass for callback/observer methods
bool ReuseSingleRepresentation
vtkDataRepresentation * AddRepresentationFromInputConnection(vtkAlgorithmOutput *conn)
Convenience method which creates a simple representation with the connection and adds it to the view.
int GetNumberOfRepresentations()
Returns the number of representations from first port(0) in this view.
const char * GetProgressMessage() const
Get the message.
virtual void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData)
Called to process events.
void SetRepresentation(vtkDataRepresentation *rep)
Set the representation to the view.
double GetProgress() const
Get the progress value in range [0.0, 1.0].
void RegisterProgress(vtkObject *algorithm, const char *message=NULL)
Meant for use by subclasses and vtkRepresentation subclasses.
abstract base class for most VTK objects
virtual void AddRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))
Subclass "hooks" for notifying subclasses of vtkView when representations are added or removed.
vtkDataRepresentation * AddRepresentationFromInput(vtkDataObject *input)
Convenience method which creates a simple representation with the specified input and adds it to the ...
A node in a selection tree.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkDataRepresentation * SetRepresentationFromInput(vtkDataObject *input)
Convenience method which sets the representation to the specified input and adds it to the view.
The superclass for all views.
Sets theme colors for a graphical view.
vtkDataRepresentation * GetRepresentation(int index=0)
The representation at a specified index.
ViewProgressEventCallData(const char *msg, double progress)
~ViewProgressEventCallData()
The superclass for all representations.
vtkDataRepresentation * SetRepresentationFromInputConnection(vtkAlgorithmOutput *conn)
Convenience method which sets the representation with the connection and adds it to the view.
void AddRepresentation(vtkDataRepresentation *rep)
Adds the representation to the view.
A ptr to an instance of ViewProgressEventCallData is provided in the call data when vtkCommand::ViewP...
a simple class to control print indentation
void RemoveRepresentation(vtkAlgorithmOutput *rep)
Removes any representation with this connection from the view.
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Apply a theme to the view.
void UnRegisterProgress(vtkObject *algorithm)
Unregister objects previously registered with RegisterProgress.
vtkCommand * GetObserver()
Returns the observer that the subclasses can use to listen to additional events.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void RemoveAllRepresentations()
Removes all representations from the view.
virtual void Update()
Update the view.
Proxy object to connect input/output ports.
virtual void RemoveRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))
bool IsRepresentationPresent(vtkDataRepresentation *rep)
Check to see if a representation is present in the view.
virtual vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn)
Create a default vtkDataRepresentation for the given vtkAlgorithmOutput.
general representation of visualization data