- 博客(6)
- 资源 (3)
- 收藏
- 关注
原创 vtkScalars,vtkFloatScalars;vtkColorScalars,vtkAPixMap
vtkScalars功能:abstract class to an array of scalar data;usually single value per points ,but there are exceptions(vtkPixmap,vtkAPixmap);maintain a lookup table for mapping scalars to colors数据
2009-03-27 13:45:00
1042
1
原创 vtkIdList vtkPoints and vtkFloatPoints
vtkIdList功能:represent and pass data ids between objects,espacially for points and cells.数据://用来存储idvtkIntArray Ia;函数://返回pos=Ia.maxId+1,扩展之sz大小(注意此时的Ia.maxId=pos+sz-1)int getChunk(const
2009-03-26 15:21:00
1488
原创 vtkRefCount
vtkRefCount:功能:reference counting,with the combination of New/Delete;继承自vtkobject数据: int RefCount; // Number of uses of this object by other objects int ReferenceCounting; // Turn on/of
2009-03-25 21:24:00
311
原创 vtkVoidArray
功能:It provides methodsfor insertion and retrieval of these pointers values, and will automatically resize itself to hold new data.变量: void** Array; // pointer to data int Size; // alloca
2009-03-24 21:31:00
330
原创 vtkTimestamp,vtkSetGet,vtkLWObject and vtkObject
vtkTimeStamp用来记录对象的修改时间。包括两个unsigned long 类型的私有数据ModifiedTime和vtkTime,其中vtkTime时静态的,并被初始为0。ModifiedTime用来保存修改时间值,vtkTime是每次修改的累加量。成员函数包括: void Modified() {this->ModifiedTime = ++vtkTime;};//修改时
2009-03-24 14:28:00
610
原创 vtkIndent and vtkObject
vtkIndent 用于vtkObject及其子类的缩进,内部声明输出操作符私有变量indent代表缩进量,初始值为0,并且在成员函数GetNextIndent被调用时其值加2.vtkIndent dent(3);cout vtkObject与打印有关的函数,并在参数中用vtkIndent表示缩进: virtual void PrintSelf(ostream& os, vt
2009-03-23 21:45:00
705
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人