|
ParaView
|
representation for showing slices from a vtkImageData. More...
#include <vtkImageSliceRepresentation.h>


representation for showing slices from a vtkImageData.
vtkImageSliceRepresentation is a representation for showing slices from an image dataset. Currently, it does not support composite datasets, however, we should be able to add such a support in future.
Definition at line 37 of file vtkImageSliceRepresentation.h.
Definition at line 46 of file vtkImageSliceRepresentation.h.
| anonymous enum |
Definition at line 86 of file vtkImageSliceRepresentation.h.
| vtkImageSliceRepresentation::vtkImageSliceRepresentation | ( | ) | [protected] |
| vtkImageSliceRepresentation::~vtkImageSliceRepresentation | ( | ) | [protected] |
| static vtkImageSliceRepresentation* vtkImageSliceRepresentation::New | ( | ) | [static] |
Reimplemented from vtkDataRepresentation.
| virtual const char* vtkImageSliceRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
| static int vtkImageSliceRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkPVDataRepresentation.
| virtual int vtkImageSliceRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
| static vtkImageSliceRepresentation* vtkImageSliceRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPVDataRepresentation.
| void vtkImageSliceRepresentation::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
| void vtkImageSliceRepresentation::SetColorAttributeType | ( | int | type | ) |
Methods to control scalar coloring. ColorAttributeType defines the attribute type.
| void vtkImageSliceRepresentation::SetColorArrayName | ( | const char * | name | ) |
Pick the array to color with.
| virtual int vtkImageSliceRepresentation::ProcessViewRequest | ( | vtkInformationRequestKey * | request_type, |
| vtkInformation * | inInfo, | ||
| vtkInformation * | outInfo | ||
| ) | [virtual] |
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.
Reimplemented from vtkPVDataRepresentation.
| virtual void vtkImageSliceRepresentation::MarkModified | ( | ) | [virtual] |
This needs to be called on all instances of vtkImageSliceRepresentation 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 void vtkImageSliceRepresentation::SetVisibility | ( | bool | val | ) | [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.
| virtual void vtkImageSliceRepresentation::SetSlice | ( | unsigned | int | ) | [virtual] |
Get set the slice number to extract.
| virtual unsigned int vtkImageSliceRepresentation::GetSlice | ( | ) | [virtual] |
Get set the slice number to extract.
| virtual void vtkImageSliceRepresentation::SetSliceMode | ( | int | ) | [virtual] |
Get/Set the direction in which to slice a 3D input data.
| virtual int vtkImageSliceRepresentation::GetSliceMode | ( | ) | [virtual] |
Get/Set the direction in which to slice a 3D input data.
| void vtkImageSliceRepresentation::SetPickable | ( | int | val | ) |
| void vtkImageSliceRepresentation::SetOpacity | ( | double | val | ) |
| void vtkImageSliceRepresentation::SetLookupTable | ( | vtkScalarsToColors * | val | ) |
| void vtkImageSliceRepresentation::SetMapScalars | ( | int | val | ) |
| void vtkImageSliceRepresentation::SetUseXYPlane | ( | int | val | ) |
| void vtkImageSliceRepresentation::UpdateSliceData | ( | vtkInformationVector ** | ) | [protected] |
Extract the slice.
| virtual int vtkImageSliceRepresentation::FillInputPortInformation | ( | int | port, |
| vtkInformation * | info | ||
| ) | [protected, virtual] |
Fill input port information.
Reimplemented from vtkPassInputTypeAlgorithm.
| virtual int vtkImageSliceRepresentation::RequestData | ( | vtkInformation * | , |
| vtkInformationVector ** | , | ||
| vtkInformationVector * | |||
| ) | [protected, virtual] |
Subclasses should override this to connect inputs to the internal pipeline as necessary. Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.
Reimplemented from vtkPVDataRepresentation.
| virtual bool vtkImageSliceRepresentation::AddToView | ( | vtkView * | view | ) | [protected, virtual] |
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.
| virtual bool vtkImageSliceRepresentation::RemoveFromView | ( | vtkView * | view | ) | [protected, virtual] |
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.
| virtual bool vtkImageSliceRepresentation::IsCached | ( | double | cache_key | ) | [protected, virtual] |
Overridden to check with the vtkPVCacheKeeper to see if the key is cached.
Reimplemented from vtkPVDataRepresentation.
int vtkImageSliceRepresentation::SliceMode [protected] |
Definition at line 157 of file vtkImageSliceRepresentation.h.
unsigned int vtkImageSliceRepresentation::Slice [protected] |
Definition at line 158 of file vtkImageSliceRepresentation.h.
Definition at line 160 of file vtkImageSliceRepresentation.h.
int vtkImageSliceRepresentation::WholeExtent[6] [protected] |
Definition at line 162 of file vtkImageSliceRepresentation.h.
vtkPVCacheKeeper* vtkImageSliceRepresentation::CacheKeeper [protected] |
Definition at line 163 of file vtkImageSliceRepresentation.h.
Definition at line 164 of file vtkImageSliceRepresentation.h.
Definition at line 165 of file vtkImageSliceRepresentation.h.
vtkPVLODActor* vtkImageSliceRepresentation::Actor [protected] |
Definition at line 166 of file vtkImageSliceRepresentation.h.
vtkImageData* vtkImageSliceRepresentation::SliceData [protected] |
Definition at line 167 of file vtkImageSliceRepresentation.h.
1.7.5.1