ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVCompositeOrthographicSliceRepresentation Class Reference

vtkPVCompositeOrthographicSliceRepresentation is designed for use with vtkPVOrthographicSliceView. More...

#include <vtkPVCompositeOrthographicSliceRepresentation.h>

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

Public Types

typedef vtkPVCompositeRepresentation Superclass
 
- Public Types inherited from vtkPVCompositeRepresentation
typedef vtkCompositeRepresentation Superclass
 
- Public Types inherited from vtkCompositeRepresentation
typedef vtkPVDataRepresentation Superclass
 
- Public Types inherited from vtkPVDataRepresentation
typedef vtkDataRepresentation Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetSliceRepresentation (int index, vtkGeometrySliceRepresentation *)
 
void SetSliceRepresentation0 (vtkGeometrySliceRepresentation *repr)
 
void SetSliceRepresentation1 (vtkGeometrySliceRepresentation *repr)
 
void SetSliceRepresentation2 (vtkGeometrySliceRepresentation *repr)
 
virtual void SetVisibility (bool visible)
 Set visibility of the representation. More...
 
virtual void MarkModified ()
 Propagate the modification to all internal representations. 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 index)
 Overridden to simply pass the input to the internal representations. More...
 
- Public Member Functions inherited from vtkPVCompositeRepresentation
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetSelectionRepresentation (vtkSelectionRepresentation *)
 These must only be set during initialization before adding the representation to any views or calling Update(). More...
 
virtual void SetSelectionVisibility (bool visible)
 Set the selection visibility. 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...
 
virtual void SetPointFieldDataArrayName (const char *)
 Forwarded to vtkSelectionRepresentation. More...
 
virtual void SetCellFieldDataArrayName (const char *)
 Forwarded to vtkSelectionRepresentation. More...
 
- Public Member Functions inherited from vtkCompositeRepresentation
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkPVDataRepresentationGetActiveRepresentation ()
 Returns the active representation if valid. More...
 
virtual vtkDataObject * GetRenderedDataObject (int port)
 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...
 
- Public Member Functions inherited from vtkPVDataRepresentation
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 vtkPVCompositeOrthographicSliceRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVCompositeOrthographicSliceRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVCompositeRepresentation
static vtkPVCompositeRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVCompositeRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCompositeRepresentation
static vtkCompositeRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCompositeRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVDataRepresentation
static int IsTypeOf (const char *type)
 
static vtkPVDataRepresentationSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVCompositeOrthographicSliceRepresentation ()
 
 ~vtkPVCompositeOrthographicSliceRepresentation ()
 
virtual bool AddToView (vtkView *view)
 Adds the representation to the view. More...
 
virtual bool RemoveFromView (vtkView *view)
 Removes the representation to the view. More...
 
- Protected Member Functions inherited from vtkPVCompositeRepresentation
 vtkPVCompositeRepresentation ()
 
 ~vtkPVCompositeRepresentation ()
 
- Protected Member Functions inherited from vtkCompositeRepresentation
 vtkCompositeRepresentation ()
 
 ~vtkCompositeRepresentation ()
 
virtual int FillInputPortInformation (int, vtkInformation *info)
 
void TriggerUpdateDataEvent ()
 Fires UpdateDataEvent. More...
 
- Protected Member Functions inherited from vtkPVDataRepresentation
 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

vtkSmartPointer< vtkGeometrySliceRepresentationSliceRepresentations [3]
 
- Protected Attributes inherited from vtkPVCompositeRepresentation
vtkSelectionRepresentationSelectionRepresentation
 
bool SelectionVisibility
 
- Protected Attributes inherited from vtkPVDataRepresentation
double UpdateTime
 
bool UpdateTimeValid
 
unsigned int UniqueIdentifier
 

Detailed Description

vtkPVCompositeOrthographicSliceRepresentation is designed for use with vtkPVOrthographicSliceView.

We add 3 vtkGeometrySliceRepresentation instances to render the 3 slices in vtkPVOrthographicSliceView's orthographic views.

Definition at line 32 of file vtkPVCompositeOrthographicSliceRepresentation.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkPVCompositeOrthographicSliceRepresentation()

vtkPVCompositeOrthographicSliceRepresentation::vtkPVCompositeOrthographicSliceRepresentation ( )
protected

◆ ~vtkPVCompositeOrthographicSliceRepresentation()

vtkPVCompositeOrthographicSliceRepresentation::~vtkPVCompositeOrthographicSliceRepresentation ( )
protected

Member Function Documentation

◆ New()

static vtkPVCompositeOrthographicSliceRepresentation* vtkPVCompositeOrthographicSliceRepresentation::New ( )
static

◆ GetClassName()

virtual const char* vtkPVCompositeOrthographicSliceRepresentation::GetClassName ( )
virtual

Reimplemented from vtkPVCompositeRepresentation.

◆ IsTypeOf()

static int vtkPVCompositeOrthographicSliceRepresentation::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVCompositeOrthographicSliceRepresentation::IsA ( const char *  type)
virtual

Reimplemented from vtkPVCompositeRepresentation.

◆ SafeDownCast()

static vtkPVCompositeOrthographicSliceRepresentation* vtkPVCompositeOrthographicSliceRepresentation::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkPVCompositeOrthographicSliceRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SetSliceRepresentation()

void vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation ( int  index,
vtkGeometrySliceRepresentation  
)

◆ SetSliceRepresentation0()

void vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation0 ( vtkGeometrySliceRepresentation repr)
inline

◆ SetSliceRepresentation1()

void vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation1 ( vtkGeometrySliceRepresentation repr)
inline

◆ SetSliceRepresentation2()

void vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation2 ( vtkGeometrySliceRepresentation repr)
inline

◆ SetVisibility()

virtual void vtkPVCompositeOrthographicSliceRepresentation::SetVisibility ( bool  visible)
virtual

Set visibility of the representation.

Overridden to update the cube-axes and selection visibilities.

Reimplemented from vtkPVCompositeRepresentation.

◆ SetInputConnection() [1/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::SetInputConnection ( int  port,
vtkAlgorithmOutput *  input 
)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ SetInputConnection() [2/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::SetInputConnection ( vtkAlgorithmOutput *  input)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ AddInputConnection() [1/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::AddInputConnection ( int  port,
vtkAlgorithmOutput *  input 
)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ AddInputConnection() [2/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::AddInputConnection ( vtkAlgorithmOutput *  input)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ RemoveInputConnection() [1/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::RemoveInputConnection ( int  port,
vtkAlgorithmOutput *  input 
)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ RemoveInputConnection() [2/2]

virtual void vtkPVCompositeOrthographicSliceRepresentation::RemoveInputConnection ( int  port,
int  index 
)
virtual

Overridden to simply pass the input to the internal representations.

We won't need this if vtkDataRepresentation correctly respected in the arguments passed to it during ProcessRequest() etc.

Reimplemented from vtkCompositeRepresentation.

◆ MarkModified()

virtual void vtkPVCompositeOrthographicSliceRepresentation::MarkModified ( )
virtual

Propagate the modification to all internal representations.

Reimplemented from vtkPVCompositeRepresentation.

◆ Initialize()

virtual unsigned int vtkPVCompositeOrthographicSliceRepresentation::Initialize ( unsigned int  minIdAvailable,
unsigned int  maxIdAvailable 
)
virtual

Override because of internal composite representations that need to be initilized as well.

Reimplemented from vtkPVCompositeRepresentation.

◆ AddToView()

virtual bool vtkPVCompositeOrthographicSliceRepresentation::AddToView ( vtkView *  view)
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 vtkPVCompositeRepresentation.

◆ RemoveFromView()

virtual bool vtkPVCompositeOrthographicSliceRepresentation::RemoveFromView ( vtkView *  view)
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 vtkPVCompositeRepresentation.

Member Data Documentation

◆ SliceRepresentations

vtkSmartPointer<vtkGeometrySliceRepresentation> vtkPVCompositeOrthographicSliceRepresentation::SliceRepresentations[3]
protected

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