vtkGenericAttributeCollection Class Reference
#include <vtkGenericAttributeCollection.h>
Inheritance diagram for vtkGenericAttributeCollection:
[legend]Collaboration diagram for vtkGenericAttributeCollection:
[legend]List of all members.
Detailed Description
a collection of attributes
vtkGenericAttributeCollection is a class that collects attributes (represented by vtkGenericAttribute).
- Created by:
-
- CVS contributions (if > 5%):
-
- CVS logs (CVSweb):
.h (/Filtering/vtkGenericAttributeCollection
.h)
.cxx (/Filtering/vtkGenericAttributeCollection
.cxx)
- Tests:
- vtkGenericAttributeCollection (Tests)
Definition at line 43 of file vtkGenericAttributeCollection.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkGenericAttributeCollection::vtkGenericAttributeCollection |
( |
|
) |
[protected] |
|
|
Default constructor: empty collection. |
Member Function Documentation
|
Create an empty collection.
Reimplemented from vtkObject. |
virtual const char* vtkGenericAttributeCollection::GetClassName |
( |
|
) |
[virtual] |
|
|
Standard type definition and print methods for a VTK class.
Reimplemented from vtkObject. |
int vtkGenericAttributeCollection::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Standard type definition and print methods for a VTK class.
Reimplemented from vtkObject. |
virtual int vtkGenericAttributeCollection::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Standard type definition and print methods for a VTK class.
Reimplemented from vtkObject. |
|
Standard type definition and print methods for a VTK class.
Reimplemented from vtkObject. |
virtual void vtkGenericAttributeCollection::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Standard type definition and print methods for a VTK class.
Reimplemented from vtkObject. |
int vtkGenericAttributeCollection::GetNumberOfAttributes |
( |
|
) |
|
|
|
Return the number of attributes (e.g., instances of vtkGenericAttribute) in the collection. - Postcondition:
- positive_result: result>=0
|
int vtkGenericAttributeCollection::GetNumberOfComponents |
( |
|
) |
|
|
|
Return the number of components. This is the sum of all components found in all attributes. - Postcondition:
- positive_result: result>=0
|
int vtkGenericAttributeCollection::GetMaxNumberOfComponents |
( |
|
) |
|
|
|
Maximum number of components encountered among all attributes. - Postcondition:
- positive_result: result>=0
valid_result: result<=GetNumberOfComponents()
|
unsigned long vtkGenericAttributeCollection::GetActualMemorySize |
( |
|
) |
|
|
|
Actual size of the data in kilobytes; only valid after the pipeline has updated. It is guaranteed to be greater than or equal to the memory required to represent the data. |
int vtkGenericAttributeCollection::IsEmpty |
( |
|
) |
|
|
|
Indicate whether the collection contains any attributes. - Postcondition:
- definition: result==(GetNumberOfAttributes()==0)
|
int vtkGenericAttributeCollection::FindAttribute |
( |
const char * |
name |
) |
|
|
|
Return the index of the attribute named `name'. Return the non-negative index if found. Return -1 otherwise. - Precondition:
- name_exists: name!=0
- Postcondition:
- valid_result: (result==-1) || (result>=0) && (result<=GetNumberOfAttributes())
|
void vtkGenericAttributeCollection::RemoveAttribute |
( |
int |
i |
) |
|
|
void vtkGenericAttributeCollection::Reset |
( |
|
) |
|
|
virtual unsigned long int vtkGenericAttributeCollection::GetMTime |
( |
|
) |
[virtual] |
|
|
vtkAttributeCollection is a composite object and needs to check each member of its collection for modified time.
Reimplemented from vtkObject. |
virtual int vtkGenericAttributeCollection::GetActiveAttribute |
( |
|
) |
[virtual] |
|
|
Index of the attribute to be processed (not necessarily scalar). - Precondition:
- not_empty: !IsEmpty()
- Postcondition:
- valid_result: result>=0 && result<GetNumberOfAttributes()
|
virtual int vtkGenericAttributeCollection::GetActiveComponent |
( |
|
) |
[virtual] |
|
void vtkGenericAttributeCollection::SetActiveAttribute |
( |
int |
attribute, |
|
|
int |
component = 0 |
|
) |
|
|
virtual int vtkGenericAttributeCollection::GetNumberOfAttributesToInterpolate |
( |
|
) |
[virtual] |
|
|
Number of attributes to interpolate. - Precondition:
- not_empty: !IsEmpty()
- Postcondition:
- positive_result: result>=0
|
int* vtkGenericAttributeCollection::GetAttributesToInterpolate |
( |
|
) |
|
|
int vtkGenericAttributeCollection::HasAttribute |
( |
int |
size, |
|
|
int * |
attributes, |
|
|
int |
attribute |
|
) |
|
|
|
Does the array `attributes' of size `size' have `attribute'? - Precondition:
- positive_size: size>=0
valid_attributes: size>0 implies attributes!=0
|
void vtkGenericAttributeCollection::SetAttributesToInterpolate |
( |
int |
size, |
|
|
int * |
attributes |
|
) |
|
|
void vtkGenericAttributeCollection::SetAttributesToInterpolateToAll |
( |
|
) |
|
|
void vtkGenericAttributeCollection::ComputeNumbers |
( |
|
) |
[protected] |
|
|
Compute number of components, max number of components and actual memory size. |
Member Data Documentation
The documentation for this class was generated from the following file: