ParaView
|
representation for showing image datasets as a volume. More...
#include <vtkImageVolumeRepresentation.h>
Public Types | |
typedef vtkPVDataRepresentation | Superclass |
![]() | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) |
vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More... | |
virtual void | MarkModified () |
This needs to be called on all instances of vtkGeometryRepresentation when the input is modified. More... | |
virtual void | SetVisibility (bool val) |
Get/Set the visibility for this representation. More... | |
void | SetOrientation (double, double, double) |
void | SetOrigin (double, double, double) |
void | SetPickable (int val) |
void | SetPosition (double, double, double) |
void | SetScale (double, double, double) |
void | SetInterpolationType (int val) |
void | SetColor (vtkColorTransferFunction *lut) |
void | SetScalarOpacity (vtkPiecewiseFunction *pwf) |
void | SetScalarOpacityUnitDistance (double val) |
void | SetAmbient (double) |
void | SetDiffuse (double) |
void | SetSpecular (double) |
void | SetSpecularPower (double) |
void | SetShade (bool) |
void | SetIndependantComponents (bool) |
void | SetRequestedRenderMode (int) |
vtkPVLODVolume * | GetActor () |
Provides access to the actor used by this representation. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
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... | |
virtual void | SetForcedCacheKey (double val) |
Typically a representation decides whether to use cache based on the view's values for UseCache and CacheKey. More... | |
virtual void | SetForceUseCache (bool val) |
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 void | SetUpdateTime (double time) |
Set the update time. 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 vtkImageVolumeRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageVolumeRepresentation * | SafeDownCast (vtkObject *o) |
static void | PassOrderedCompositingInformation (vtkPVDataRepresentation *self, vtkInformation *inInfo) |
Helper method to pass input image extent information to the view to use in determining the cuts for ordered compositing. More... | |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVDataRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageVolumeRepresentation () | |
~vtkImageVolumeRepresentation () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Fill input port information. More... | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Overridden to invoke vtkCommand::UpdateDataEvent. More... | |
virtual bool | AddToView (vtkView *view) |
Adds the representation to the view. More... | |
virtual bool | RemoveFromView (vtkView *view) |
Removes the representation to the view. More... | |
virtual bool | IsCached (double cache_key) |
Overridden to check with the vtkPVCacheKeeper to see if the key is cached. More... | |
virtual void | UpdateMapperParameters () |
Passes on parameters to the active volume mapper. More... | |
virtual vtkPVLODVolume * | GetRenderedProp () |
Used in ConvertSelection to locate the rendered prop. More... | |
![]() | |
vtkPVDataRepresentation () | |
~vtkPVDataRepresentation () | |
virtual vtkExecutive * | CreateDefaultExecutive () |
Create a default executive. More... | |
virtual int | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkImageData * | Cache |
vtkPVCacheKeeper * | CacheKeeper |
vtkSmartVolumeMapper * | VolumeMapper |
vtkVolumeProperty * | Property |
vtkPVLODVolume * | Actor |
vtkOutlineSource * | OutlineSource |
vtkPolyDataMapper * | OutlineMapper |
unsigned long | DataSize |
double | DataBounds [6] |
vtkNew< vtkPExtentTranslator > | PExtentTranslator |
double | Origin [3] |
double | Spacing [3] |
int | WholeExtent [6] |
![]() | |
double | UpdateTime |
bool | UpdateTimeValid |
unsigned int | UniqueIdentifier |
representation for showing image datasets as a volume.
vtkImageVolumeRepresentation is a representation for volume rendering vtkImageData. Unlike other data-representations used by ParaView, this representation does not support delivery to client (or render server) nodes. In those configurations, it merely delivers a outline for the image to the client and render-server and those nodes simply render the outline.
Definition at line 47 of file vtkImageVolumeRepresentation.h.
Definition at line 52 of file vtkImageVolumeRepresentation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
void vtkImageVolumeRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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 |
This needs to be called on all instances of vtkGeometryRepresentation 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 |
Get/Set the visibility for this representation.
When the visibility of representation of false, all view passes are ignored.
Reimplemented from vtkPVDataRepresentation.
void vtkImageVolumeRepresentation::SetOrientation | ( | double | , |
double | , | ||
double | |||
) |
void vtkImageVolumeRepresentation::SetOrigin | ( | double | , |
double | , | ||
double | |||
) |
void vtkImageVolumeRepresentation::SetPickable | ( | int | val | ) |
void vtkImageVolumeRepresentation::SetPosition | ( | double | , |
double | , | ||
double | |||
) |
void vtkImageVolumeRepresentation::SetScale | ( | double | , |
double | , | ||
double | |||
) |
void vtkImageVolumeRepresentation::SetInterpolationType | ( | int | val | ) |
void vtkImageVolumeRepresentation::SetColor | ( | vtkColorTransferFunction * | lut | ) |
void vtkImageVolumeRepresentation::SetScalarOpacity | ( | vtkPiecewiseFunction * | pwf | ) |
void vtkImageVolumeRepresentation::SetScalarOpacityUnitDistance | ( | double | val | ) |
void vtkImageVolumeRepresentation::SetAmbient | ( | double | ) |
void vtkImageVolumeRepresentation::SetDiffuse | ( | double | ) |
void vtkImageVolumeRepresentation::SetSpecular | ( | double | ) |
void vtkImageVolumeRepresentation::SetSpecularPower | ( | double | ) |
void vtkImageVolumeRepresentation::SetShade | ( | bool | ) |
void vtkImageVolumeRepresentation::SetIndependantComponents | ( | bool | ) |
void vtkImageVolumeRepresentation::SetRequestedRenderMode | ( | int | ) |
|
inline |
Provides access to the actor used by this representation.
Definition at line 106 of file vtkImageVolumeRepresentation.h.
|
static |
Helper method to pass input image extent information to the view to use in determining the cuts for ordered compositing.
|
protectedvirtual |
Fill input port information.
|
protectedvirtual |
Overridden to invoke vtkCommand::UpdateDataEvent.
Reimplemented from vtkPVDataRepresentation.
|
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 vtkPVDataRepresentation.
|
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 vtkPVDataRepresentation.
|
protectedvirtual |
Overridden to check with the vtkPVCacheKeeper to see if the key is cached.
Reimplemented from vtkPVDataRepresentation.
|
protectedvirtual |
Passes on parameters to the active volume mapper.
|
inlineprotectedvirtual |
Used in ConvertSelection to locate the rendered prop.
Definition at line 153 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 153 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 156 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 157 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 158 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 159 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 161 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 162 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 163 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 166 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 170 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 171 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 172 of file vtkImageVolumeRepresentation.h.
|
protected |
Definition at line 173 of file vtkImageVolumeRepresentation.h.