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