|
ParaView
|
representation for showing any datasets as external shell of polygons. More...
#include <vtkGeometryRepresentation.h>


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.
Definition at line 42 of file vtkGeometryRepresentation.h.
Definition at line 66 of file vtkGeometryRepresentation.h.
Definition at line 108 of file vtkGeometryRepresentation.h.
| vtkGeometryRepresentation::vtkGeometryRepresentation | ( | ) | [protected] |
| vtkGeometryRepresentation::~vtkGeometryRepresentation | ( | ) | [protected] |
| static vtkGeometryRepresentation* vtkGeometryRepresentation::New | ( | ) | [static] |
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| virtual const char* vtkGeometryRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| static int vtkGeometryRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| virtual int vtkGeometryRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| static vtkGeometryRepresentation* vtkGeometryRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| void vtkGeometryRepresentation::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, vtkGeometryRepresentationWithFaces, and vtkOutlineRepresentation.
| virtual int vtkGeometryRepresentation::ProcessViewRequest | ( | vtkInformationRequestKey * | request_type, |
| vtkInformation * | inInfo, | ||
| vtkInformation * | outInfo | ||
| ) | [virtual] |
vtkAlgorithm::ProcessRequest() equivalent for rendering passes. This is typically called by the vtkView to request meta-data from the representations or ask them to perform certain tasks e.g. PrepareForRendering.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation.
| virtual void vtkGeometryRepresentation::MarkModified | ( | ) | [virtual] |
This needs to be called on all instances of vtkGeometryRepresentation when the input is modified. This is essential since the geometry filter does not have any real-input on the client side which messes with the Update requests.
Reimplemented from vtkPVDataRepresentation.
| virtual void vtkGeometryRepresentation::SetVisibility | ( | bool | val | ) | [virtual] |
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.
| void vtkGeometryRepresentation::SetSuppressLOD | ( | bool | suppress | ) | [inline] |
Enable/Disable LOD;
Definition at line 78 of file vtkGeometryRepresentation.h.
| virtual void vtkGeometryRepresentation::SetColorAttributeType | ( | int | ) | [virtual] |
Methods to control scalar coloring. ColorAttributeType defines the attribute type.
| virtual int vtkGeometryRepresentation::GetColorAttributeType | ( | ) | [virtual] |
Methods to control scalar coloring. ColorAttributeType defines the attribute type.
| virtual void vtkGeometryRepresentation::SetColorArrayName | ( | const char * | ) | [virtual] |
Pick the array to color with.
| virtual char* vtkGeometryRepresentation::GetColorArrayName | ( | ) | [virtual] |
Pick the array to color with.
| virtual void vtkGeometryRepresentation::SetAmbient | ( | double | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual void vtkGeometryRepresentation::SetDiffuse | ( | double | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual void vtkGeometryRepresentation::SetSpecular | ( | double | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual double vtkGeometryRepresentation::GetAmbient | ( | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual double vtkGeometryRepresentation::GetDiffuse | ( | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual double vtkGeometryRepresentation::GetSpecular | ( | ) | [virtual] |
Set the lighting properties of the object. vtkGeometryRepresentation overrides these based of the following conditions:
| virtual void vtkGeometryRepresentation::SetRepresentation | ( | int | ) | [virtual] |
Set the representation type. This adds VTK_SURFACE_WITH_EDGES to those defined in vtkProperty.
| virtual int vtkGeometryRepresentation::GetRepresentation | ( | ) | [virtual] |
Set the representation type. This adds VTK_SURFACE_WITH_EDGES to those defined in vtkProperty.
| virtual void vtkGeometryRepresentation::SetRepresentation | ( | const char * | ) | [virtual] |
Overload to set representation type using string. Accepted strings are: "Points", "Wireframe", "Surface" and "Surface With Edges".
| virtual vtkDataObject* vtkGeometryRepresentation::GetRenderedDataObject | ( | int | port | ) | [virtual] |
Returns the data object that is rendered from the given input port.
| static bool vtkGeometryRepresentation::DoRequestGhostCells | ( | vtkInformation * | information | ) | [static] |
Returns true if this class would like to get ghost-cells if available for the connection whose information object is passed as the argument.
| 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.
| 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.
| 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.
| 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.
| void vtkGeometryRepresentation::SetUseOutline | ( | int | ) |
| void vtkGeometryRepresentation::SetNonlinearSubdivisionLevel | ( | int | ) |
| virtual void vtkGeometryRepresentation::SetInterpolation | ( | int | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetLineWidth | ( | double | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetOpacity | ( | double | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetPointSize | ( | double | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetSpecularPower | ( | double | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetPickable | ( | int | val | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetTexture | ( | vtkTexture * | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetInterpolateScalarsBeforeMapping | ( | int | val | ) | [virtual] |
Reimplemented in vtkGlyph3DRepresentation.
| virtual void vtkGeometryRepresentation::SetLookupTable | ( | vtkScalarsToColors * | val | ) | [virtual] |
Reimplemented in vtkGlyph3DRepresentation.
| virtual void vtkGeometryRepresentation::SetMapScalars | ( | int | val | ) | [virtual] |
Reimplemented in vtkGlyph3DRepresentation.
| virtual void vtkGeometryRepresentation::SetStatic | ( | int | val | ) | [virtual] |
Reimplemented in vtkGlyph3DRepresentation.
| virtual vtkSelection* vtkGeometryRepresentation::ConvertSelection | ( | vtkView * | view, |
| vtkSelection * | selection | ||
| ) | [virtual] |
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotationLink, possibly using the view. For the superclass, we just return the same selection. Subclasses may do something more fancy, like convert the selection from a frustrum to a list of pedigree ids. If the selection cannot be applied to this representation, return NULL.
Reimplemented from vtkDataRepresentation.
| virtual void vtkGeometryRepresentation::SetAllowSpecularHighlightingWithScalarColoring | ( | int | allow | ) | [virtual] |
| virtual void vtkGeometryRepresentation::SetupDefaults | ( | ) | [protected, virtual] |
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 vtkGeometryRepresentationWithFaces.
| virtual int vtkGeometryRepresentation::FillInputPortInformation | ( | int | port, |
| vtkInformation * | info | ||
| ) | [protected, virtual] |
Fill input port information.
Reimplemented from vtkPassInputTypeAlgorithm.
Reimplemented in vtkGlyph3DRepresentation.
| virtual int vtkGeometryRepresentation::RequestData | ( | vtkInformation * | , |
| vtkInformationVector ** | , | ||
| vtkInformationVector * | |||
| ) | [protected, virtual] |
Subclasses should override this to connect inputs to the internal pipeline as necessary. Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation.
| virtual int vtkGeometryRepresentation::RequestUpdateExtent | ( | vtkInformation * | request, |
| vtkInformationVector ** | inputVector, | ||
| vtkInformationVector * | outputVector | ||
| ) | [protected, virtual] |
Overridden to request correct ghost-level to avoid internal surfaces.
Reimplemented from vtkPVDataRepresentation.
| virtual bool vtkGeometryRepresentation::GenerateMetaData | ( | vtkInformation * | , |
| vtkInformation * | |||
| ) | [protected, virtual] |
Produce meta-data about this representation that the view may find useful.
Reimplemented in vtkGeometryRepresentationWithFaces.
| virtual bool vtkGeometryRepresentation::AddToView | ( | vtkView * | view | ) | [protected, virtual] |
Adds the representation to the view. This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, and vtkGeometryRepresentationWithFaces.
| virtual bool vtkGeometryRepresentation::RemoveFromView | ( | vtkView * | view | ) | [protected, virtual] |
Removes the representation to the view. This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkGlyph3DRepresentation, and vtkGeometryRepresentationWithFaces.
| virtual void vtkGeometryRepresentation::UpdateColoringParameters | ( | ) | [protected, virtual] |
Passes on parameters to vtkProperty and vtkMapper
Reimplemented in vtkGlyph3DRepresentation, and vtkGeometryRepresentationWithFaces.
| virtual vtkPVLODActor* vtkGeometryRepresentation::GetRenderedProp | ( | ) | [inline, protected, virtual] |
Used in ConvertSelection to locate the prop used for actual rendering.
Reimplemented in vtkGlyph3DRepresentation.
Definition at line 242 of file vtkGeometryRepresentation.h.
| virtual bool vtkGeometryRepresentation::IsCached | ( | double | cache_key | ) | [protected, virtual] |
Overridden to check with the vtkPVCacheKeeper to see if the key is cached.
Reimplemented from vtkPVDataRepresentation.
friend class vtkSelectionRepresentation [friend] |
Definition at line 280 of file vtkGeometryRepresentation.h.
vtkAlgorithm* vtkGeometryRepresentation::GeometryFilter [protected] |
Definition at line 250 of file vtkGeometryRepresentation.h.
vtkAlgorithm* vtkGeometryRepresentation::MultiBlockMaker [protected] |
Definition at line 251 of file vtkGeometryRepresentation.h.
vtkPVCacheKeeper* vtkGeometryRepresentation::CacheKeeper [protected] |
Definition at line 252 of file vtkGeometryRepresentation.h.
vtkQuadricClustering* vtkGeometryRepresentation::Decimator [protected] |
Definition at line 253 of file vtkGeometryRepresentation.h.
vtkMapper* vtkGeometryRepresentation::Mapper [protected] |
Definition at line 254 of file vtkGeometryRepresentation.h.
vtkMapper* vtkGeometryRepresentation::LODMapper [protected] |
Definition at line 255 of file vtkGeometryRepresentation.h.
vtkPVLODActor* vtkGeometryRepresentation::Actor [protected] |
Definition at line 256 of file vtkGeometryRepresentation.h.
vtkProperty* vtkGeometryRepresentation::Property [protected] |
Definition at line 257 of file vtkGeometryRepresentation.h.
Definition at line 258 of file vtkGeometryRepresentation.h.
Definition at line 259 of file vtkGeometryRepresentation.h.
Definition at line 260 of file vtkGeometryRepresentation.h.
Definition at line 261 of file vtkGeometryRepresentation.h.
Definition at line 262 of file vtkGeometryRepresentation.h.
Definition at line 263 of file vtkGeometryRepresentation.h.
Definition at line 264 of file vtkGeometryRepresentation.h.
int vtkGeometryRepresentation::ColorAttributeType [protected] |
Definition at line 266 of file vtkGeometryRepresentation.h.
char* vtkGeometryRepresentation::ColorArrayName [protected] |
Definition at line 267 of file vtkGeometryRepresentation.h.
double vtkGeometryRepresentation::Ambient [protected] |
Definition at line 268 of file vtkGeometryRepresentation.h.
double vtkGeometryRepresentation::Specular [protected] |
Definition at line 269 of file vtkGeometryRepresentation.h.
double vtkGeometryRepresentation::Diffuse [protected] |
Definition at line 270 of file vtkGeometryRepresentation.h.
int vtkGeometryRepresentation::Representation [protected] |
Definition at line 271 of file vtkGeometryRepresentation.h.
bool vtkGeometryRepresentation::SuppressLOD [protected] |
Definition at line 272 of file vtkGeometryRepresentation.h.
Definition at line 273 of file vtkGeometryRepresentation.h.
bool vtkGeometryRepresentation::RequestGhostCellsIfNeeded [protected] |
Definition at line 274 of file vtkGeometryRepresentation.h.
1.7.5.1