Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
9ee07dc4
Commit
9ee07dc4
authored
Apr 25, 2000
by
Will Schroeder
Browse files
ENH:Support ANSI C++
parent
446dc6df
Changes
935
Hide whitespace changes
Inline
Side-by-side
common/vtkAbstractMapper.cxx
View file @
9ee07dc4
...
...
@@ -49,7 +49,7 @@ vtkAbstractMapper::vtkAbstractMapper()
this
->
TimeToDraw
=
0.0
;
}
void
vtkAbstractMapper
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkAbstractMapper
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
this
->
vtkProcessObject
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkAbstractMapper.h
View file @
9ee07dc4
...
...
@@ -59,7 +59,7 @@ class VTK_EXPORT vtkAbstractMapper : public vtkProcessObject
{
public:
vtkTypeMacro
(
vtkAbstractMapper
,
vtkProcessObject
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Release any graphics resources that are being consumed by this mapper.
...
...
common/vtkActor2D.cxx
View file @
9ee07dc4
...
...
@@ -236,7 +236,7 @@ void vtkActor2D::GetActors2D(vtkPropCollection *ac)
ac
->
AddItem
(
this
);
}
void
vtkActor2D
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkActor2D
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
this
->
vtkProp
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkActor2D.h
View file @
9ee07dc4
...
...
@@ -61,7 +61,7 @@ class vtkMapper2D;
class
VTK_EXPORT
vtkActor2D
:
public
vtkProp
{
public:
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
vtkTypeMacro
(
vtkActor2D
,
vtkProp
);
// Description:
...
...
common/vtkAttributeData.cxx
View file @
9ee07dc4
...
...
@@ -209,7 +209,7 @@ unsigned long vtkAttributeData::GetActualMemorySize()
return
this
->
Data
->
GetActualMemorySize
();
}
void
vtkAttributeData
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkAttributeData
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
vtkObject
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkAttributeData.h
View file @
9ee07dc4
...
...
@@ -59,7 +59,7 @@ class VTK_EXPORT vtkAttributeData : public vtkObject
{
public:
vtkTypeMacro
(
vtkAttributeData
,
vtkObject
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Allocate initial memory size.
...
...
common/vtkBitArray.cxx
View file @
9ee07dc4
...
...
@@ -184,7 +184,7 @@ void vtkBitArray::DeepCopy(vtkDataArray *ia)
}
}
void
vtkBitArray
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkBitArray
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
vtkDataArray
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkBitArray.h
View file @
9ee07dc4
...
...
@@ -56,7 +56,7 @@ class VTK_EXPORT vtkBitArray : public vtkDataArray
public:
static
vtkBitArray
*
New
();
vtkTypeMacro
(
vtkBitArray
,
vtkDataArray
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Allocate memory for this array. Delete old storage only if necessary.
...
...
common/vtkByteSwap.cxx
View file @
9ee07dc4
...
...
@@ -109,7 +109,7 @@ void vtkByteSwap::Swap4BERange(char *mem_ptr1,int num)
// Swap bunch of bytes. Num is the number of four byte words to swap.
void
vtkByteSwap
::
SwapWrite4BERange
(
char
*
mem_ptr1
,
int
num
,
o
stream
*
fp
)
void
vtkByteSwap
::
SwapWrite4BERange
(
char
*
mem_ptr1
,
int
num
,
vtkO
stream
*
fp
)
{
#ifndef VTK_WORDS_BIGENDIAN
char
one_byte
;
...
...
@@ -298,7 +298,7 @@ void vtkByteSwap::Swap2LERange(char *mem_ptr1,int num){}
// Swap bunch of bytes. Num is the number of four byte words to swap.
void
vtkByteSwap
::
SwapWrite2BERange
(
char
*
mem_ptr1
,
int
num
,
o
stream
*
fp
)
void
vtkByteSwap
::
SwapWrite2BERange
(
char
*
mem_ptr1
,
int
num
,
vtkO
stream
*
fp
)
{
#ifndef VTK_WORDS_BIGENDIAN
char
one_byte
;
...
...
common/vtkByteSwap.h
View file @
9ee07dc4
...
...
@@ -47,9 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef __vtkByteSwap_h
#define __vtkByteSwap_h
#include
<stdio.h>
#include
<fstream.h>
#include
"vtkObject.h"
class
VTK_EXPORT
vtkByteSwap
:
public
vtkObject
...
...
@@ -116,12 +114,12 @@ public:
static
void
SwapWrite4BERange
(
unsigned
long
*
i
,
int
num
,
FILE
*
fp
)
{
vtkByteSwap
::
SwapWrite4BERange
((
char
*
)
i
,
num
,
fp
);};
static
void
SwapWrite4BERange
(
char
*
c
,
int
num
,
o
stream
*
fp
);
static
void
SwapWrite4BERange
(
float
*
p
,
int
num
,
o
stream
*
fp
)
static
void
SwapWrite4BERange
(
char
*
c
,
int
num
,
vtkO
stream
*
fp
);
static
void
SwapWrite4BERange
(
float
*
p
,
int
num
,
vtkO
stream
*
fp
)
{
vtkByteSwap
::
SwapWrite4BERange
((
char
*
)
p
,
num
,
fp
);};
static
void
SwapWrite4BERange
(
int
*
i
,
int
num
,
o
stream
*
fp
)
static
void
SwapWrite4BERange
(
int
*
i
,
int
num
,
vtkO
stream
*
fp
)
{
vtkByteSwap
::
SwapWrite4BERange
((
char
*
)
i
,
num
,
fp
);};
static
void
SwapWrite4BERange
(
unsigned
long
*
i
,
int
num
,
o
stream
*
fp
)
static
void
SwapWrite4BERange
(
unsigned
long
*
i
,
int
num
,
vtkO
stream
*
fp
)
{
vtkByteSwap
::
SwapWrite4BERange
((
char
*
)
i
,
num
,
fp
);};
...
...
@@ -150,8 +148,8 @@ public:
static
void
SwapWrite2BERange
(
short
*
i
,
int
num
,
FILE
*
fp
)
{
vtkByteSwap
::
SwapWrite2BERange
((
char
*
)
i
,
num
,
fp
);};
static
void
SwapWrite2BERange
(
char
*
c
,
int
num
,
o
stream
*
fp
);
static
void
SwapWrite2BERange
(
short
*
i
,
int
num
,
o
stream
*
fp
)
static
void
SwapWrite2BERange
(
char
*
c
,
int
num
,
vtkO
stream
*
fp
);
static
void
SwapWrite2BERange
(
short
*
i
,
int
num
,
vtkO
stream
*
fp
)
{
vtkByteSwap
::
SwapWrite2BERange
((
char
*
)
i
,
num
,
fp
);};
// Description:
...
...
common/vtkCell.cxx
View file @
9ee07dc4
...
...
@@ -257,7 +257,7 @@ int vtkCell::GetParametricCenter(float pcoords[3])
return
0
;
}
void
vtkCell
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkCell
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
int
numIds
=
this
->
PointIds
->
GetNumberOfIds
();
...
...
common/vtkCell.h
View file @
9ee07dc4
...
...
@@ -81,7 +81,7 @@ class VTK_EXPORT vtkCell : public vtkObject
{
public:
vtkTypeMacro
(
vtkCell
,
vtkObject
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Initialize cell from outside with point ids and point
...
...
common/vtkCellData.cxx
View file @
9ee07dc4
...
...
@@ -94,7 +94,7 @@ void vtkCellData::NullCell (int ptId)
}
void
vtkCellData
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkCellData
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
vtkDataSetAttributes
::
PrintSelf
(
os
,
indent
);
}
common/vtkCellData.h
View file @
9ee07dc4
...
...
@@ -58,7 +58,7 @@ public:
static
vtkCellData
*
New
();
vtkTypeMacro
(
vtkCellData
,
vtkDataSetAttributes
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Set cell data to null values
...
...
common/vtkCharArray.cxx
View file @
9ee07dc4
...
...
@@ -167,7 +167,7 @@ void vtkCharArray::DeepCopy(vtkDataArray *ia)
}
}
void
vtkCharArray
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkCharArray
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
vtkDataArray
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkCharArray.h
View file @
9ee07dc4
...
...
@@ -56,7 +56,7 @@ public:
static
vtkCharArray
*
New
();
vtkTypeMacro
(
vtkCharArray
,
vtkDataArray
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Allocate memory for this array. Delete old storage only if necessary.
...
...
common/vtkCollection.cxx
View file @
9ee07dc4
...
...
@@ -188,7 +188,7 @@ int vtkCollection::GetNumberOfItems()
}
void
vtkCollection
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkCollection
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
vtkObject
::
PrintSelf
(
os
,
indent
);
...
...
common/vtkCollection.h
View file @
9ee07dc4
...
...
@@ -71,7 +71,7 @@ class VTK_EXPORT vtkCollection : public vtkObject
{
public:
vtkTypeMacro
(
vtkCollection
,
vtkObject
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Construct with empty list.
...
...
common/vtkContourValues.cxx
View file @
9ee07dc4
...
...
@@ -203,7 +203,7 @@ int vtkContourValues::GetNumberOfContours()
return
this
->
Contours
->
GetMaxId
()
+
1
;
}
void
vtkContourValues
::
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
)
void
vtkContourValues
::
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
)
{
int
i
,
numContours
=
this
->
Contours
->
GetMaxId
()
+
1
;
...
...
common/vtkContourValues.h
View file @
9ee07dc4
...
...
@@ -64,7 +64,7 @@ public:
static
vtkContourValues
*
New
();
vtkTypeMacro
(
vtkContourValues
,
vtkObject
);
void
PrintSelf
(
o
stream
&
os
,
vtkIndent
indent
);
void
PrintSelf
(
vtkO
stream
&
os
,
vtkIndent
indent
);
// Description:
// Set the ith contour value.
...
...
Prev
1
2
3
4
5
…
47
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment