|
VTK
|
#include <vtkExtentRCBPartitioner.h>
Public Types | |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkExtentRCBPartitioner * | NewInstance () const |
| void | PrintSelf (ostream &oss, vtkIndent indent) |
| void | Partition () |
| void | GetPartitionExtent (const int idx, int ext[6]) |
| void | SetNumberOfPartitions (const int N) |
| void | SetGlobalExtent (int imin, int imax, int jmin, int jmax, int kmin, int kmax) |
| void | SetGlobalExtent (int ext[6]) |
| virtual void | SetNumberOfGhostLayers (int) |
| virtual int | GetNumberOfGhostLayers () |
| virtual int | GetNumExtents () |
Public Member Functions inherited from vtkObject | |
| vtkObject * | NewInstance () const |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char debugFlag) |
| virtual void | Modified () |
| virtual unsigned long | GetMTime () |
| 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) |
| template<class U , class T > | |
| 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) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Static Public Member Functions | |
| static vtkExtentRCBPartitioner * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkExtentRCBPartitioner * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
| static int | IsTypeOf (const char *type) |
| static vtkObject * | SafeDownCast (vtkObjectBase *o) |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static int | IsTypeOf (const char *name) |
| static vtkObjectBase * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkExtentRCBPartitioner () | |
| ~vtkExtentRCBPartitioner () | |
| void | ExtendGhostLayers (int ext[6]) |
| void | AcquireDataDescription () |
| void | GetExtent (const int idx, int ext[6]) |
| void | AddExtent (int ext[6]) |
| void | ReplaceExtent (const int idx, int ext[6]) |
| void | SplitExtent (int parent[6], int s1[6], int s2[6], int splitDimension) |
| int | GetNumberOfTotalExtents () |
| int | GetNumberOfNodes (int ext[6]) |
| int | GetNumberOfCells (int ext[6]) |
| int | GetLongestDimensionLength (int ext[6]) |
| int | GetLongestDimension (int ext[6]) |
| void | PrintExtent (std::string name, int ext[6]) |
| void | Reset () |
| void | GetGhostedExtent (int ext[6], const int minIdx, const int maxIdx) |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| int | NumberOfGhostLayers |
| int | DataDescription |
| int | GlobalExtent [6] |
| int | NumberOfPartitions |
| int | NumExtents |
| bool | ExtentIsPartitioned |
| std::vector< int > | PartitionExtents |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
This method partitions a global extent to N partitions where N is a user supplied parameter.
Definition at line 30 of file vtkExtentRCBPartitioner.h.
Definition at line 34 of file vtkExtentRCBPartitioner.h.
|
protected |
|
protected |
|
static |
|
static |
|
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 vtkObject.
|
static |
|
protectedvirtual |
Reimplemented from vtkObject.
| vtkExtentRCBPartitioner* vtkExtentRCBPartitioner::NewInstance | ( | ) | const |
|
virtual |
|
inline |
Set/Get the number of requested partitions
Definition at line 39 of file vtkExtentRCBPartitioner.h.
|
inline |
Set/Get the global extent array to be partitioned. The global extent is packed as follows: [imin,imax,jmin,jmax,kmin,kmax]
Definition at line 50 of file vtkExtentRCBPartitioner.h.
|
inline |
Set/Get the global extent array to be partitioned. The global extent is packed as follows: [imin,imax,jmin,jmax,kmin,kmax]
Definition at line 60 of file vtkExtentRCBPartitioner.h.
|
virtual |
Set/Get macro for the number of ghost layers.
|
virtual |
Set/Get macro for the number of ghost layers.
|
virtual |
Returns the number of extents.
| void vtkExtentRCBPartitioner::Partition | ( | ) |
Partitions the extent
| void vtkExtentRCBPartitioner::GetPartitionExtent | ( | const int | idx, |
| int | ext[6] | ||
| ) |
Returns the extent of the partition corresponding to the given ID.
|
inlineprotected |
Resets the partitioner to the initial state, all previous partition extents are cleared.
Definition at line 90 of file vtkExtentRCBPartitioner.h.
|
protected |
Given an extent, this method will create ghost layers on each side of the boundary in each dimension. The ghost layers however will be restricted to the given global extent.
|
inlineprotected |
Givent an extent and the min/max of the dimension we are looking at, this method will produce a ghosted extent which is clamped within the given global extent
Definition at line 107 of file vtkExtentRCBPartitioner.h.
|
protected |
Gets the structured data-description based on the givenn global extent
|
protected |
Returns the extent at the position corresponding to idx.
|
protected |
Adds the extent to the end of the list of partitioned extents
|
protected |
Replaces the extent at the position indicated by idx with the provided extent.
|
protected |
Splits the extent along the given dimension.
|
protected |
Returns the total number of extents. It's always the 2^N where N is the number of subdivisions.
|
protected |
Computes the total number of nodes for the given structured grid extent
|
protected |
Computes the total number of cells for the given structured grid extent
|
protected |
Returns the length of the longest dimension
|
protected |
Returns the longest edge
|
protected |
A convenience method for debugging purposes.
|
protected |
Definition at line 157 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 158 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 159 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 160 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 161 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 162 of file vtkExtentRCBPartitioner.h.
|
protected |
Definition at line 165 of file vtkExtentRCBPartitioner.h.
1.8.6