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

vtkPVMultiSliceView extends vtkPVRenderView but add meta-data informations used by SliceRepresentation as a data model. More...

#include <vtkPVMultiSliceView.h>

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

Public Types

typedef vtkPVRenderView Superclass
 
- Public Types inherited from vtkPVRenderView
enum  InteractionModes {
  INTERACTION_MODE_UNINTIALIZED = -1, INTERACTION_MODE_3D = 0, INTERACTION_MODE_2D, INTERACTION_MODE_SELECTION,
  INTERACTION_MODE_ZOOM, INTERACTION_MODE_POLYGON
}
 
enum  { DEFAULT_RENDERER = 0, NON_COMPOSITED_RENDERER = 1 }
 Defines various renderer types. More...
 
typedef vtkPVView Superclass
 
- Public Types inherited from vtkPVView
enum  { ViewTimeChangedEvent = 9000 }
 
typedef vtkView Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Update ()
 Overridden to synchronize information among processes whenever data changes. More...
 
void SetNumberOfXSlices (unsigned int count)
 
void SetXSlices (const double *values)
 
void SetNumberOfYSlices (unsigned int count)
 
void SetYSlices (const double *values)
 
void SetNumberOfZSlices (unsigned int count)
 
void SetZSlices (const double *values)
 
const std::vector< double > & GetSlices (int axis) const
 
const std::vector< double > & GetXSlices () const
 
const std::vector< double > & GetYSlices () const
 
const std::vector< double > & GetZSlices () const
 
void GetDataBounds (double bounds[6]) const
 
const char * GetXAxisLabel () const
 
const char * GetYAxisLabel () const
 
const char * GetZAxisLabel () const
 
const vtkClientServerStreamGetAxisLabels () const
 
void SetModelTransformationMatrix (vtkMatrix4x4 *)
 
- Public Member Functions inherited from vtkPVRenderView
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Initialize (unsigned int id)
 Initialize the view with an identifier. More...
 
virtual vtkRenderer * GetRenderer (int rendererType=DEFAULT_RENDERER)
 Returns the renderer given an int identifying its type. More...
 
vtkRenderWindow * GetRenderWindow ()
 Returns the render window. More...
 
vtkRenderWindowInteractor * GetInteractor ()
 Returns the interactor. More...
 
virtual void SetupInteractor (vtkRenderWindowInteractor *)
 Set the interactor. More...
 
virtual void StillRender ()
 Triggers a high-resolution render. More...
 
virtual void InteractiveRender ()
 Triggers a interactive render. More...
 
void ConfigureCompressor (const char *configuration)
 Passes the compressor configuration to the client-server synchronizer, if any. More...
 
virtual void ResetCameraClippingRange ()
 Resets the clipping range. More...
 
void InvalidateCachedSelection ()
 Invalidates cached selection. More...
 
double GetZbufferDataAtPoint (int x, int y)
 Returns the z-buffer value at the given location. More...
 
void SetMaxClipBounds (double bds[6])
 Used by Cinema to enforce a consistent depth scaling. More...
 
virtual void SetGridAxes3DActor (vtkPVGridAxes3DActor *)
 Set the vtkPVGridAxes3DActor to use for the view. More...
 
virtual void SetOrientationAxesInteractivity (bool)
 
virtual void SetOrientationAxesVisibility (bool)
 
void SetOrientationAxesLabelColor (double r, double g, double b)
 
void SetOrientationAxesOutlineColor (double r, double g, double b)
 
virtual void SetCenterAxesVisibility (bool)
 
virtual void SetCenterOfRotation (double x, double y, double z)
 
virtual void SetRotationFactor (double factor)
 
void SetKeyLightWarmth (double val)
 
void SetKeyLightIntensity (double val)
 
void SetKeyLightElevation (double val)
 
void SetKeyLightAzimuth (double val)
 
void SetFillLightWarmth (double val)
 
void SetKeyToFillRatio (double val)
 
void SetFillLightElevation (double val)
 
void SetFillLightAzimuth (double val)
 
void SetBackLightWarmth (double val)
 
void SetKeyToBackRatio (double val)
 
void SetBackLightElevation (double val)
 
void SetBackLightAzimuth (double val)
 
void SetHeadLightWarmth (double val)
 
void SetKeyToHeadRatio (double val)
 
void SetMaintainLuminance (int val)
 
virtual void SetUseHiddenLineRemoval (bool)
 
virtual void SetUseDepthPeeling (int val)
 
virtual void SetMaximumNumberOfPeels (int val)
 
virtual void SetBackground (double r, double g, double b)
 
virtual void SetBackground2 (double r, double g, double b)
 
virtual void SetBackgroundTexture (vtkTexture *val)
 
virtual void SetGradientBackground (int val)
 
virtual void SetTexturedBackground (int val)
 
void SetAmbientColor (double r, double g, double b)
 
void SetSpecularColor (double r, double g, double b)
 
void SetDiffuseColor (double r, double g, double b)
 
void SetIntensity (double val)
 
void SetLightType (int val)
 
void SetStereoCapableWindow (int val)
 
void SetStereoRender (int val)
 
virtual void SetStereoType (int)
 
virtual void SetServerStereoType (int)
 
void SetMultiSamples (int val)
 
void SetAlphaBitPlanes (int val)
 
void SetStencilCapable (int val)
 
void SetParallelProjection (int mode)
 
virtual void SetCamera2DManipulators (const int manipulators[9])
 
virtual void SetCamera3DManipulators (const int manipulators[9])
 
void SetCameraManipulators (vtkPVInteractorStyle *style, const int manipulators[9])
 
virtual void UpdateLOD ()
 Asks representations to update their LOD geometries. More...
 
int GetDataDistributionMode (bool use_remote_rendering)
 Returns the data distribution mode to use. More...
 
vtkPVDataDeliveryManagerGetDeliveryManager ()
 Provides access to the geometry storage for this view. More...
 
void Deliver (int use_lod, unsigned int size, unsigned int *representation_ids)
 Called on all processes to request data-delivery for the list of representations. More...
 
bool GetUseOrderedCompositing ()
 Returns true when ordered compositing is needed on the current group of processes. More...
 
bool GetRenderEmptyImages ()
 Returns true when the compositor should not use the empty images optimization. More...
 
unsigned long GetUpdateTimeStamp ()
 Provides access to the time when Update() was last called. More...
 
void CopyViewUpdateOptions (vtkPVRenderView *otherView)
 Copy internal fields that are used for rendering decision such as remote/local rendering, composite and so on. More...
 
virtual void SetInteractionMode (int mode)
 Get/Set the interaction mode. More...
 
virtual int GetInteractionMode ()
 Get/Set the interaction mode. More...
 
virtual void SetSize (int, int)
 Overridden to call InvalidateCachedSelection() whenever the render window parameters change. More...
 
virtual void SetPosition (int, int)
 Overridden to call InvalidateCachedSelection() whenever the render window parameters change. More...
 
virtual vtkRenderer * GetNonCompositedRenderer ()
 Gets the non-composited renderer for this view. More...
 
vtkCamera * GetActiveCamera ()
 Get/Set the active camera. More...
 
virtual void SetActiveCamera (vtkCamera *)
 Get/Set the active camera. More...
 
virtual vtkPVInteractorStyleGetInteractorStyle ()
 Returns the interactor style. More...
 
void ResetCamera ()
 Resets the active camera using collective prop-bounds. More...
 
void ResetCamera (double bounds[6])
 Resets the active camera using collective prop-bounds. More...
 
virtual void SetStillRenderImageReductionFactor (int)
 Get/Set the reduction-factor to use when for StillRender(). More...
 
virtual int GetStillRenderImageReductionFactor ()
 Get/Set the reduction-factor to use when for StillRender(). More...
 
virtual void SetInteractiveRenderImageReductionFactor (int)
 Get/Set the reduction-factor to use when for InteractiveRender(). More...
 
virtual int GetInteractiveRenderImageReductionFactor ()
 Get/Set the reduction-factor to use when for InteractiveRender(). More...
 
virtual void SetRemoteRenderingThreshold (double)
 Get/Set the data-size in megabytes above which remote-rendering should be used, if possible. More...
 
virtual double GetRemoteRenderingThreshold ()
 Get/Set the data-size in megabytes above which remote-rendering should be used, if possible. More...
 
virtual void SetLODRenderingThreshold (double)
 Get/Set the data-size in megabytes above which LOD rendering should be used, if possible. More...
 
virtual double GetLODRenderingThreshold ()
 Get/Set the data-size in megabytes above which LOD rendering should be used, if possible. More...
 
virtual void SetLODResolution (double)
 Get/Set the LOD resolution. More...
 
virtual double GetLODResolution ()
 Get/Set the LOD resolution. More...
 
virtual void SetUseOutlineForLODRendering (bool)
 When set to true, instead of using simplified geometry for LOD rendering, uses outline, if possible. More...
 
virtual bool GetUseOutlineForLODRendering ()
 When set to true, instead of using simplified geometry for LOD rendering, uses outline, if possible. More...
 
void SetUseLightKit (bool enable)
 Enable/Disable light kit. More...
 
virtual bool GetUseLightKit ()
 Enable/Disable light kit. More...
 
virtual void UseLightKitOn ()
 Enable/Disable light kit. More...
 
virtual void UseLightKitOff ()
 Enable/Disable light kit. More...
 
void StreamingUpdate (const double view_planes[24])
 
void DeliverStreamedPieces (unsigned int size, unsigned int *representation_ids)
 
void SelectCells (int region[4])
 Make a selection. More...
 
void SelectCells (int region0, int region1, int region2, int region3)
 Make a selection. More...
 
void SelectPoints (int region[4])
 Make a selection. More...
 
void SelectPoints (int region0, int region1, int region2, int region3)
 Make a selection. More...
 
void Select (int field_association, int region[4])
 Make a selection. More...
 
void SelectPolygonPoints (int *polygon2DArray, vtkIdType arrayLen)
 Make a selection with a polygon. More...
 
void SelectPolygonCells (int *polygon2DArray, vtkIdType arrayLen)
 Make a selection with a polygon. More...
 
void SelectPolygon (int field_association, int *polygon2DArray, vtkIdType arrayLen)
 Make a selection with a polygon. More...
 
virtual vtkSelection * GetLastSelection ()
 Provides access to the last selection. More...
 
virtual void SetUseInteractiveRenderingForScreenshots (bool)
 Set or get whether capture should be done as StillRender or InteractiveRender when capturing screenshots. More...
 
virtual void UseInteractiveRenderingForScreenshotsOn ()
 Set or get whether capture should be done as StillRender or InteractiveRender when capturing screenshots. More...
 
virtual void UseInteractiveRenderingForScreenshotsOff ()
 Set or get whether capture should be done as StillRender or InteractiveRender when capturing screenshots. More...
 
virtual bool GetUseInteractiveRenderingForScreenshots ()
 Set or get whether capture should be done as StillRender or InteractiveRender when capturing screenshots. More...
 
virtual void SetUseOffscreenRenderingForScreenshots (bool)
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void UseOffscreenRenderingForScreenshotsOn ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void UseOffscreenRenderingForScreenshotsOff ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual bool GetUseOffscreenRenderingForScreenshots ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void SetUseOffscreenRendering (bool)
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual void UseOffscreenRenderingOn ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual void UseOffscreenRenderingOff ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual bool GetUseOffscreenRendering ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual void SetEGLDeviceIndex (int)
 Get/Set the EGL device index (graphics card) used for rendering. More...
 
virtual int GetEGLDeviceIndex ()
 Get/Set the EGL device index (graphics card) used for rendering. More...
 
virtual bool GetRemoteRenderingAvailable ()
 Returns if remote-rendering is possible on the current group of processes. More...
 
void RemoteRenderingAvailableOff ()
 Returns if remote-rendering is possible on the current group of processes. More...
 
virtual bool GetUsedLODForLastRender ()
 Returns true if the most recent render used LOD. More...
 
void SetLockBounds (bool nv)
 Used by Cinema to enforce a consistent viewpoint and depth scaling. More...
 
virtual bool GetLockBounds ()
 Used by Cinema to enforce a consistent viewpoint and depth scaling. More...
 
void RegisterPropForHardwareSelection (vtkPVDataRepresentation *repr, vtkProp *prop)
 Representations that support hardware (render-buffer based) selection, should register the prop that they use for selection rendering. More...
 
void UnRegisterPropForHardwareSelection (vtkPVDataRepresentation *repr, vtkProp *prop)
 Representations that support hardware (render-buffer based) selection, should register the prop that they use for selection rendering. More...
 
void SetLightSwitch (bool enable)
 Turn on/off the default light in the 3D renderer. More...
 
bool GetLightSwitch ()
 Turn on/off the default light in the 3D renderer. More...
 
virtual void LightSwitchOn ()
 Turn on/off the default light in the 3D renderer. More...
 
virtual void LightSwitchOff ()
 Turn on/off the default light in the 3D renderer. More...
 
void SetShowAnnotation (bool val)
 Enable/disable showing of annotation for developers. More...
 
virtual void SetUpdateAnnotation (bool)
 Enable/disable showing of annotation for developers. More...
 
void SetAnnotationColor (double r, double g, double b)
 Set color of annotation text for developers. More...
 
virtual bool GetUseLODForInteractiveRender ()
 Returns whether the view will use LOD rendering for the next InteractiveRender() call based on the geometry sizes determined by the most recent call to Update(). More...
 
virtual bool GetUseDistributedRenderingForStillRender ()
 Returns whether the view will use distributed rendering for the next StillRender() call based on the geometry sizes determined by the most recent call to Update(). More...
 
virtual bool GetUseDistributedRenderingForInteractiveRender ()
 Returns whether the view will use distributed rendering for the next InteractiveRender() call based on the geometry sizes determined by the most recent calls to Update() and UpdateLOD(). More...
 
virtual vtkTypeUInt32 GetStillRenderProcesses ()
 Returns the processes (vtkPVSession::ServerFlags) that are to be involved in the next StillRender() call based on the decisions made during the most recent Update(). More...
 
virtual vtkTypeUInt32 GetInteractiveRenderProcesses ()
 Returns the processes (vtkPVSession::ServerFlags) that are to be involved in the next InteractiveRender() call based on the decisions made during the most recent Update() and UpdateLOD(). More...
 
virtual void SetUseFXAA (bool)
 Enable/disable FXAA antialiasing. More...
 
virtual bool GetUseFXAA ()
 Enable/disable FXAA antialiasing. More...
 
void SetFXAARelativeContrastThreshold (double val)
 FXAA tunable parameters. More...
 
void SetFXAAHardContrastThreshold (double val)
 FXAA tunable parameters. More...
 
void SetFXAASubpixelBlendLimit (double val)
 FXAA tunable parameters. More...
 
void SetFXAASubpixelContrastThreshold (double val)
 FXAA tunable parameters. More...
 
void SetFXAAUseHighQualityEndpoints (bool val)
 FXAA tunable parameters. More...
 
void SetFXAAEndpointSearchIterations (int val)
 FXAA tunable parameters. More...
 
void AddPropToRenderer (vtkProp *prop)
 Add props directly to the view. More...
 
void RemovePropFromRenderer (vtkProp *prop)
 Add props directly to the view. More...
 
void SetDrawCells (bool choice)
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void SetArrayNameToDraw (const char *name)
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void SetArrayNumberToDraw (int fieldAttributeType)
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void SetArrayComponentToDraw (int comp)
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void SetScalarRange (double min, double max)
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void BeginValueCapture ()
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void EndValueCapture ()
 Tells view that it should draw a particular array component to the screen such that the pixels can be read back and decoded to obtain the values. More...
 
void SetValueRenderingModeCommand (int mode)
 Current rendering mode of vtkValuePass (float or invertible RGB). More...
 
int GetValueRenderingModeCommand ()
 Current rendering mode of vtkValuePass (float or invertible RGB). More...
 
void CaptureValuesFloat ()
 Access to vtkValuePass::FLOATING_POINT mode rendered image. More...
 
vtkFloatArray * GetCapturedValuesFloat ()
 Access to vtkValuePass::FLOATING_POINT mode rendered image. More...
 
void StartCaptureLuminance ()
 Tells views that it should draw the lighting contributions to the framebuffer. More...
 
void StopCaptureLuminance ()
 Tells views that it should draw the lighting contributions to the framebuffer. More...
 
void CaptureZBuffer ()
 Access to the Z buffer. More...
 
vtkFloatArray * GetCapturedZBuffer ()
 Access to the Z buffer. More...
 
void SetEnableOSPRay (bool)
 Switches between rasterization and ray tracing. More...
 
bool GetEnableOSPRay ()
 Switches between rasterization and ray tracing. More...
 
void SetShadows (bool)
 Controls whether OSPRay sends casts shadow rays or not. More...
 
bool GetShadows ()
 Controls whether OSPRay sends casts shadow rays or not. More...
 
void SetAmbientOcclusionSamples (int)
 Sets the number of occlusion query rays that OSPRay sends at each intersection. More...
 
int GetAmbientOcclusionSamples ()
 Sets the number of occlusion query rays that OSPRay sends at each intersection. More...
 
void SetSamplesPerPixel (int)
 Set the number of primary rays that OSPRay shoots per pixel. More...
 
int GetSamplesPerPixel ()
 Set the number of primary rays that OSPRay shoots per pixel. More...
 
void SetMaxFrames (int)
 Set the number of render passes OSPRay takes to accumulate subsampled color results. More...
 
int GetMaxFrames ()
 Set the number of render passes OSPRay takes to accumulate subsampled color results. More...
 
void SetLightScale (double)
 Dimish or Amplify all lights in the scene. More...
 
double GetLightScale ()
 Dimish or Amplify all lights in the scene. More...
 
void ClearOrderedCompositingInformation ()
 Pass the structured-meta-data for determining rendering order for ordered compositing. More...
 
- Public Member Functions inherited from vtkPVView
void PrintSelf (ostream &os, vtkIndent indent)
 
bool InTileDisplayMode ()
 Returns true if the application is currently in tile display mode. More...
 
bool InCaveDisplayMode ()
 Returns true if the application is currently in cave/immersive display mode. More...
 
bool GetLocalProcessSupportsInteraction ()
 Returns true if the local process can support interaction. More...
 
virtual unsigned int GetIdentifier ()
 
virtual int * GetPosition ()
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int &, int &)
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int [2])
 Set the position on this view in the multiview configuration. More...
 
virtual int * GetSize ()
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int &, int &)
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int [2])
 Set the size of this view in the multiview configuration. More...
 
bool SynchronizeBounds (double bounds[6])
 This encapsulates a whole lot of logic for communication between processes. More...
 
bool SynchronizeSize (double &size)
 This encapsulates a whole lot of logic for communication between processes. More...
 
bool SynchronizeSize (unsigned int &size)
 This encapsulates a whole lot of logic for communication between processes. More...
 
virtual void SetViewTime (double value)
 Get/Set the time this view is showing. More...
 
virtual double GetViewTime ()
 Get/Set the time this view is showing. More...
 
virtual void SetCacheKey (double)
 Get/Set the cache key. More...
 
virtual double GetCacheKey ()
 Get/Set the cache key. More...
 
virtual void SetUseCache (bool)
 Get/Set whether caching is enabled. More...
 
virtual bool GetUseCache ()
 Get/Set whether caching is enabled. More...
 
virtual void PrepareForScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 
virtual void CleanupAfterScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 

Static Public Member Functions

static vtkPVMultiSliceViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVMultiSliceViewSafeDownCast (vtkObject *o)
 
static void SetAxisTitle (vtkInformation *info, int axis, const char *title)
 
static void SetDataBounds (vtkInformation *info, const double bounds[6])
 
- Static Public Member Functions inherited from vtkPVRenderView
static vtkPVRenderViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVRenderViewSafeDownCast (vtkObject *o)
 
static vtkInformationIntegerKey * USE_LOD ()
 USE_LOD indicates if LOD is being used for the current render/update. More...
 
static vtkInformationDoubleKey * LOD_RESOLUTION ()
 Indicates the LOD resolution in REQUEST_UPDATE_LOD() pass. More...
 
static vtkInformationIntegerKey * USE_OUTLINE_FOR_LOD ()
 Indicates the LOD must use outline if possible in REQUEST_UPDATE_LOD() pass. More...
 
static vtkInformationIntegerKey * RENDER_EMPTY_IMAGES ()
 Representation can publish this key in their REQUEST_INFORMATION() pass to indicate that the representation needs to disable IceT's empty image optimization. More...
 
static vtkInformationIntegerKey * NEED_ORDERED_COMPOSITING ()
 Representation can publish this key in their REQUEST_INFORMATION() pass to indicate that the representation needs ordered compositing. More...
 
static vtkInformationDoubleVectorKey * VIEW_PLANES ()
 Key used to pass meta-data about the view frustum in REQUEST_STREAMING_UPDATE() pass. More...
 
static vtkInformationRequestKey * REQUEST_STREAMING_UPDATE ()
 Streaming pass request. More...
 
static vtkInformationRequestKey * REQUEST_PROCESS_STREAMED_PIECE ()
 Pass to relay the streamed "piece" to the representations. More...
 
static void SetDeliverToAllProcesses (vtkInformation *info, vtkPVDataRepresentation *repr, bool clone)
 Requests the view to deliver the pieces produced by the repr to all processes after a gather to the root node to merge the datasets generated by each process. More...
 
static void SetDeliverToClientAndRenderingProcesses (vtkInformation *info, vtkPVDataRepresentation *repr, bool deliver_to_client, bool gather_before_delivery)
 Requests the view to deliver the data to the client always. More...
 
static void SetForceDataDistributionMode (vtkInformation *info, int flag)
 This is an temporary/experimental option and may be removed without notice. More...
 
static void SetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0)
 Convenience methods used by representations to pass represented data. More...
 
static vtkAlgorithmOutput * GetPieceProducer (vtkInformation *info, vtkPVDataRepresentation *repr)
 Convenience methods used by representations to pass represented data. More...
 
static void SetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data)
 Convenience methods used by representations to pass represented data. More...
 
static vtkAlgorithmOutput * GetPieceProducerLOD (vtkInformation *info, vtkPVDataRepresentation *repr)
 Convenience methods used by representations to pass represented data. More...
 
static void MarkAsRedistributable (vtkInformation *info, vtkPVDataRepresentation *repr, bool value=true)
 Convenience methods used by representations to pass represented data. More...
 
static void SetGeometryBounds (vtkInformation *info, double bounds[6], vtkMatrix4x4 *transform=NULL)
 Convenience methods used by representations to pass represented data. More...
 
static void SetStreamable (vtkInformation *info, vtkPVDataRepresentation *repr, bool streamable)
 Convenience methods used by representations to pass represented data. More...
 
static void SetNextStreamedPiece (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *piece)
 Convenience methods used by representations to pass represented data. More...
 
static vtkDataObject * GetCurrentStreamedPiece (vtkInformation *info, vtkPVDataRepresentation *repr)
 Convenience methods used by representations to pass represented data. More...
 
static void SetRequiresDistributedRendering (vtkInformation *info, vtkPVDataRepresentation *repr, bool value, bool for_lod=false)
 Some representation only work when remote rendering or local rendering. More...
 
static void SetRequiresDistributedRenderingLOD (vtkInformation *info, vtkPVDataRepresentation *repr, bool value)
 Some representation only work when remote rendering or local rendering. More...
 
static void SetOrderedCompositingInformation (vtkInformation *info, vtkPVDataRepresentation *repr, vtkExtentTranslator *translator, const int whole_extents[6], const double origin[3], const double spacing[3])
 Pass the structured-meta-data for determining rendering order for ordered compositing. More...
 
static void SetOrderedCompositingInformation (vtkInformation *info, const double bounds[6])
 Pass the structured-meta-data for determining rendering order for ordered compositing. More...
 
- Static Public Member Functions inherited from vtkPVView
static int IsTypeOf (const char *type)
 
static vtkPVViewSafeDownCast (vtkObject *o)
 
static void SetEnableStreaming (bool)
 
static bool GetEnableStreaming ()
 
static vtkInformationObjectBaseKey * VIEW ()
 Key used to pass the vtkPVView pointer to the representation during any of the view passes such as REQUEST_UPDATE(), REQUEST_UPDATE_LOD(), REQUEST_RENDER(), etc. More...
 
static vtkInformationRequestKey * REQUEST_UPDATE ()
 This is a Update-Data pass. More...
 
static vtkInformationRequestKey * REQUEST_UPDATE_LOD ()
 This is a Update-LOD-Data pass. More...
 
static vtkInformationRequestKey * REQUEST_RENDER ()
 This is a render pass. More...
 

Protected Member Functions

 vtkPVMultiSliceView ()
 
 ~vtkPVMultiSliceView ()
 
virtual void AboutToRenderOnLocalProcess (bool interactive)
 Called just before the local process renders. More...
 
void SetNumberOfSlices (int type, unsigned int count)
 
void SetSlices (int type, const double *values)
 
const char * GetAxisLabel (int axis) const
 
- Protected Member Functions inherited from vtkPVRenderView
 vtkPVRenderView ()
 
 ~vtkPVRenderView ()
 
virtual void Render (bool interactive, bool skip_rendering)
 Actual render method. More...
 
bool ShouldUseDistributedRendering (double geometry_size, bool using_lod)
 Returns true if distributed rendering should be used based on the geometry size. More...
 
bool ShouldUseLODRendering (double geometry)
 Returns true if LOD rendering should be used based on the geometry size. More...
 
bool IsProcessRenderingGeometriesForCompositing (bool using_distributed_rendering)
 Returns true if the local process is invovled in rendering composited geometry i.e. More...
 
void SynchronizeGeometryBounds ()
 Synchronizes bounds information on all nodes. More...
 
void SetLastSelection (vtkSelection *)
 Set the last selection object. More...
 
virtual void UpdateCenterAxes ()
 UpdateCenterAxes(). More...
 
bool GetLocalProcessDoesRendering (bool using_distributed_rendering)
 Returns true if the local process is doing to do actual render or displaying an image in a viewport. More...
 
bool TestCollaborationCounter ()
 In multi-clients mode, ensures that all processes are in the same "state" as far as the view is concerned. More...
 
void SynchronizeForCollaboration ()
 Synchronizes remote-rendering related parameters for collaborative rendering in multi-clients mode. More...
 
virtual void BuildAnnotationText (ostream &str)
 Method to build annotation text to annotate the view with runtime information. More...
 
bool PrepareSelect (int fieldAssociation)
 Prepare for selection. More...
 
void PostSelect (vtkSelection *sel)
 Post process after selection. More...
 
virtual void AddRepresentationInternal (vtkDataRepresentation *rep)
 Overridden to assign IDs to each representation. More...
 
virtual void RemoveRepresentationInternal (vtkDataRepresentation *rep)
 Overridden to assign IDs to each representation. More...
 
virtual unsigned int GetSynchronizationCounter ()
 SynchronizationCounter is used in multi-clients mode to ensure that the views on two different clients are in the same state as the server side. More...
 
virtual bool GetMakingSelection ()
 Returns true is currently generating a selection. More...
 
- Protected Member Functions inherited from vtkPVView
 vtkPVView ()
 
 ~vtkPVView ()
 
void CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply)
 Subclasses can use this method to trigger a pass on all representations. More...
 

Protected Attributes

vtkNew< vtkMatrix4x4 > ModelTransformationMatrix
 
vtkTimeStamp ModelTransformationMatrixUpdateTime
 
- Protected Attributes inherited from vtkPVRenderView
vtkLight * Light
 
vtkLightKit * LightKit
 
vtkRenderViewBase * RenderView
 
vtkRenderer * NonCompositedRenderer
 
vtkPVSynchronizedRendererSynchronizedRenderers
 
vtkSmartPointer< vtkRenderWindowInteractor > Interactor
 
vtkInteractorStyleRubberBand3D * RubberBandStyle
 
vtkInteractorStyleRubberBandZoom * RubberBandZoom
 
vtkInteractorStyleDrawPolygon * PolygonStyle
 
vtkPVCenterAxesActorCenterAxes
 
vtkPVAxesWidgetOrientationWidget
 
vtkPVHardwareSelectorSelector
 
vtkSelection * LastSelection
 
vtkSmartPointer< vtkPVGridAxes3DActorGridAxes3DActor
 
int StillRenderImageReductionFactor
 
int InteractiveRenderImageReductionFactor
 
int InteractionMode
 
bool ShowAnnotation
 
bool UpdateAnnotation
 
vtkPVInteractorStyleTwoDInteractorStyle
 
vtkPVInteractorStyleThreeDInteractorStyle
 
vtkPVInteractorStyleInteractorStyle
 
unsigned int SynchronizationCounter
 
double RemoteRenderingThreshold
 
double LODRenderingThreshold
 
vtkBoundingBox GeometryBounds
 
bool UseOffscreenRendering
 
int EGLDeviceIndex
 
bool UseOffscreenRenderingForScreenshots
 
bool UseInteractiveRenderingForScreenshots
 
bool NeedsOrderedCompositing
 
bool RenderEmptyImages
 
bool UseFXAA
 
vtkNew< vtkFXAAOptions > FXAAOptions
 
double LODResolution
 
bool UseLightKit
 
bool UsedLODForLastRender
 
bool UseLODForInteractiveRender
 
bool UseOutlineForLODRendering
 
bool UseDistributedRenderingForStillRender
 
bool UseDistributedRenderingForInteractiveRender
 
vtkTypeUInt32 StillRenderProcesses
 
vtkTypeUInt32 InteractiveRenderProcesses
 
vtkTimeStamp UpdateTimeStamp
 Keeps track of the time when vtkPVRenderView::Update() was called. More...
 
vtkTimeStamp PriorityQueueBuildTimeStamp
 Keeps track of the time when the priority-queue for streaming was generated. More...
 
bool LockBounds
 
- Protected Attributes inherited from vtkPVView
vtkPVSynchronizedRenderWindowsSynchronizedWindows
 
unsigned int Identifier
 Every view gets a unique identifier that it uses to register itself with the SynchronizedWindows. More...
 
double CacheKey
 
bool UseCache
 
int Size [2]
 
int Position [2]
 
vtkInformation * RequestInformation
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
vtkInformationVector * ReplyInformationVector
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
double ViewTime
 Subclasses can use this method to trigger a pass on all representations. More...
 

Detailed Description

vtkPVMultiSliceView extends vtkPVRenderView but add meta-data informations used by SliceRepresentation as a data model.

Definition at line 33 of file vtkPVMultiSliceView.h.

Member Typedef Documentation

§ Superclass

Definition at line 37 of file vtkPVMultiSliceView.h.

Constructor & Destructor Documentation

§ vtkPVMultiSliceView()

vtkPVMultiSliceView::vtkPVMultiSliceView ( )
protected

§ ~vtkPVMultiSliceView()

vtkPVMultiSliceView::~vtkPVMultiSliceView ( )
protected

Member Function Documentation

§ New()

static vtkPVMultiSliceView* vtkPVMultiSliceView::New ( )
static

§ GetClassName()

virtual const char* vtkPVMultiSliceView::GetClassName ( )
virtual

Reimplemented from vtkPVRenderView.

Reimplemented in vtkPVOrthographicSliceView.

§ IsTypeOf()

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

§ IsA()

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

Reimplemented from vtkPVRenderView.

Reimplemented in vtkPVOrthographicSliceView.

§ SafeDownCast()

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

§ PrintSelf()

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

§ Update()

virtual void vtkPVMultiSliceView::Update ( )
virtual

Overridden to synchronize information among processes whenever data changes.

The vtkSMViewProxy ensures that this method is called only when something has changed on the view-proxy or one of its representations or their inputs. Hence it's okay to do some extra inter-process communication here.

Reimplemented from vtkPVRenderView.

Reimplemented in vtkPVOrthographicSliceView.

§ SetNumberOfXSlices()

void vtkPVMultiSliceView::SetNumberOfXSlices ( unsigned int  count)
inline

Definition at line 42 of file vtkPVMultiSliceView.h.

§ SetXSlices()

void vtkPVMultiSliceView::SetXSlices ( const double *  values)
inline

Definition at line 43 of file vtkPVMultiSliceView.h.

§ SetNumberOfYSlices()

void vtkPVMultiSliceView::SetNumberOfYSlices ( unsigned int  count)
inline

Definition at line 44 of file vtkPVMultiSliceView.h.

§ SetYSlices()

void vtkPVMultiSliceView::SetYSlices ( const double *  values)
inline

Definition at line 45 of file vtkPVMultiSliceView.h.

§ SetNumberOfZSlices()

void vtkPVMultiSliceView::SetNumberOfZSlices ( unsigned int  count)
inline

Definition at line 46 of file vtkPVMultiSliceView.h.

§ SetZSlices()

void vtkPVMultiSliceView::SetZSlices ( const double *  values)
inline

Definition at line 47 of file vtkPVMultiSliceView.h.

§ GetSlices()

const std::vector<double>& vtkPVMultiSliceView::GetSlices ( int  axis) const

§ GetXSlices()

const std::vector<double>& vtkPVMultiSliceView::GetXSlices ( ) const
inline

Definition at line 50 of file vtkPVMultiSliceView.h.

§ GetYSlices()

const std::vector<double>& vtkPVMultiSliceView::GetYSlices ( ) const
inline

Definition at line 51 of file vtkPVMultiSliceView.h.

§ GetZSlices()

const std::vector<double>& vtkPVMultiSliceView::GetZSlices ( ) const
inline

Definition at line 52 of file vtkPVMultiSliceView.h.

§ GetDataBounds()

void vtkPVMultiSliceView::GetDataBounds ( double  bounds[6]) const

§ GetXAxisLabel()

const char* vtkPVMultiSliceView::GetXAxisLabel ( ) const
inline

Definition at line 57 of file vtkPVMultiSliceView.h.

§ GetYAxisLabel()

const char* vtkPVMultiSliceView::GetYAxisLabel ( ) const
inline

Definition at line 58 of file vtkPVMultiSliceView.h.

§ GetZAxisLabel()

const char* vtkPVMultiSliceView::GetZAxisLabel ( ) const
inline

Definition at line 59 of file vtkPVMultiSliceView.h.

§ GetAxisLabels()

const vtkClientServerStream& vtkPVMultiSliceView::GetAxisLabels ( ) const

§ SetAxisTitle()

static void vtkPVMultiSliceView::SetAxisTitle ( vtkInformation *  info,
int  axis,
const char *  title 
)
static

§ SetDataBounds()

static void vtkPVMultiSliceView::SetDataBounds ( vtkInformation *  info,
const double  bounds[6] 
)
static

§ SetModelTransformationMatrix()

void vtkPVMultiSliceView::SetModelTransformationMatrix ( vtkMatrix4x4 *  )

§ AboutToRenderOnLocalProcess()

virtual void vtkPVMultiSliceView::AboutToRenderOnLocalProcess ( bool  interactive)
protectedvirtual

Called just before the local process renders.

This is only called on the nodes where the rendering is going to happen.

Reimplemented from vtkPVRenderView.

Reimplemented in vtkPVOrthographicSliceView.

§ SetNumberOfSlices()

void vtkPVMultiSliceView::SetNumberOfSlices ( int  type,
unsigned int  count 
)
protected

§ SetSlices()

void vtkPVMultiSliceView::SetSlices ( int  type,
const double *  values 
)
protected

§ GetAxisLabel()

const char* vtkPVMultiSliceView::GetAxisLabel ( int  axis) const
protected

Member Data Documentation

§ ModelTransformationMatrix

vtkNew<vtkMatrix4x4> vtkPVMultiSliceView::ModelTransformationMatrix
protected

Definition at line 82 of file vtkPVMultiSliceView.h.

§ ModelTransformationMatrixUpdateTime

vtkTimeStamp vtkPVMultiSliceView::ModelTransformationMatrixUpdateTime
protected

Definition at line 84 of file vtkPVMultiSliceView.h.


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