VTK
|
a class that renders hierarchical polygonal data More...
#include <vtkCompositePolyDataMapper.h>
Public Types | |
typedef vtkMapper | Superclass |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Render (vtkRenderer *ren, vtkActor *a) |
void | ReleaseGraphicsResources (vtkWindow *) |
double * | GetBounds () |
void | GetBounds (double bounds[6]) |
![]() | |
void | ShallowCopy (vtkAbstractMapper *m) |
unsigned long | GetMTime () |
virtual void | CreateDefaultLookupTable () |
const char * | GetColorModeAsString () |
const char * | GetScalarModeAsString () |
vtkUnsignedCharArray * | MapScalars (double alpha) |
const char * | GetScalarMaterialModeAsString () |
void | SetLookupTable (vtkScalarsToColors *lut) |
vtkScalarsToColors * | GetLookupTable () |
virtual void | SetScalarVisibility (int) |
virtual int | GetScalarVisibility () |
virtual void | ScalarVisibilityOn () |
virtual void | ScalarVisibilityOff () |
virtual void | SetStatic (int) |
virtual int | GetStatic () |
virtual void | StaticOn () |
virtual void | StaticOff () |
virtual void | SetColorMode (int) |
virtual int | GetColorMode () |
void | SetColorModeToDefault () |
void | SetColorModeToMapScalars () |
virtual void | SetInterpolateScalarsBeforeMapping (int) |
virtual int | GetInterpolateScalarsBeforeMapping () |
virtual void | InterpolateScalarsBeforeMappingOn () |
virtual void | InterpolateScalarsBeforeMappingOff () |
virtual void | SetUseLookupTableScalarRange (int) |
virtual int | GetUseLookupTableScalarRange () |
virtual void | UseLookupTableScalarRangeOn () |
virtual void | UseLookupTableScalarRangeOff () |
virtual void | SetScalarRange (double, double) |
void | SetScalarRange (double[2]) |
virtual double * | GetScalarRange () |
virtual void | GetScalarRange (double data[2]) |
virtual void | SetImmediateModeRendering (int) |
virtual int | GetImmediateModeRendering () |
virtual void | ImmediateModeRenderingOn () |
virtual void | ImmediateModeRenderingOff () |
virtual int | GetForceCompileOnly () |
void | SetForceCompileOnly (int value) |
virtual void | SetScalarMode (int) |
virtual int | GetScalarMode () |
void | SetScalarModeToDefault () |
void | SetScalarModeToUsePointData () |
void | SetScalarModeToUseCellData () |
void | SetScalarModeToUsePointFieldData () |
void | SetScalarModeToUseCellFieldData () |
void | SetScalarModeToUseFieldData () |
void | SelectColorArray (int arrayNum) |
void | SelectColorArray (const char *arrayName) |
void | ColorByArrayComponent (int arrayNum, int component) |
void | ColorByArrayComponent (const char *arrayName, int component) |
char * | GetArrayName () |
int | GetArrayId () |
int | GetArrayAccessMode () |
int | GetArrayComponent () |
void | SetRenderTime (double time) |
virtual double | GetRenderTime () |
vtkDataSet * | GetInput () |
vtkDataSet * | GetInputAsDataSet () |
virtual void | SetScalarMaterialMode (int) |
virtual int | GetScalarMaterialMode () |
void | SetScalarMaterialModeToDefault () |
void | SetScalarMaterialModeToAmbient () |
void | SetScalarMaterialModeToDiffuse () |
void | SetScalarMaterialModeToAmbientAndDiffuse () |
virtual bool | GetSupportsSelection () |
![]() | |
double | GetLength () |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
double * | GetCenter () |
void | GetCenter (double center[3]) |
![]() | |
void | SetClippingPlanes (vtkPlanes *planes) |
virtual double | GetTimeToDraw () |
void | AddClippingPlane (vtkPlane *plane) |
void | RemoveClippingPlane (vtkPlane *plane) |
void | RemoveAllClippingPlanes () |
virtual void | SetClippingPlanes (vtkPlaneCollection *) |
virtual vtkPlaneCollection * | GetClippingPlanes () |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
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) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (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 *) |
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) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
a class that renders hierarchical polygonal data
This class uses a set of vtkPolyDataMappers to render input data which may be hierarchical. The input to this mapper may be either vtkPolyData or a vtkCompositeDataSet built from polydata. If something other than vtkPolyData is encountered, an error message will be produced.
Definition at line 41 of file vtkCompositePolyDataMapper.h.
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
Definition at line 46 of file vtkCompositePolyDataMapper.h.
|
protected |
|
protected |
|
static |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
virtual |
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
static |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
static |
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
virtual |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
|
virtual |
Standard method for rendering a mapper. This method will be called by the actor.
Implements vtkMapper.
|
virtual |
|
inlinevirtual |
Standard vtkProp method to get 3D bounds of a 3D prop
Reimplemented from vtkMapper.
Definition at line 56 of file vtkCompositePolyDataMapper.h.
|
virtual |
Release the underlying resources associated with this mapper
Reimplemented from vtkMapper.
|
protectedvirtual |
We need to override this method because the standard streaming demand driven pipeline is not what we want - we are expecting hierarchical data as input
Reimplemented from vtkAlgorithm.
|
protectedvirtual |
Need to define the type of data handled by this mapper.
Reimplemented from vtkAlgorithm.
|
protected |
This is the build method for creating the internal polydata mapper that do the actual work
|
protectedvirtual |
BuildPolyDataMapper uses this for each mapper. It is broken out so we can change types.
|
protected |
Need to loop over the hierarchy to compute bounds
|
protected |
Time stamp for computation of bounds.
Definition at line 87 of file vtkCompositePolyDataMapper.h.
|
protected |
These are the internal polydata mapper that do the rendering. We save then so that they can keep their display lists.
Definition at line 91 of file vtkCompositePolyDataMapper.h.
|
protected |
Time stamp for when we need to update the internal mappers
Definition at line 94 of file vtkCompositePolyDataMapper.h.