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

representation for showing any datasets as external shell of polygons. More...

#include <vtkGeometryRepresentation.h>

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

Public Types

enum  RepresentationTypes { POINTS = VTK_POINTS, WIREFRAME = VTK_WIREFRAME, SURFACE = VTK_SURFACE, SURFACE_WITH_EDGES = 3 }
 
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
 Get/Set the visibility for this representation. More...
 
virtual void SetSuppressLOD (bool suppress)
 Enable/Disable LOD;. 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...
 
virtual void SetNormalArray (const char *val)
 Set the normal array used for smooth shading. More...
 
virtual void SetTCoordArray (const char *val)
 Set the texture coordinates array used for texture mapping. More...
 
virtual void SetTangentArray (const char *val)
 Set the tangent coordinates array used for normal mapping. More...
 
virtual void SetUseOutline (int)
 
void SetTriangulate (int)
 
void SetNonlinearSubdivisionLevel (int)
 
void SetMatchBoundariesIgnoringCellOrder (int)
 
virtual void SetGenerateFeatureEdges (bool)
 
virtual void SetAmbientColor (double r, double g, double b)
 
virtual void SetColor (double r, double g, double b)
 
virtual void SetDiffuseColor (double r, double g, double b)
 
virtual void SetLighting (bool lighting)
 
virtual void SetEdgeColor (double r, double g, double b)
 
virtual void SetInteractiveSelectionColor (double r, double g, double b)
 
virtual void SetInterpolation (int val)
 
virtual void SetLineWidth (double val)
 
virtual void SetOpacity (double val)
 
virtual void SetEdgeOpacity (double val)
 
virtual void SetPointSize (double val)
 
virtual void SetSpecularColor (double r, double g, double b)
 
virtual void SetSpecularPower (double val)
 
virtual void SetLuminosity (double val)
 
virtual void SetRenderPointsAsSpheres (bool)
 
virtual void SetRenderLinesAsTubes (bool)
 
virtual void SetRoughness (double val)
 
virtual void SetMetallic (double val)
 
virtual void SetEdgeTint (double r, double g, double b)
 
virtual void SetAnisotropy (double val)
 
virtual void SetAnisotropyRotation (double val)
 
virtual void SetBaseIOR (double val)
 
virtual void SetCoatIOR (double val)
 
virtual void SetCoatStrength (double val)
 
virtual void SetCoatRoughness (double val)
 
virtual void SetCoatNormalScale (double val)
 
virtual void SetCoatColor (double r, double g, double b)
 
virtual void SetBaseColorTexture (vtkTexture *tex)
 
virtual void SetMaterialTexture (vtkTexture *tex)
 
virtual void SetAnisotropyTexture (vtkTexture *tex)
 
virtual void SetNormalTexture (vtkTexture *tex)
 
virtual void SetCoatNormalTexture (vtkTexture *tex)
 
virtual void SetEmissiveTexture (vtkTexture *tex)
 
virtual void SetNormalScale (double val)
 
virtual void SetOcclusionStrength (double val)
 
virtual void SetEmissiveFactor (double rval, double gval, double bval)
 
virtual void SetShowTexturesOnBackface (bool)
 
virtual void SetOrientation (double, double, double)
 
virtual void SetOrigin (double, double, double)
 
virtual void SetPickable (int val)
 
virtual void SetPosition (double, double, double)
 
virtual void SetScale (double, double, double)
 
virtual void SetTexture (vtkTexture *)
 
virtual void SetUserTransform (const double[16])
 
virtual void SetFlipTextures (bool)
 
virtual void SetTextureTransform (vtkTransform *)
 
virtual vtkTransformGetTextureTransform ()
 
virtual void SetRepeatTextures (bool)
 
virtual bool GetRepeatTextures ()
 
virtual void SetInterpolateTextures (bool)
 
virtual bool GetInterpolateTextures ()
 
virtual void SetUseMipmapTextures (bool)
 
virtual bool GetUseMipmapTextures ()
 
virtual void SetInterpolateScalarsBeforeMapping (int val)
 
virtual void SetLookupTable (vtkScalarsToColors *val)
 
virtual void SetColorMissingArraysWithNanColor (bool val)
 
virtual void SetSeamlessU (bool)
 
virtual void SetSeamlessV (bool)
 
virtual void SetSelection (vtkSelection *selection)
 Sets the selection used by the mapper. More...
 
vtkPVLODActorGetActor ()
 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 SetMaterial (const char *)
 For OSPRay, choose from among available materials. More...
 
virtual void SetShaderReplacements (const char *)
 Specify shader replacements using a Json string. More...
 
void SetArrayIdNames (const char *pointArray, const char *cellArray) override
 Specify the array names used for the selection. More...
 
void SetBlockColorsDistinctValues (int distinctValues)
 Determines the number of distinct values in vtkBlockColors See also vtkPVGeometryFilter. More...
 
int GetBlockColorsDistinctValues ()
 Determines the number of distinct values in vtkBlockColors See also vtkPVGeometryFilter. More...
 
virtual void DisableLightingOn ()
 Disables the lighting on the object. More...
 
virtual void DisableLightingOff ()
 Disables the lighting on the object. More...
 
virtual void SetDisableLighting (bool)
 Disables the lighting on the object. More...
 
virtual bool GetDisableLighting ()
 Disables the lighting on the object. More...
 
virtual void SetAmbient (double)
 Set the lighting properties of the object. More...
 
virtual void SetDiffuse (double)
 Set the lighting properties of the object. More...
 
virtual void SetSpecular (double)
 Set the lighting properties of the object. More...
 
virtual double GetAmbient ()
 Set the lighting properties of the object. More...
 
virtual double GetDiffuse ()
 Set the lighting properties of the object. More...
 
virtual double GetSpecular ()
 Set the lighting properties of the object. More...
 
void SetCoordinateShiftScaleMethod (int val)
 Set the shift scale method for the point coordinates see vtkOpenGLVertexBufferObject.h for more information. More...
 
int GetCoordinateShiftScaleMethod ()
 Set the shift scale method for the point coordinates see vtkOpenGLVertexBufferObject.h for more information. More...
 
virtual void SetRepresentation (int)
 Set the representation type. More...
 
virtual int GetRepresentation ()
 Set the representation type. More...
 
virtual void SetRequestGhostCellsIfNeeded (bool)
 Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice. More...
 
virtual bool GetRequestGhostCellsIfNeeded ()
 Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice. More...
 
virtual void RequestGhostCellsIfNeededOn ()
 Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice. More...
 
virtual void RequestGhostCellsIfNeededOff ()
 Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice. More...
 
virtual void SetMapScalars (int val)
 Sets if scalars are mapped through a color-map or are used directly as colors. More...
 
virtual void SetStatic (int val)
 Sets if scalars are mapped through a color-map or are used directly as colors. More...
 
virtual void SetActiveAssembly (const char *)
 Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities. More...
 
virtual char * GetActiveAssembly ()
 Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities. More...
 
void AddBlockSelector (const char *selector)
 Update list of selectors that determine the selected blocks. More...
 
void RemoveAllBlockSelectors ()
 Update list of selectors that determine the selected blocks. More...
 
void SetBlockColor (const char *selector, double r, double g, double b)
 Set the color for a single block. More...
 
void RemoveAllBlockColors ()
 Set the color for a single block. More...
 
void SetBlockOpacity (const char *selector, double opacity)
 Set the opacity for a single block. More...
 
void RemoveAllBlockOpacities ()
 Set the opacity for a single block. More...
 
void SetBlockInterpolateScalarsBeforeMapping (const char *selector, bool interpolate)
 Set if to interpolate scalars before mapping for a single block. More...
 
void RemoveAllBlockInterpolateScalarsBeforeMappings ()
 Set if to interpolate scalars before mapping for a single block. More...
 
void SetBlockMapScalars (const char *selector, int val)
 Set the block to map scalars for a single block. More...
 
void RemoveAllBlockMapScalars ()
 Set the block to map scalars for a single block. More...
 
void SetBlockArrayName (const char *selector, int assoc, const char *arrayName)
 Set the color array for a single block. More...
 
void RemoveAllBlockArrayNames ()
 Set the color array for a single block. More...
 
void SetBlockLookupTableSelector (const char *selector)
 Set the look up table for a single block. More...
 
void RemoveAllBlockLookupTableSelectors ()
 Set the look up table for a single block. More...
 
void SetBlockLookupTable (vtkScalarsToColors *lut)
 Set the look up table for a single block. More...
 
void RemoveAllBlockLookupTables ()
 Set the look up table for a single block. More...
 
virtual void SetEnableScaling (int v)
 For OSPRay controls sizing of implicit spheres (points) and cylinders (lines) More...
 
virtual void SetScalingArrayName (const char *)
 For OSPRay controls sizing of implicit spheres (points) and cylinders (lines) More...
 
virtual void SetScalingFunction (vtkPiecewiseFunction *pwf)
 For OSPRay controls sizing of implicit spheres (points) and cylinders (lines) More...
 
virtual void SetUseDataPartitions (bool)
 Specify whether or not to redistribute the data. More...
 
virtual bool GetUseDataPartitions ()
 Specify whether or not to redistribute the data. 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...
 
virtual void SetPlaceHolderDataType (int)
 Set/Get the placeholder data type. More...
 
virtual int GetPlaceHolderDataType ()
 Set/Get the placeholder data type. 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 vtkGeometryRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkGeometryRepresentationSafeDownCast (vtkObject *o)
 
static bool GetBounds (vtkDataObject *dataObject, double bounds[6], vtkCompositeDataDisplayAttributes *cdAttributes)
 Convenience method to get bounds from a dataset/composite dataset. More...
 
- 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

 vtkGeometryRepresentation ()
 
 ~vtkGeometryRepresentation () 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...
 
int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 Overridden to request correct ghost-level to avoid internal surfaces. 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 vtkPVLODActorGetRenderedProp ()
 Used in ConvertSelection to locate the prop used for actual rendering. More...
 
void HandleGeometryRepresentationProgress (vtkObject *caller, unsigned long, void *)
 
void PopulateBlockAttributes (vtkCompositeDataDisplayAttributes *attrs, vtkDataObject *outputData)
 Block attributes in a mapper are referenced to each block through DataObject pointers. More...
 
void ComputeVisibleDataBounds ()
 Computes the bounds of the visible data based on the block visibilities in the composite data attributes of the mapper. 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...
 
virtual void SetPointArrayToProcess (int p, const char *val)
 Used by SetNormalArray, SetTCoordArray and SetTangentArray. More...
 
void UpdateGeneralTextureTransform ()
 This is called whenever the texture transformation matrix changes. 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

vtkAlgorithmGeometryFilter
 
vtkAlgorithmMultiBlockMaker
 
vtkGeometryRepresentation_detail::DecimationFilterTypeDecimator
 
vtkPVGeometryFilterLODOutlineFilter
 
vtkMapperMapper
 
vtkMapperLODMapper
 
vtkPVLODActorActor
 
vtkPropertyProperty
 
char * ActiveAssembly = nullptr
 
bool RepeatTextures
 
bool InterpolateTextures
 
bool UseMipmapTextures
 
vtkTransformTextureTransform
 
double Ambient
 
double Specular
 
double Diffuse
 
int Representation
 
bool SuppressLOD
 
bool RequestGhostCellsIfNeeded
 
double VisibleDataBounds [6]
 
vtkTimeStamp VisibleDataBoundsTime
 
vtkPiecewiseFunctionPWF
 
bool UseDataPartitions
 
bool UseShaderReplacements
 
std::string ShaderReplacementsString
 
bool BlockAttrChanged = false
 
vtkTimeStamp BlockAttributeTime
 
bool UpdateBlockAttrLOD = false
 
int PlaceHolderDataType = VTK_PARTITIONED_DATA_SET_COLLECTION
 
std::set< std::stringBlockSelectors
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, vtkVector3dBlockColors
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, doubleBlockOpacities
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, bool > BlockInterpolateScalarsBeforeMapping
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, intBlockColorModes
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, std::pair< int, std::string > > BlockArrayNames
 Configurable through vtkGeometryRepresentation API. More...
 
std::vector< std::stringBlockLookupTableSelectors
 Configurable through vtkGeometryRepresentation API. More...
 
std::vector< vtkScalarsToColors * > BlockLookupTables
 Configurable through vtkGeometryRepresentation API. More...
 
std::unordered_map< std::string, bool > BlockScalarVisibilities
 Configured internally in vtkGeometryRepresentation. More...
 
std::unordered_map< std::string, bool > BlockUseLookupTableScalarRanges
 Configured internally in vtkGeometryRepresentation. More...
 
std::unordered_map< vtkDataObject *, vtkIdTypeBlockFieldDataTupleIds
 Configured internally in vtkGeometryRepresentation. More...
 
- 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 any datasets as external shell of polygons.

vtkGeometryRepresentation is a representation for showing polygon geometry. It handles non-polygonal datasets by extracting external surfaces. One can use this representation to show surface/wireframe/points/surface-with-edges.

Thanks:
The addition of a transformation matrix was supported by CEA/DIF Commissariat a l'Energie Atomique, Centre DAM Ile-De-France, Arpajon, France.

Definition at line 46 of file vtkGeometryRepresentation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 51 of file vtkGeometryRepresentation.h.

Member Enumeration Documentation

◆ RepresentationTypes

Enumerator
POINTS 
WIREFRAME 
SURFACE 
SURFACE_WITH_EDGES 

Definition at line 109 of file vtkGeometryRepresentation.h.

Constructor & Destructor Documentation

◆ vtkGeometryRepresentation()

vtkGeometryRepresentation::vtkGeometryRepresentation ( )
protected

◆ ~vtkGeometryRepresentation()

vtkGeometryRepresentation::~vtkGeometryRepresentation ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkGeometryRepresentation* vtkGeometryRepresentation::New ( )
static

◆ GetClassName()

virtual const char* vtkGeometryRepresentation::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ ProcessViewRequest()

int vtkGeometryRepresentation::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.

Reimplemented in vtkGeometryRepresentationWithFaces, vtkGlyph3DRepresentation, vtkSurfaceLICRepresentation, and vtkGeometrySliceRepresentation.

◆ SetVisibility()

void vtkGeometryRepresentation::SetVisibility ( bool  val)
overridevirtual

Get/Set the visibility for this representation.

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

Reimplemented from vtkPVDataRepresentation.

Reimplemented in vtkGlyph3DRepresentation, and vtkGeometryRepresentationWithFaces.

◆ SetBlockColorsDistinctValues()

void vtkGeometryRepresentation::SetBlockColorsDistinctValues ( int  distinctValues)

Determines the number of distinct values in vtkBlockColors See also vtkPVGeometryFilter.

◆ GetBlockColorsDistinctValues()

int vtkGeometryRepresentation::GetBlockColorsDistinctValues ( )

Determines the number of distinct values in vtkBlockColors See also vtkPVGeometryFilter.

◆ SetSuppressLOD()

virtual void vtkGeometryRepresentation::SetSuppressLOD ( bool  suppress)
inlinevirtual

Enable/Disable LOD;.

Reimplemented in vtkFeatureEdgesRepresentation, and vtkOutlineRepresentation.

Definition at line 81 of file vtkGeometryRepresentation.h.

◆ DisableLightingOn()

virtual void vtkGeometryRepresentation::DisableLightingOn ( )
virtual

Disables the lighting on the object.

It only displays the Diffuse component of the lighting color of the object.

◆ DisableLightingOff()

virtual void vtkGeometryRepresentation::DisableLightingOff ( )
virtual

Disables the lighting on the object.

It only displays the Diffuse component of the lighting color of the object.

◆ SetDisableLighting()

virtual void vtkGeometryRepresentation::SetDisableLighting ( bool  )
virtual

Disables the lighting on the object.

It only displays the Diffuse component of the lighting color of the object.

◆ GetDisableLighting()

virtual bool vtkGeometryRepresentation::GetDisableLighting ( )
virtual

Disables the lighting on the object.

It only displays the Diffuse component of the lighting color of the object.

◆ SetAmbient()

virtual void vtkGeometryRepresentation::SetAmbient ( double  )
virtual

Set the lighting properties of the object.

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

◆ SetDiffuse()

virtual void vtkGeometryRepresentation::SetDiffuse ( double  )
virtual

Set the lighting properties of the object.

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

◆ SetSpecular()

virtual void vtkGeometryRepresentation::SetSpecular ( double  )
virtual

Set the lighting properties of the object.

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

◆ GetAmbient()

virtual double vtkGeometryRepresentation::GetAmbient ( )
virtual

Set the lighting properties of the object.

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

◆ GetDiffuse()

virtual double vtkGeometryRepresentation::GetDiffuse ( )
virtual

Set the lighting properties of the object.

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

◆ GetSpecular()

virtual double vtkGeometryRepresentation::GetSpecular ( )
virtual

Set the lighting properties of the object.

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

◆ SetCoordinateShiftScaleMethod()

void vtkGeometryRepresentation::SetCoordinateShiftScaleMethod ( int  val)

Set the shift scale method for the point coordinates see vtkOpenGLVertexBufferObject.h for more information.

◆ GetCoordinateShiftScaleMethod()

int vtkGeometryRepresentation::GetCoordinateShiftScaleMethod ( )

Set the shift scale method for the point coordinates see vtkOpenGLVertexBufferObject.h for more information.

◆ SetRepresentation() [1/2]

virtual void vtkGeometryRepresentation::SetRepresentation ( int  )
virtual

Set the representation type.

This adds VTK_SURFACE_WITH_EDGES to those defined in vtkProperty.

Reimplemented in vtkFeatureEdgesRepresentation, and vtkOutlineRepresentation.

◆ GetRepresentation()

virtual int vtkGeometryRepresentation::GetRepresentation ( )
virtual

Set the representation type.

This adds VTK_SURFACE_WITH_EDGES to those defined in vtkProperty.

◆ SetRepresentation() [2/2]

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

Overload to set representation type using string.

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

Reimplemented in vtkFeatureEdgesRepresentation, and vtkOutlineRepresentation.

◆ GetRenderedDataObject()

vtkDataObject* vtkGeometryRepresentation::GetRenderedDataObject ( int  port)
override

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

◆ SetRequestGhostCellsIfNeeded()

virtual void vtkGeometryRepresentation::SetRequestGhostCellsIfNeeded ( bool  )
virtual

Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice.

◆ GetRequestGhostCellsIfNeeded()

virtual bool vtkGeometryRepresentation::GetRequestGhostCellsIfNeeded ( )
virtual

Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice.

◆ RequestGhostCellsIfNeededOn()

virtual void vtkGeometryRepresentation::RequestGhostCellsIfNeededOn ( )
virtual

Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice.

◆ RequestGhostCellsIfNeededOff()

virtual void vtkGeometryRepresentation::RequestGhostCellsIfNeededOff ( )
virtual

Representations that use geometry representation as the internal representation should turn this flag off so that we don't end up requesting ghost cells twice.

◆ SetNormalArray()

virtual void vtkGeometryRepresentation::SetNormalArray ( const char *  val)
virtual

Set the normal array used for smooth shading.

It must be a three components array.

◆ SetTCoordArray()

virtual void vtkGeometryRepresentation::SetTCoordArray ( const char *  val)
virtual

Set the texture coordinates array used for texture mapping.

It must be a two components array.

◆ SetTangentArray()

virtual void vtkGeometryRepresentation::SetTangentArray ( const char *  val)
virtual

Set the tangent coordinates array used for normal mapping.

It must be a three components array.

◆ SetUseOutline()

virtual void vtkGeometryRepresentation::SetUseOutline ( int  )
virtual

◆ SetTriangulate()

void vtkGeometryRepresentation::SetTriangulate ( int  )

◆ SetNonlinearSubdivisionLevel()

void vtkGeometryRepresentation::SetNonlinearSubdivisionLevel ( int  )

◆ SetMatchBoundariesIgnoringCellOrder()

void vtkGeometryRepresentation::SetMatchBoundariesIgnoringCellOrder ( int  )

◆ SetGenerateFeatureEdges()

virtual void vtkGeometryRepresentation::SetGenerateFeatureEdges ( bool  )
virtual

Reimplemented in vtkFeatureEdgesRepresentation.

◆ SetAmbientColor()

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

◆ SetColor()

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

◆ SetDiffuseColor()

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

◆ SetLighting()

virtual void vtkGeometryRepresentation::SetLighting ( bool  lighting)
virtual

◆ SetEdgeColor()

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

◆ SetInteractiveSelectionColor()

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

◆ SetInterpolation()

virtual void vtkGeometryRepresentation::SetInterpolation ( int  val)
virtual

◆ SetLineWidth()

virtual void vtkGeometryRepresentation::SetLineWidth ( double  val)
virtual

◆ SetOpacity()

virtual void vtkGeometryRepresentation::SetOpacity ( double  val)
virtual

◆ SetEdgeOpacity()

virtual void vtkGeometryRepresentation::SetEdgeOpacity ( double  val)
virtual

◆ SetPointSize()

virtual void vtkGeometryRepresentation::SetPointSize ( double  val)
virtual

◆ SetSpecularColor()

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

◆ SetSpecularPower()

virtual void vtkGeometryRepresentation::SetSpecularPower ( double  val)
virtual

◆ SetLuminosity()

virtual void vtkGeometryRepresentation::SetLuminosity ( double  val)
virtual

◆ SetRenderPointsAsSpheres()

virtual void vtkGeometryRepresentation::SetRenderPointsAsSpheres ( bool  )
virtual

◆ SetRenderLinesAsTubes()

virtual void vtkGeometryRepresentation::SetRenderLinesAsTubes ( bool  )
virtual

◆ SetRoughness()

virtual void vtkGeometryRepresentation::SetRoughness ( double  val)
virtual

◆ SetMetallic()

virtual void vtkGeometryRepresentation::SetMetallic ( double  val)
virtual

◆ SetEdgeTint()

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

◆ SetAnisotropy()

virtual void vtkGeometryRepresentation::SetAnisotropy ( double  val)
virtual

◆ SetAnisotropyRotation()

virtual void vtkGeometryRepresentation::SetAnisotropyRotation ( double  val)
virtual

◆ SetBaseIOR()

virtual void vtkGeometryRepresentation::SetBaseIOR ( double  val)
virtual

◆ SetCoatIOR()

virtual void vtkGeometryRepresentation::SetCoatIOR ( double  val)
virtual

◆ SetCoatStrength()

virtual void vtkGeometryRepresentation::SetCoatStrength ( double  val)
virtual

◆ SetCoatRoughness()

virtual void vtkGeometryRepresentation::SetCoatRoughness ( double  val)
virtual

◆ SetCoatNormalScale()

virtual void vtkGeometryRepresentation::SetCoatNormalScale ( double  val)
virtual

◆ SetCoatColor()

virtual void vtkGeometryRepresentation::SetCoatColor ( double  r,
double  g,
double  b 
)
virtual

◆ SetBaseColorTexture()

virtual void vtkGeometryRepresentation::SetBaseColorTexture ( vtkTexture tex)
virtual

◆ SetMaterialTexture()

virtual void vtkGeometryRepresentation::SetMaterialTexture ( vtkTexture tex)
virtual

◆ SetAnisotropyTexture()

virtual void vtkGeometryRepresentation::SetAnisotropyTexture ( vtkTexture tex)
virtual

◆ SetNormalTexture()

virtual void vtkGeometryRepresentation::SetNormalTexture ( vtkTexture tex)
virtual

◆ SetCoatNormalTexture()

virtual void vtkGeometryRepresentation::SetCoatNormalTexture ( vtkTexture tex)
virtual

◆ SetEmissiveTexture()

virtual void vtkGeometryRepresentation::SetEmissiveTexture ( vtkTexture tex)
virtual

◆ SetNormalScale()

virtual void vtkGeometryRepresentation::SetNormalScale ( double  val)
virtual

◆ SetOcclusionStrength()

virtual void vtkGeometryRepresentation::SetOcclusionStrength ( double  val)
virtual

◆ SetEmissiveFactor()

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

◆ SetShowTexturesOnBackface()

virtual void vtkGeometryRepresentation::SetShowTexturesOnBackface ( bool  )
virtual

◆ SetOrientation()

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

Reimplemented in vtkGlyph3DRepresentation.

◆ SetOrigin()

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

Reimplemented in vtkGlyph3DRepresentation.

◆ SetPickable()

virtual void vtkGeometryRepresentation::SetPickable ( int  val)
virtual

◆ SetPosition()

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

Reimplemented in vtkGlyph3DRepresentation.

◆ SetScale()

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

Reimplemented in vtkGlyph3DRepresentation.

◆ SetTexture()

virtual void vtkGeometryRepresentation::SetTexture ( vtkTexture )
virtual

Reimplemented in vtkGlyph3DRepresentation.

◆ SetUserTransform()

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

Reimplemented in vtkGlyph3DRepresentation.

◆ SetFlipTextures()

virtual void vtkGeometryRepresentation::SetFlipTextures ( bool  )
virtual

◆ SetTextureTransform()

virtual void vtkGeometryRepresentation::SetTextureTransform ( vtkTransform )
virtual

◆ GetTextureTransform()

virtual vtkTransform* vtkGeometryRepresentation::GetTextureTransform ( )
virtual

◆ SetRepeatTextures()

virtual void vtkGeometryRepresentation::SetRepeatTextures ( bool  )
virtual

◆ GetRepeatTextures()

virtual bool vtkGeometryRepresentation::GetRepeatTextures ( )
virtual

◆ SetInterpolateTextures()

virtual void vtkGeometryRepresentation::SetInterpolateTextures ( bool  )
virtual

◆ GetInterpolateTextures()

virtual bool vtkGeometryRepresentation::GetInterpolateTextures ( )
virtual

◆ SetUseMipmapTextures()

virtual void vtkGeometryRepresentation::SetUseMipmapTextures ( bool  )
virtual

◆ GetUseMipmapTextures()

virtual bool vtkGeometryRepresentation::GetUseMipmapTextures ( )
virtual

◆ SetInterpolateScalarsBeforeMapping()

virtual void vtkGeometryRepresentation::SetInterpolateScalarsBeforeMapping ( int  val)
virtual

Reimplemented in vtkGlyph3DRepresentation.

◆ SetLookupTable()

virtual void vtkGeometryRepresentation::SetLookupTable ( vtkScalarsToColors val)
virtual

Reimplemented in vtkGlyph3DRepresentation.

◆ SetColorMissingArraysWithNanColor()

virtual void vtkGeometryRepresentation::SetColorMissingArraysWithNanColor ( bool  val)
virtual

◆ SetSeamlessU()

virtual void vtkGeometryRepresentation::SetSeamlessU ( bool  )
virtual

◆ SetSeamlessV()

virtual void vtkGeometryRepresentation::SetSeamlessV ( bool  )
virtual

◆ SetMapScalars()

virtual void vtkGeometryRepresentation::SetMapScalars ( int  val)
virtual

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

0 maps to VTK_COLOR_MODE_DIRECT_SCALARS 1 maps to VTK_COLOR_MODE_MAP_SCALARS

See also
vtkScalarsToColors::MapScalars

Reimplemented in vtkGlyph3DRepresentation.

◆ SetStatic()

virtual void vtkGeometryRepresentation::SetStatic ( int  val)
virtual

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

0 maps to VTK_COLOR_MODE_DIRECT_SCALARS 1 maps to VTK_COLOR_MODE_MAP_SCALARS

See also
vtkScalarsToColors::MapScalars

Reimplemented in vtkGlyph3DRepresentation.

◆ SetSelection()

virtual void vtkGeometryRepresentation::SetSelection ( vtkSelection selection)
virtual

Sets the selection used by the mapper.

◆ GetActor()

vtkPVLODActor* vtkGeometryRepresentation::GetActor ( )
inline

Provides access to the actor used by this representation.

Definition at line 273 of file vtkGeometryRepresentation.h.

◆ SetActiveAssembly()

virtual void vtkGeometryRepresentation::SetActiveAssembly ( const char *  )
virtual

Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities.

The default is Hierarchy.

◆ GetActiveAssembly()

virtual char* vtkGeometryRepresentation::GetActiveAssembly ( )
virtual

Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities.

The default is Hierarchy.

◆ AddBlockSelector()

void vtkGeometryRepresentation::AddBlockSelector ( const char *  selector)

Update list of selectors that determine the selected blocks.

◆ RemoveAllBlockSelectors()

void vtkGeometryRepresentation::RemoveAllBlockSelectors ( )

Update list of selectors that determine the selected blocks.

◆ SetBlockColor()

void vtkGeometryRepresentation::SetBlockColor ( const char *  selector,
double  r,
double  g,
double  b 
)

Set the color for a single block.

◆ RemoveAllBlockColors()

void vtkGeometryRepresentation::RemoveAllBlockColors ( )

Set the color for a single block.

◆ SetBlockOpacity()

void vtkGeometryRepresentation::SetBlockOpacity ( const char *  selector,
double  opacity 
)

Set the opacity for a single block.

◆ RemoveAllBlockOpacities()

void vtkGeometryRepresentation::RemoveAllBlockOpacities ( )

Set the opacity for a single block.

◆ SetBlockInterpolateScalarsBeforeMapping()

void vtkGeometryRepresentation::SetBlockInterpolateScalarsBeforeMapping ( const char *  selector,
bool  interpolate 
)

Set if to interpolate scalars before mapping for a single block.

◆ RemoveAllBlockInterpolateScalarsBeforeMappings()

void vtkGeometryRepresentation::RemoveAllBlockInterpolateScalarsBeforeMappings ( )

Set if to interpolate scalars before mapping for a single block.

◆ SetBlockMapScalars()

void vtkGeometryRepresentation::SetBlockMapScalars ( const char *  selector,
int  val 
)

Set the block to map scalars for a single block.

Note: Similar to SetMapScalars, but for blocks.

◆ RemoveAllBlockMapScalars()

void vtkGeometryRepresentation::RemoveAllBlockMapScalars ( )

Set the block to map scalars for a single block.

Note: Similar to SetMapScalars, but for blocks.

◆ SetBlockArrayName()

void vtkGeometryRepresentation::SetBlockArrayName ( const char *  selector,
int  assoc,
const char *  arrayName 
)

Set the color array for a single block.

◆ RemoveAllBlockArrayNames()

void vtkGeometryRepresentation::RemoveAllBlockArrayNames ( )

Set the color array for a single block.

◆ SetBlockLookupTableSelector()

void vtkGeometryRepresentation::SetBlockLookupTableSelector ( const char *  selector)

Set the look up table for a single block.

Note: we need two methods because we can't wrap a string and a vtkObject using either vtkSMStringVectorProperty or vtkSMProxyProperty.

◆ RemoveAllBlockLookupTableSelectors()

void vtkGeometryRepresentation::RemoveAllBlockLookupTableSelectors ( )

Set the look up table for a single block.

Note: we need two methods because we can't wrap a string and a vtkObject using either vtkSMStringVectorProperty or vtkSMProxyProperty.

◆ SetBlockLookupTable()

void vtkGeometryRepresentation::SetBlockLookupTable ( vtkScalarsToColors lut)

Set the look up table for a single block.

Note: we need two methods because we can't wrap a string and a vtkObject using either vtkSMStringVectorProperty or vtkSMProxyProperty.

◆ RemoveAllBlockLookupTables()

void vtkGeometryRepresentation::RemoveAllBlockLookupTables ( )

Set the look up table for a single block.

Note: we need two methods because we can't wrap a string and a vtkObject using either vtkSMStringVectorProperty or vtkSMProxyProperty.

◆ GetColorArrayName()

const char* vtkGeometryRepresentation::GetColorArrayName ( )

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

◆ GetBounds()

static bool vtkGeometryRepresentation::GetBounds ( vtkDataObject dataObject,
double  bounds[6],
vtkCompositeDataDisplayAttributes cdAttributes 
)
static

Convenience method to get bounds from a dataset/composite dataset.

If a vtkCompositeDataDisplayAttributes cdAttributes is provided and if the input data dataObject is vtkCompositeDataSet, only visible blocks of the data will be used to compute the bounds. Returns true if valid bounds were computed.

◆ SetEnableScaling()

virtual void vtkGeometryRepresentation::SetEnableScaling ( int  v)
virtual

For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)

◆ SetScalingArrayName()

virtual void vtkGeometryRepresentation::SetScalingArrayName ( const char *  )
virtual

For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)

◆ SetScalingFunction()

virtual void vtkGeometryRepresentation::SetScalingFunction ( vtkPiecewiseFunction pwf)
virtual

For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)

◆ SetMaterial()

virtual void vtkGeometryRepresentation::SetMaterial ( const char *  )
virtual

For OSPRay, choose from among available materials.

◆ SetUseDataPartitions()

virtual void vtkGeometryRepresentation::SetUseDataPartitions ( bool  )
virtual

Specify whether or not to redistribute the data.

The default is false since that is the only way in general to guarantee correct rendering. Can set to true if all rendered data sets are based on the same data partitioning in order to save on the data redistribution.

◆ GetUseDataPartitions()

virtual bool vtkGeometryRepresentation::GetUseDataPartitions ( )
virtual

Specify whether or not to redistribute the data.

The default is false since that is the only way in general to guarantee correct rendering. Can set to true if all rendered data sets are based on the same data partitioning in order to save on the data redistribution.

◆ SetUseShaderReplacements()

virtual void vtkGeometryRepresentation::SetUseShaderReplacements ( bool  )
virtual

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

◆ GetUseShaderReplacements()

virtual bool vtkGeometryRepresentation::GetUseShaderReplacements ( )
virtual

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

◆ SetShaderReplacements()

virtual void vtkGeometryRepresentation::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.

◆ SetArrayIdNames()

void vtkGeometryRepresentation::SetArrayIdNames ( const char *  pointArray,
const char *  cellArray 
)
override

Specify the array names used for the selection.

Use nullptr to use default ones. ("vtkOriginalPointIds" and "vtkOriginalCellIds")

◆ SetPlaceHolderDataType()

virtual void vtkGeometryRepresentation::SetPlaceHolderDataType ( int  )
virtual

Set/Get the placeholder data type.

This value is set by the proxy and is needed to ensure that the client knows the type of the input that lives on the server.

In the past, we were always creating a placeholder of type vtkMultiBlockDataSet when no input was available on the client. This is no longer valid because vtkPVGeometryFilter can now generate also vtkPartitionedDataSetCollection.

This can be potentially removed in the future once vtkMultiBlockDataSet is deprecated.

◆ GetPlaceHolderDataType()

virtual int vtkGeometryRepresentation::GetPlaceHolderDataType ( )
virtual

Set/Get the placeholder data type.

This value is set by the proxy and is needed to ensure that the client knows the type of the input that lives on the server.

In the past, we were always creating a placeholder of type vtkMultiBlockDataSet when no input was available on the client. This is no longer valid because vtkPVGeometryFilter can now generate also vtkPartitionedDataSetCollection.

This can be potentially removed in the future once vtkMultiBlockDataSet is deprecated.

◆ SetupDefaults()

virtual void vtkGeometryRepresentation::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.

Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, vtkCellGridRepresentation, and vtkGeometrySliceRepresentation.

◆ FillInputPortInformation()

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

Fill input port information.

Reimplemented from vtkPassInputTypeAlgorithm.

Reimplemented in vtkGlyph3DRepresentation.

◆ RequestData()

int vtkGeometryRepresentation::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.

Reimplemented in vtkGlyph3DRepresentation, and vtkGeometrySliceRepresentation.

◆ RequestUpdateExtent()

int vtkGeometryRepresentation::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

Overridden to request correct ghost-level to avoid internal surfaces.

Reimplemented from vtkPassInputTypeAlgorithm.

Reimplemented in vtkGlyph3DRepresentation.

◆ AddToView()

bool vtkGeometryRepresentation::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 vtkGeometryRepresentation::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 vtkGeometryRepresentation::UpdateColoringParameters ( )
protectedvirtual

◆ GetRenderedProp()

virtual vtkPVLODActor* vtkGeometryRepresentation::GetRenderedProp ( )
inlineprotectedvirtual

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

Reimplemented in vtkGlyph3DRepresentation.

Definition at line 485 of file vtkGeometryRepresentation.h.

◆ HandleGeometryRepresentationProgress()

void vtkGeometryRepresentation::HandleGeometryRepresentationProgress ( vtkObject caller,
unsigned  long,
void *   
)
protected

◆ PopulateBlockAttributes()

void vtkGeometryRepresentation::PopulateBlockAttributes ( vtkCompositeDataDisplayAttributes attrs,
vtkDataObject outputData 
)
protected

Block attributes in a mapper are referenced to each block through DataObject pointers.

Since DataObjects may change after updating the pipeline, this class maintains an additional map using the flat-index as a key. This method updates the mapper's attributes with those cached in this representation; This is done after the data has updated (multi-block nodes change after an update).

◆ ComputeVisibleDataBounds()

void vtkGeometryRepresentation::ComputeVisibleDataBounds ( )
protected

Computes the bounds of the visible data based on the block visibilities in the composite data attributes of the mapper.

◆ UpdateShaderReplacements()

void vtkGeometryRepresentation::UpdateShaderReplacements ( )
protected

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

◆ NeedsOrderedCompositing()

virtual bool vtkGeometryRepresentation::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.

Reimplemented in vtkCellGridRepresentation, and vtkGeometryRepresentationWithFaces.

◆ SetPointArrayToProcess()

virtual void vtkGeometryRepresentation::SetPointArrayToProcess ( int  p,
const char *  val 
)
protectedvirtual

Used by SetNormalArray, SetTCoordArray and SetTangentArray.

◆ UpdateGeneralTextureTransform()

void vtkGeometryRepresentation::UpdateGeneralTextureTransform ( )
protected

This is called whenever the texture transformation matrix changes.

Member Data Documentation

◆ GeometryFilter

vtkAlgorithm* vtkGeometryRepresentation::GeometryFilter
protected

Definition at line 528 of file vtkGeometryRepresentation.h.

◆ MultiBlockMaker

vtkAlgorithm* vtkGeometryRepresentation::MultiBlockMaker
protected

Definition at line 529 of file vtkGeometryRepresentation.h.

◆ Decimator

vtkGeometryRepresentation_detail::DecimationFilterType* vtkGeometryRepresentation::Decimator
protected

Definition at line 530 of file vtkGeometryRepresentation.h.

◆ LODOutlineFilter

vtkPVGeometryFilter* vtkGeometryRepresentation::LODOutlineFilter
protected

Definition at line 531 of file vtkGeometryRepresentation.h.

◆ Mapper

vtkMapper* vtkGeometryRepresentation::Mapper
protected

Definition at line 533 of file vtkGeometryRepresentation.h.

◆ LODMapper

vtkMapper* vtkGeometryRepresentation::LODMapper
protected

Definition at line 534 of file vtkGeometryRepresentation.h.

◆ Actor

vtkPVLODActor* vtkGeometryRepresentation::Actor
protected

Definition at line 535 of file vtkGeometryRepresentation.h.

◆ Property

vtkProperty* vtkGeometryRepresentation::Property
protected

Definition at line 536 of file vtkGeometryRepresentation.h.

◆ ActiveAssembly

char* vtkGeometryRepresentation::ActiveAssembly = nullptr
protected

Definition at line 538 of file vtkGeometryRepresentation.h.

◆ RepeatTextures

bool vtkGeometryRepresentation::RepeatTextures
protected

Definition at line 539 of file vtkGeometryRepresentation.h.

◆ InterpolateTextures

bool vtkGeometryRepresentation::InterpolateTextures
protected

Definition at line 540 of file vtkGeometryRepresentation.h.

◆ UseMipmapTextures

bool vtkGeometryRepresentation::UseMipmapTextures
protected

Definition at line 541 of file vtkGeometryRepresentation.h.

◆ TextureTransform

vtkTransform* vtkGeometryRepresentation::TextureTransform
protected

Definition at line 542 of file vtkGeometryRepresentation.h.

◆ Ambient

double vtkGeometryRepresentation::Ambient
protected

Definition at line 543 of file vtkGeometryRepresentation.h.

◆ Specular

double vtkGeometryRepresentation::Specular
protected

Definition at line 544 of file vtkGeometryRepresentation.h.

◆ Diffuse

double vtkGeometryRepresentation::Diffuse
protected

Definition at line 545 of file vtkGeometryRepresentation.h.

◆ Representation

int vtkGeometryRepresentation::Representation
protected

Definition at line 546 of file vtkGeometryRepresentation.h.

◆ SuppressLOD

bool vtkGeometryRepresentation::SuppressLOD
protected

Definition at line 547 of file vtkGeometryRepresentation.h.

◆ RequestGhostCellsIfNeeded

bool vtkGeometryRepresentation::RequestGhostCellsIfNeeded
protected

Definition at line 548 of file vtkGeometryRepresentation.h.

◆ VisibleDataBounds

double vtkGeometryRepresentation::VisibleDataBounds[6]
protected

Definition at line 549 of file vtkGeometryRepresentation.h.

◆ VisibleDataBoundsTime

vtkTimeStamp vtkGeometryRepresentation::VisibleDataBoundsTime
protected

Definition at line 551 of file vtkGeometryRepresentation.h.

◆ PWF

vtkPiecewiseFunction* vtkGeometryRepresentation::PWF
protected

Definition at line 553 of file vtkGeometryRepresentation.h.

◆ UseDataPartitions

bool vtkGeometryRepresentation::UseDataPartitions
protected

Definition at line 555 of file vtkGeometryRepresentation.h.

◆ UseShaderReplacements

bool vtkGeometryRepresentation::UseShaderReplacements
protected

Definition at line 557 of file vtkGeometryRepresentation.h.

◆ ShaderReplacementsString

std::string vtkGeometryRepresentation::ShaderReplacementsString
protected

Definition at line 558 of file vtkGeometryRepresentation.h.

◆ BlockAttrChanged

bool vtkGeometryRepresentation::BlockAttrChanged = false
protected

Definition at line 560 of file vtkGeometryRepresentation.h.

◆ BlockAttributeTime

vtkTimeStamp vtkGeometryRepresentation::BlockAttributeTime
protected

Definition at line 561 of file vtkGeometryRepresentation.h.

◆ UpdateBlockAttrLOD

bool vtkGeometryRepresentation::UpdateBlockAttrLOD = false
protected

Definition at line 562 of file vtkGeometryRepresentation.h.

◆ PlaceHolderDataType

int vtkGeometryRepresentation::PlaceHolderDataType = VTK_PARTITIONED_DATA_SET_COLLECTION
protected

Definition at line 565 of file vtkGeometryRepresentation.h.

◆ BlockSelectors

std::set<std::string> vtkGeometryRepresentation::BlockSelectors
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 574 of file vtkGeometryRepresentation.h.

◆ BlockColors

std::unordered_map<std::string, vtkVector3d> vtkGeometryRepresentation::BlockColors
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 575 of file vtkGeometryRepresentation.h.

◆ BlockOpacities

std::unordered_map<std::string, double> vtkGeometryRepresentation::BlockOpacities
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 576 of file vtkGeometryRepresentation.h.

◆ BlockInterpolateScalarsBeforeMapping

std::unordered_map<std::string, bool> vtkGeometryRepresentation::BlockInterpolateScalarsBeforeMapping
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 577 of file vtkGeometryRepresentation.h.

◆ BlockColorModes

std::unordered_map<std::string, int> vtkGeometryRepresentation::BlockColorModes
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 578 of file vtkGeometryRepresentation.h.

◆ BlockArrayNames

std::unordered_map<std::string, std::pair<int , std::string> > vtkGeometryRepresentation::BlockArrayNames
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 579 of file vtkGeometryRepresentation.h.

◆ BlockLookupTableSelectors

std::vector<std::string> vtkGeometryRepresentation::BlockLookupTableSelectors
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 580 of file vtkGeometryRepresentation.h.

◆ BlockLookupTables

std::vector<vtkScalarsToColors*> vtkGeometryRepresentation::BlockLookupTables
protected

Configurable through vtkGeometryRepresentation API.

Definition at line 581 of file vtkGeometryRepresentation.h.

◆ BlockScalarVisibilities

std::unordered_map<std::string, bool> vtkGeometryRepresentation::BlockScalarVisibilities
protected

Configured internally in vtkGeometryRepresentation.

Definition at line 587 of file vtkGeometryRepresentation.h.

◆ BlockUseLookupTableScalarRanges

std::unordered_map<std::string, bool> vtkGeometryRepresentation::BlockUseLookupTableScalarRanges
protected

Configured internally in vtkGeometryRepresentation.

Definition at line 588 of file vtkGeometryRepresentation.h.

◆ BlockFieldDataTupleIds

std::unordered_map<vtkDataObject*, vtkIdType> vtkGeometryRepresentation::BlockFieldDataTupleIds
protected

Configured internally in vtkGeometryRepresentation.

Definition at line 589 of file vtkGeometryRepresentation.h.


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