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

representation for showing vtkHyperTreeGrid as with optimized rendering for 2D datasets. More...

#include <vtkHyperTreeGridRepresentation.h>

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

Public Types

enum  RepresentationTypes { WIREFRAME = 1, SURFACE, SURFACE_WITH_EDGES }
 
typedef vtkPVDataRepresentation Superclass
 
- Public Types inherited from vtkPVDataRepresentation
enum  { SkippedUpdateDataEvent = vtkCommand::UserEvent + 91, UpdateTimeChangedEvent }
 
typedef vtkDataRepresentation Superclass
 
- Public Types inherited from vtkDataRepresentation
typedef vtkPassInputTypeAlgorithm Superclass
 
- Public Types inherited from vtkPassInputTypeAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
int ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
 vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More...
 
void SetVisibility (bool val) override
 Set the visibility for this representation. More...
 
virtual void SetRepresentation (const char *)
 Overload to set representation type using string. More...
 
vtkDataObjectGetRenderedDataObject (int port) override
 Returns the data object that is rendered from the given input port. More...
 
void SetUseOutline (int)
 Use Outline representation is NOT SUPPORTED by this representation. More...
 
virtual void SetMapScalars (bool val)
 Sets if scalars are mapped through a color-map or are used directly as colors (rgb). More...
 
virtual void SetStatic (int val)
 Turn on/off flag to control whether the mapper's data is static. More...
 
virtual void SetSelection (vtkSelection *selection)
 Sets the selection used by the mapper. More...
 
vtkActorGetActor ()
 Provides access to the actor used by this representation. More...
 
const char * GetColorArrayName ()
 Convenience method to get the array name used to scalar color with. More...
 
virtual void SetShaderReplacements (const char *)
 Specify shader replacements using a Json string. More...
 
virtual bool GetAdaptiveDecimation ()
 Use adaptive decimation to only render the part inside the camera frustum. More...
 
virtual void SetAdaptiveDecimation (bool)
 Use adaptive decimation to only render the part inside the camera frustum. More...
 
virtual void AdaptiveDecimationOn ()
 Use adaptive decimation to only render the part inside the camera frustum. More...
 
virtual void AdaptiveDecimationOff ()
 Use adaptive decimation to only render the part inside the camera frustum. More...
 
virtual void SetAmbient (double)
 Set/Get the lighting properties of the object. More...
 
virtual void SetDiffuse (double)
 Set/Get the lighting properties of the object. More...
 
virtual void SetSpecular (double)
 Set/Get the lighting properties of the object. More...
 
virtual double GetAmbient ()
 Set/Get the lighting properties of the object. More...
 
virtual double GetDiffuse ()
 Set/Get the lighting properties of the object. More...
 
virtual double GetSpecular ()
 Set/Get the lighting properties of the object. More...
 
virtual void SetRepresentation (int)
 Set the representation type: WIREFRAME SURFACE SURFACE_WITH_EDGES. More...
 
virtual int GetRepresentation ()
 Set the representation type: WIREFRAME SURFACE SURFACE_WITH_EDGES. More...
 
virtual void SetAmbientColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetBaseIOR (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetBaseColorTexture (vtkTexture *tex)
 Forwarded to vtkProperty. More...
 
virtual void SetCoatIOR (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetCoatStrength (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetCoatRoughness (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetCoatColor (double a, double b, double c)
 Forwarded to vtkProperty. More...
 
virtual void SetCoatNormalScale (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetDiffuseColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetEdgeColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetEdgeTint (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetEmissiveFactor (double rval, double gval, double bval)
 Forwarded to vtkProperty. More...
 
virtual void SetEmissiveTexture (vtkTexture *tex)
 Forwarded to vtkProperty. More...
 
virtual void SetInteractiveSelectionColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetInterpolation (int val)
 Forwarded to vtkProperty. More...
 
virtual void SetLineWidth (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetMaterial (std::string name)
 Forwarded to vtkProperty. More...
 
virtual void SetMaterialTexture (vtkTexture *tex)
 Forwarded to vtkProperty. More...
 
virtual void SetMetallic (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetNormalScale (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetNormalTexture (vtkTexture *tex)
 Forwarded to vtkProperty. More...
 
virtual void SetOcclusionStrength (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetOpacity (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetPointSize (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetRenderLinesAsTubes (bool)
 Forwarded to vtkProperty. More...
 
virtual void SetRenderPointsAsSpheres (bool)
 Forwarded to vtkProperty. More...
 
virtual void SetRoughness (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetSpecularColor (double r, double g, double b)
 Forwarded to vtkProperty. More...
 
virtual void SetSpecularPower (double val)
 Forwarded to vtkProperty. More...
 
virtual void SetFlipTextures (bool)
 Forwarded to Actor. More...
 
virtual void SetOrientation (double, double, double)
 Forwarded to Actor. More...
 
virtual void SetOrigin (double, double, double)
 Forwarded to Actor. More...
 
virtual void SetPickable (int val)
 Forwarded to Actor. More...
 
virtual void SetPosition (double, double, double)
 Forwarded to Actor. More...
 
virtual void SetScale (double, double, double)
 Forwarded to Actor. More...
 
virtual void SetTexture (vtkTexture *)
 Forwarded to Actor. More...
 
virtual void SetUserTransform (const double[16])
 Forwarded to Actor. More...
 
virtual void SetEnableScaling (int val)
 Forwarded to OSPray (via the Actor) More...
 
virtual void SetScalingArrayName (const char *val)
 Forwarded to OSPray (via the Actor) More...
 
virtual void SetScalingFunction (vtkPiecewiseFunction *pwf)
 Forwarded to OSPray (via the Actor) More...
 
virtual void SetMaterial (const char *val)
 Forwarded to OSPray (via the Actor) More...
 
virtual void SetLuminosity (double val)
 Forwarded to OSPray (via the Actor) More...
 
virtual void SetRepeatTextures (bool)
 Forwarded to all textures (and stored for later re-use) More...
 
virtual bool GetRepeatTextures ()
 Forwarded to all textures (and stored for later re-use) More...
 
virtual void SetInterpolateTextures (bool)
 Forwarded to all textures (and stored for later re-use) More...
 
virtual bool GetInterpolateTextures ()
 Forwarded to all textures (and stored for later re-use) More...
 
virtual void SetUseMipmapTextures (bool)
 Forwarded to all textures (and stored for later re-use) More...
 
virtual bool GetUseMipmapTextures ()
 Forwarded to all textures (and stored for later re-use) More...
 
virtual void SetInterpolateScalarsBeforeMapping (int val)
 Forwarded to Mapper and LODMapper. More...
 
virtual void SetLookupTable (vtkScalarsToColors *val)
 Forwarded to Mapper and LODMapper. More...
 
virtual void SetUseShaderReplacements (bool)
 Specify whether or not to shader replacements string must be used. More...
 
virtual bool GetUseShaderReplacements ()
 Specify whether or not to shader replacements string must be used. More...
 
- Public Member Functions inherited from vtkPVDataRepresentation
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void MarkModified ()
 This is one of the most important functions. More...
 
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 vtkDataObjectGetRenderedDataObject (int vtkNotUsed(port))
 Returns the data object that is rendered from the given input port. More...
 
double GetCacheKey () const
 Returns the cache-key the representation is currently using. More...
 
vtkAlgorithmOutputGetInternalOutputPort () override
 Retrieves an output port for the input data object at the specified port and connection index. More...
 
vtkAlgorithmOutputGetInternalOutputPort (int port) override
 
vtkAlgorithmOutputGetInternalOutputPort (int port, int conn) override
 
vtkViewGetView () const
 Provides access to the view. More...
 
vtkMTimeType GetPipelineDataTime ()
 Returns the timestamp when RequestData was executed on the representation. More...
 
bool GetNeedsUpdate ()
 Returns true if the representation needs an update. More...
 
virtual void SetArrayIdNames (const char *vtkNotUsed(pointArray), const char *vtkNotUsed(cellArray))
 Specify the array names used for the selection. More...
 
virtual void SetUpdateTime (double time)
 Set the update time. More...
 
virtual double GetUpdateTime ()
 Set the update time. More...
 
virtual bool GetUpdateTimeValid ()
 Get whether the UpdateTime is valid. More...
 
void ResetUpdateTime ()
 Get whether the UpdateTime is valid. More...
 
virtual void SetForcedCacheKey (double val)
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual void SetForceUseCache (bool val)
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual double GetForcedCacheKey ()
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual bool GetForceUseCache ()
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
bool AddToView (vtkView *view) override
 Making these methods public. More...
 
bool RemoveFromView (vtkView *view) override
 Making these methods public. More...
 
virtual void SetLogName (const std::string &name)
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
const std::stringGetLogName () const
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
virtual bool GetHasTemporalPipeline ()
 This flag indicates if the representation is for a temporal pipeline. More...
 
virtual void SetHasTemporalPipeline (bool)
 This flag indicates if the representation is for a temporal pipeline. More...
 
void SetInputConnection (int port, vtkAlgorithmOutput *input) override
 Overridden to ensure that MarkModified is called. More...
 
void AddInputConnection (int port, vtkAlgorithmOutput *input) override
 Overridden to ensure that MarkModified is called. More...
 
- Public Member Functions inherited from vtkDataRepresentation
vtkDataRepresentationNewInstance () const
 
virtual void ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme))
 
virtual vtkSelectionConvertSelection (vtkView *view, vtkSelection *selection)
 
vtkAlgorithmOutputGetInputConnection (int port=0, int index=0)
 
vtkAnnotationLinkGetAnnotationLink ()
 
void SetAnnotationLink (vtkAnnotationLink *link)
 
void Select (vtkView *view, vtkSelection *selection)
 
void Select (vtkView *view, vtkSelection *selection, bool extend)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend)
 
virtual void SetSelectable (bool)
 
virtual bool GetSelectable ()
 
virtual void SelectableOn ()
 
virtual void SelectableOff ()
 
void UpdateSelection (vtkSelection *selection)
 
void UpdateSelection (vtkSelection *selection, bool extend)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port, int conn)
 
virtual void SetSelectionType (int)
 
virtual int GetSelectionType ()
 
virtual void SetSelectionArrayNames (vtkStringArray *names)
 
virtual vtkStringArrayGetSelectionArrayNames ()
 
virtual void SetSelectionArrayName (const char *name)
 
virtual const char * GetSelectionArrayName ()
 
vtkAlgorithmOutputGetInputConnection (int port=0, int index=0)
 
vtkAnnotationLinkGetAnnotationLink ()
 
void SetAnnotationLink (vtkAnnotationLink *link)
 
void Select (vtkView *view, vtkSelection *selection)
 
void Select (vtkView *view, vtkSelection *selection, bool extend)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend)
 
virtual void SetSelectable (bool)
 
virtual bool GetSelectable ()
 
virtual void SelectableOn ()
 
virtual void SelectableOff ()
 
void UpdateSelection (vtkSelection *selection)
 
void UpdateSelection (vtkSelection *selection, bool extend)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port, int conn)
 
virtual void SetSelectionType (int)
 
virtual int GetSelectionType ()
 
virtual void SetSelectionArrayNames (vtkStringArray *names)
 
virtual vtkStringArrayGetSelectionArrayNames ()
 
virtual void SetSelectionArrayName (const char *name)
 
virtual const char * GetSelectionArrayName ()
 
- Public Member Functions inherited from vtkPassInputTypeAlgorithm
vtkPassInputTypeAlgorithmNewInstance () const
 
vtkPolyDataGetPolyDataOutput ()
 
vtkStructuredPointsGetStructuredPointsOutput ()
 
vtkImageDataGetImageDataOutput ()
 
vtkStructuredGridGetStructuredGridOutput ()
 
vtkUnstructuredGridGetUnstructuredGridOutput ()
 
vtkRectilinearGridGetRectilinearGridOutput ()
 
vtkTableGetTableOutput ()
 
vtkGraphGetGraphOutput ()
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkHyperTreeGridRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkHyperTreeGridRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVDataRepresentation
static int IsTypeOf (const char *type)
 
static vtkPVDataRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkDataRepresentation
static vtkDataRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDataRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkPassInputTypeAlgorithm
static vtkPassInputTypeAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPassInputTypeAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkHyperTreeGridRepresentation ()
 
 ~vtkHyperTreeGridRepresentation () override
 
virtual void SetupDefaults ()
 This method is called in the constructor. More...
 
int FillInputPortInformation (int port, vtkInformation *info) override
 Fill input port information. More...
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Subclasses should override this to connect inputs to the internal pipeline as necessary. More...
 
bool AddToView (vtkView *view) override
 Adds the representation to the view. More...
 
bool RemoveFromView (vtkView *view) override
 Removes the representation to the view. More...
 
virtual void UpdateColoringParameters ()
 Passes on parameters to vtkProperty and vtkMapper. More...
 
virtual vtkActorGetRenderedProp ()
 Used in ConvertSelection to locate the prop used for actual rendering. More...
 
void UpdateShaderReplacements ()
 Update the mapper with the shader replacement strings if feature is enabled. More...
 
virtual bool NeedsOrderedCompositing ()
 Returns true if this representation has translucent geometry. More...
 
- Protected Member Functions inherited from vtkPVDataRepresentation
 vtkPVDataRepresentation ()
 
 ~vtkPVDataRepresentation () override
 
vtkExecutiveCreateDefaultExecutive () override
 Create a default executive. More...
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Overridden to invoke vtkCommand::UpdateDataEvent. More...
 
int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
- Protected Member Functions inherited from vtkDataRepresentation
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkDataRepresentation ()
 
 ~vtkDataRepresentation ()
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual bool AddToView (vtkView *vtkNotUsed(view))
 
virtual bool RemoveFromView (vtkView *vtkNotUsed(view))
 
virtual vtkAnnotationLayersConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations)
 
vtkTrivialProducerGetInternalInput (int port, int conn)
 
void SetInternalInput (int port, int conn, vtkTrivialProducer *producer)
 
virtual void SetAnnotationLinkInternal (vtkAnnotationLink *link)
 
- Protected Member Functions inherited from vtkPassInputTypeAlgorithm
 vtkPassInputTypeAlgorithm ()
 
 ~vtkPassInputTypeAlgorithm ()
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkNew< vtkOpenGLHyperTreeGridMapper > Mapper
 
bool AdaptiveDecimation = true
 
vtkNew< vtkPVLODActorActor
 
vtkNew< vtkPropertyProperty
 
int Representation = SURFACE
 
bool RepeatTextures = false
 
bool InterpolateTextures = false
 
bool UseMipmapTextures = false
 
double Ambient = 0.0
 
double Specular = 0.0
 
double Diffuse = 1.0
 
double VisibleDataBounds [6]
 
bool UseShaderReplacements = false
 
std::string ShaderReplacementsString
 
- Protected Attributes inherited from vtkPVDataRepresentation
double UpdateTime
 
bool UpdateTimeValid
 
unsigned int UniqueIdentifier
 
- Protected Attributes inherited from vtkDataRepresentation
bool Selectable
 
int SelectionType
 
vtkStringArraySelectionArrayNames
 
CommandObserver
 
vtkAnnotationLinkAnnotationLinkInternal
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

representation for showing vtkHyperTreeGrid as with optimized rendering for 2D datasets.

vtkHyperTreeGridRepresentation is a representation for showing HyperTreeGrid. When given a 2D dataset, the new HTG representation uses the specific HTG mapper that benefits from the AdaptiveDecimation filter to only render part that are shown on the camera frustum. This requires the Parallel Profection to be enabled.

Thanks:
This work was supported by CEA/DIF Commissariat a l'Energie Atomique, Centre DAM Ile-De-France, Arpajon, France.

Definition at line 36 of file vtkHyperTreeGridRepresentation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file vtkHyperTreeGridRepresentation.h.

Member Enumeration Documentation

◆ RepresentationTypes

Enumerator
WIREFRAME 
SURFACE 
SURFACE_WITH_EDGES 

Definition at line 88 of file vtkHyperTreeGridRepresentation.h.

Constructor & Destructor Documentation

◆ vtkHyperTreeGridRepresentation()

vtkHyperTreeGridRepresentation::vtkHyperTreeGridRepresentation ( )
protected

◆ ~vtkHyperTreeGridRepresentation()

vtkHyperTreeGridRepresentation::~vtkHyperTreeGridRepresentation ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkHyperTreeGridRepresentation* vtkHyperTreeGridRepresentation::New ( )
static

◆ GetClassName()

virtual const char* vtkHyperTreeGridRepresentation::GetClassName ( )
virtual

Reimplemented from vtkPVDataRepresentation.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkPVDataRepresentation.

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkHyperTreeGridRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkDataRepresentation.

◆ ProcessViewRequest()

int vtkHyperTreeGridRepresentation::ProcessViewRequest ( vtkInformationRequestKey request_type,
vtkInformation inInfo,
vtkInformation outInfo 
)
overridevirtual

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.

◆ SetVisibility()

void vtkHyperTreeGridRepresentation::SetVisibility ( bool  val)
overridevirtual

Set the visibility for this representation.

When the visibility of representation of false, all view passes are ignored.

Reimplemented from vtkPVDataRepresentation.

◆ GetAdaptiveDecimation()

virtual bool vtkHyperTreeGridRepresentation::GetAdaptiveDecimation ( )
virtual

Use adaptive decimation to only render the part inside the camera frustum.

Default to false, only works for 2D HTG with parallel projection.

◆ SetAdaptiveDecimation()

virtual void vtkHyperTreeGridRepresentation::SetAdaptiveDecimation ( bool  )
virtual

Use adaptive decimation to only render the part inside the camera frustum.

Default to false, only works for 2D HTG with parallel projection.

◆ AdaptiveDecimationOn()

virtual void vtkHyperTreeGridRepresentation::AdaptiveDecimationOn ( )
virtual

Use adaptive decimation to only render the part inside the camera frustum.

Default to false, only works for 2D HTG with parallel projection.

◆ AdaptiveDecimationOff()

virtual void vtkHyperTreeGridRepresentation::AdaptiveDecimationOff ( )
virtual

Use adaptive decimation to only render the part inside the camera frustum.

Default to false, only works for 2D HTG with parallel projection.

◆ SetAmbient()

virtual void vtkHyperTreeGridRepresentation::SetAmbient ( double  )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ SetDiffuse()

virtual void vtkHyperTreeGridRepresentation::SetDiffuse ( double  )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ SetSpecular()

virtual void vtkHyperTreeGridRepresentation::SetSpecular ( double  )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ GetAmbient()

virtual double vtkHyperTreeGridRepresentation::GetAmbient ( )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ GetDiffuse()

virtual double vtkHyperTreeGridRepresentation::GetDiffuse ( )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ GetSpecular()

virtual double vtkHyperTreeGridRepresentation::GetSpecular ( )
virtual

Set/Get the lighting properties of the object.

vtkHyperTreeGridRepresentation overrides these based of the following conditions:

  • When Representation is wireframe or points, it disables diffuse or specular.
  • When scalar coloring is employed, it disabled specular. Default vaules: Ambient = 0, Specular = 0, Diffuse = 1.

Values are expected to be between 0 and 1.

◆ SetRepresentation() [1/2]

virtual void vtkHyperTreeGridRepresentation::SetRepresentation ( int  )
virtual

Set the representation type: WIREFRAME SURFACE SURFACE_WITH_EDGES.

Default is SURFACE.

◆ GetRepresentation()

virtual int vtkHyperTreeGridRepresentation::GetRepresentation ( )
virtual

Set the representation type: WIREFRAME SURFACE SURFACE_WITH_EDGES.

Default is SURFACE.

◆ SetRepresentation() [2/2]

virtual void vtkHyperTreeGridRepresentation::SetRepresentation ( const char *  )
virtual

Overload to set representation type using string.

Accepted strings are: "Wireframe", "Surface" and "Surface With Edges".

◆ GetRenderedDataObject()

vtkDataObject* vtkHyperTreeGridRepresentation::GetRenderedDataObject ( int  port)
override

Returns the data object that is rendered from the given input port.

◆ SetUseOutline()

void vtkHyperTreeGridRepresentation::SetUseOutline ( int  )

Use Outline representation is NOT SUPPORTED by this representation.

◆ SetAmbientColor()

virtual void vtkHyperTreeGridRepresentation::SetAmbientColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetBaseIOR()

virtual void vtkHyperTreeGridRepresentation::SetBaseIOR ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetBaseColorTexture()

virtual void vtkHyperTreeGridRepresentation::SetBaseColorTexture ( vtkTexture tex)
virtual

Forwarded to vtkProperty.

◆ SetCoatIOR()

virtual void vtkHyperTreeGridRepresentation::SetCoatIOR ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetCoatStrength()

virtual void vtkHyperTreeGridRepresentation::SetCoatStrength ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetCoatRoughness()

virtual void vtkHyperTreeGridRepresentation::SetCoatRoughness ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetCoatColor()

virtual void vtkHyperTreeGridRepresentation::SetCoatColor ( double  a,
double  b,
double  c 
)
virtual

Forwarded to vtkProperty.

◆ SetCoatNormalScale()

virtual void vtkHyperTreeGridRepresentation::SetCoatNormalScale ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetColor()

virtual void vtkHyperTreeGridRepresentation::SetColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetDiffuseColor()

virtual void vtkHyperTreeGridRepresentation::SetDiffuseColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetEdgeColor()

virtual void vtkHyperTreeGridRepresentation::SetEdgeColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetEdgeTint()

virtual void vtkHyperTreeGridRepresentation::SetEdgeTint ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetEmissiveFactor()

virtual void vtkHyperTreeGridRepresentation::SetEmissiveFactor ( double  rval,
double  gval,
double  bval 
)
virtual

Forwarded to vtkProperty.

◆ SetEmissiveTexture()

virtual void vtkHyperTreeGridRepresentation::SetEmissiveTexture ( vtkTexture tex)
virtual

Forwarded to vtkProperty.

◆ SetInteractiveSelectionColor()

virtual void vtkHyperTreeGridRepresentation::SetInteractiveSelectionColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetInterpolation()

virtual void vtkHyperTreeGridRepresentation::SetInterpolation ( int  val)
virtual

Forwarded to vtkProperty.

◆ SetLineWidth()

virtual void vtkHyperTreeGridRepresentation::SetLineWidth ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetMaterial() [1/2]

virtual void vtkHyperTreeGridRepresentation::SetMaterial ( std::string  name)
virtual

Forwarded to vtkProperty.

◆ SetMaterialTexture()

virtual void vtkHyperTreeGridRepresentation::SetMaterialTexture ( vtkTexture tex)
virtual

Forwarded to vtkProperty.

◆ SetMetallic()

virtual void vtkHyperTreeGridRepresentation::SetMetallic ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetNormalScale()

virtual void vtkHyperTreeGridRepresentation::SetNormalScale ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetNormalTexture()

virtual void vtkHyperTreeGridRepresentation::SetNormalTexture ( vtkTexture tex)
virtual

Forwarded to vtkProperty.

◆ SetOcclusionStrength()

virtual void vtkHyperTreeGridRepresentation::SetOcclusionStrength ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetOpacity()

virtual void vtkHyperTreeGridRepresentation::SetOpacity ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetPointSize()

virtual void vtkHyperTreeGridRepresentation::SetPointSize ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetRenderLinesAsTubes()

virtual void vtkHyperTreeGridRepresentation::SetRenderLinesAsTubes ( bool  )
virtual

Forwarded to vtkProperty.

◆ SetRenderPointsAsSpheres()

virtual void vtkHyperTreeGridRepresentation::SetRenderPointsAsSpheres ( bool  )
virtual

Forwarded to vtkProperty.

◆ SetRoughness()

virtual void vtkHyperTreeGridRepresentation::SetRoughness ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetSpecularColor()

virtual void vtkHyperTreeGridRepresentation::SetSpecularColor ( double  r,
double  g,
double  b 
)
virtual

Forwarded to vtkProperty.

◆ SetSpecularPower()

virtual void vtkHyperTreeGridRepresentation::SetSpecularPower ( double  val)
virtual

Forwarded to vtkProperty.

◆ SetFlipTextures()

virtual void vtkHyperTreeGridRepresentation::SetFlipTextures ( bool  )
virtual

Forwarded to Actor.

◆ SetOrientation()

virtual void vtkHyperTreeGridRepresentation::SetOrientation ( double  ,
double  ,
double   
)
virtual

Forwarded to Actor.

◆ SetOrigin()

virtual void vtkHyperTreeGridRepresentation::SetOrigin ( double  ,
double  ,
double   
)
virtual

Forwarded to Actor.

◆ SetPickable()

virtual void vtkHyperTreeGridRepresentation::SetPickable ( int  val)
virtual

Forwarded to Actor.

◆ SetPosition()

virtual void vtkHyperTreeGridRepresentation::SetPosition ( double  ,
double  ,
double   
)
virtual

Forwarded to Actor.

◆ SetScale()

virtual void vtkHyperTreeGridRepresentation::SetScale ( double  ,
double  ,
double   
)
virtual

Forwarded to Actor.

◆ SetTexture()

virtual void vtkHyperTreeGridRepresentation::SetTexture ( vtkTexture )
virtual

Forwarded to Actor.

◆ SetUserTransform()

virtual void vtkHyperTreeGridRepresentation::SetUserTransform ( const double  [16])
virtual

Forwarded to Actor.

◆ SetEnableScaling()

virtual void vtkHyperTreeGridRepresentation::SetEnableScaling ( int  val)
virtual

Forwarded to OSPray (via the Actor)

◆ SetScalingArrayName()

virtual void vtkHyperTreeGridRepresentation::SetScalingArrayName ( const char *  val)
virtual

Forwarded to OSPray (via the Actor)

◆ SetScalingFunction()

virtual void vtkHyperTreeGridRepresentation::SetScalingFunction ( vtkPiecewiseFunction pwf)
virtual

Forwarded to OSPray (via the Actor)

◆ SetMaterial() [2/2]

virtual void vtkHyperTreeGridRepresentation::SetMaterial ( const char *  val)
virtual

Forwarded to OSPray (via the Actor)

◆ SetLuminosity()

virtual void vtkHyperTreeGridRepresentation::SetLuminosity ( double  val)
virtual

Forwarded to OSPray (via the Actor)

◆ SetRepeatTextures()

virtual void vtkHyperTreeGridRepresentation::SetRepeatTextures ( bool  )
virtual

Forwarded to all textures (and stored for later re-use)

◆ GetRepeatTextures()

virtual bool vtkHyperTreeGridRepresentation::GetRepeatTextures ( )
virtual

Forwarded to all textures (and stored for later re-use)

◆ SetInterpolateTextures()

virtual void vtkHyperTreeGridRepresentation::SetInterpolateTextures ( bool  )
virtual

Forwarded to all textures (and stored for later re-use)

◆ GetInterpolateTextures()

virtual bool vtkHyperTreeGridRepresentation::GetInterpolateTextures ( )
virtual

Forwarded to all textures (and stored for later re-use)

◆ SetUseMipmapTextures()

virtual void vtkHyperTreeGridRepresentation::SetUseMipmapTextures ( bool  )
virtual

Forwarded to all textures (and stored for later re-use)

◆ GetUseMipmapTextures()

virtual bool vtkHyperTreeGridRepresentation::GetUseMipmapTextures ( )
virtual

Forwarded to all textures (and stored for later re-use)

◆ SetInterpolateScalarsBeforeMapping()

virtual void vtkHyperTreeGridRepresentation::SetInterpolateScalarsBeforeMapping ( int  val)
virtual

Forwarded to Mapper and LODMapper.

◆ SetLookupTable()

virtual void vtkHyperTreeGridRepresentation::SetLookupTable ( vtkScalarsToColors val)
virtual

Forwarded to Mapper and LODMapper.

◆ SetMapScalars()

virtual void vtkHyperTreeGridRepresentation::SetMapScalars ( bool  val)
virtual

Sets if scalars are mapped through a color-map or are used directly as colors (rgb).

false: maps to VTK_COLOR_MODE_DIRECT_SCALARS true: maps to VTK_COLOR_MODE_MAP_SCALARS

See also
vtkScalarsToColors::MapScalars

◆ SetStatic()

virtual void vtkHyperTreeGridRepresentation::SetStatic ( int  val)
virtual

Turn on/off flag to control whether the mapper's data is static.

Static data means that the mapper does not propagate updates down the pipeline, greatly decreasing the time it takes to update many mappers. This should only be used if the data never changes.

◆ SetSelection()

virtual void vtkHyperTreeGridRepresentation::SetSelection ( vtkSelection selection)
virtual

Sets the selection used by the mapper.

◆ GetActor()

vtkActor* vtkHyperTreeGridRepresentation::GetActor ( )
inline

Provides access to the actor used by this representation.

Definition at line 231 of file vtkHyperTreeGridRepresentation.h.

◆ GetColorArrayName()

const char* vtkHyperTreeGridRepresentation::GetColorArrayName ( )

Convenience method to get the array name used to scalar color with.

Can return nullptr if:

  • GetInputArrayInformation returns nullptr, of
  • the Input array information has no FIELD_ASSOCIATION, or
  • the Input array information has no FIELD_NAME.

◆ SetUseShaderReplacements()

virtual void vtkHyperTreeGridRepresentation::SetUseShaderReplacements ( bool  )
virtual

Specify whether or not to shader replacements string must be used.

◆ GetUseShaderReplacements()

virtual bool vtkHyperTreeGridRepresentation::GetUseShaderReplacements ( )
virtual

Specify whether or not to shader replacements string must be used.

◆ SetShaderReplacements()

virtual void vtkHyperTreeGridRepresentation::SetShaderReplacements ( const char *  )
virtual

Specify shader replacements using a Json string.

Please refer to the XML definition of the property for details about the expected Json string format. Only used if UseShaderReplacements is true.

◆ SetupDefaults()

virtual void vtkHyperTreeGridRepresentation::SetupDefaults ( )
protectedvirtual

This method is called in the constructor.

If the subclasses override any of the iVar vtkObject's of this class e.g. the Mappers, GeometryFilter etc., they should call this method again in their constructor. It must be totally safe to call this method repeatedly.

◆ FillInputPortInformation()

int vtkHyperTreeGridRepresentation::FillInputPortInformation ( int  port,
vtkInformation info 
)
overrideprotectedvirtual

Fill input port information.

Reimplemented from vtkPassInputTypeAlgorithm.

◆ RequestData()

int vtkHyperTreeGridRepresentation::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

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 vtkDataRepresentation.

◆ AddToView()

bool vtkHyperTreeGridRepresentation::AddToView ( vtkView view)
overrideprotected

Adds the representation to the view.

This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.

◆ RemoveFromView()

bool vtkHyperTreeGridRepresentation::RemoveFromView ( vtkView view)
overrideprotected

Removes the representation to the view.

This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.

◆ UpdateColoringParameters()

virtual void vtkHyperTreeGridRepresentation::UpdateColoringParameters ( )
protectedvirtual

Passes on parameters to vtkProperty and vtkMapper.

◆ GetRenderedProp()

virtual vtkActor* vtkHyperTreeGridRepresentation::GetRenderedProp ( )
inlineprotectedvirtual

Used in ConvertSelection to locate the prop used for actual rendering.

Definition at line 309 of file vtkHyperTreeGridRepresentation.h.

◆ UpdateShaderReplacements()

void vtkHyperTreeGridRepresentation::UpdateShaderReplacements ( )
protected

Update the mapper with the shader replacement strings if feature is enabled.

◆ NeedsOrderedCompositing()

virtual bool vtkHyperTreeGridRepresentation::NeedsOrderedCompositing ( )
protectedvirtual

Returns true if this representation has translucent geometry.

Unlike vtkActor::HasTranslucentPolygonalGeometry which cannot be called in Update, this method can be called in Update i.e. before the mapper has all the data to decide if it is doing translucent rendering.

Member Data Documentation

◆ Mapper

vtkNew<vtkOpenGLHyperTreeGridMapper> vtkHyperTreeGridRepresentation::Mapper
protected

Definition at line 329 of file vtkHyperTreeGridRepresentation.h.

◆ AdaptiveDecimation

bool vtkHyperTreeGridRepresentation::AdaptiveDecimation = true
protected

Definition at line 330 of file vtkHyperTreeGridRepresentation.h.

◆ Actor

vtkNew<vtkPVLODActor> vtkHyperTreeGridRepresentation::Actor
protected

Definition at line 333 of file vtkHyperTreeGridRepresentation.h.

◆ Property

vtkNew<vtkProperty> vtkHyperTreeGridRepresentation::Property
protected

Definition at line 334 of file vtkHyperTreeGridRepresentation.h.

◆ Representation

int vtkHyperTreeGridRepresentation::Representation = SURFACE
protected

Definition at line 336 of file vtkHyperTreeGridRepresentation.h.

◆ RepeatTextures

bool vtkHyperTreeGridRepresentation::RepeatTextures = false
protected

Definition at line 338 of file vtkHyperTreeGridRepresentation.h.

◆ InterpolateTextures

bool vtkHyperTreeGridRepresentation::InterpolateTextures = false
protected

Definition at line 339 of file vtkHyperTreeGridRepresentation.h.

◆ UseMipmapTextures

bool vtkHyperTreeGridRepresentation::UseMipmapTextures = false
protected

Definition at line 340 of file vtkHyperTreeGridRepresentation.h.

◆ Ambient

double vtkHyperTreeGridRepresentation::Ambient = 0.0
protected

Definition at line 341 of file vtkHyperTreeGridRepresentation.h.

◆ Specular

double vtkHyperTreeGridRepresentation::Specular = 0.0
protected

Definition at line 342 of file vtkHyperTreeGridRepresentation.h.

◆ Diffuse

double vtkHyperTreeGridRepresentation::Diffuse = 1.0
protected

Definition at line 343 of file vtkHyperTreeGridRepresentation.h.

◆ VisibleDataBounds

double vtkHyperTreeGridRepresentation::VisibleDataBounds[6]
protected

Definition at line 344 of file vtkHyperTreeGridRepresentation.h.

◆ UseShaderReplacements

bool vtkHyperTreeGridRepresentation::UseShaderReplacements = false
protected

Definition at line 345 of file vtkHyperTreeGridRepresentation.h.

◆ ShaderReplacementsString

std::string vtkHyperTreeGridRepresentation::ShaderReplacementsString
protected

Definition at line 346 of file vtkHyperTreeGridRepresentation.h.


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